[squeak-dev] The Inbox: KernelTests-mha.163.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Sep 21 11:56:24 UTC 2010


A new version of KernelTests was added to project The Inbox:
http://source.squeak.org/inbox/KernelTests-mha.163.mcz

==================== Summary ====================

Name: KernelTests-mha.163
Author: mha
Time: 21 September 2010, 1:56:19.59 pm
UUID: c61a4fed-b809-4ddb-98e3-b59bca88be85
Ancestors: KernelTests-klc.162

tests accompanying attempted cleanup for CompiledMethod's closures protocol

=============== Diff against KernelTests-klc.162 ===============

Item was added:
+ ----- Method: CompiledMethodTest>>testClosureCompiled (in category 'tests - closures') -----
+ testClosureCompiled
+ 	self
+ 		assert: (self class >> #withClosure) isClosureCompiled;
+ 		assert: (self class >> #withClosureNoNLR) isClosureCompiled!

Item was added:
+ ----- Method: CompiledMethodTest>>testClosureNLRs (in category 'tests - closures') -----
+ testClosureNLRs
+ 	self
+ 		assert:
+ 			((self class >> #withClosure) embeddedBlockMethods at: 1)
+ 				hasMethodReturn;
+ 		assert:
+ 			((self class >> #withClosureNoNLR) embeddedBlockMethods at: 1) 
+ 				hasMethodReturn not!

Item was added:
+ ----- Method: CompiledMethodTest>>testHasClosure (in category 'tests - closures') -----
+ testHasClosure
+ 	self
+ 		assert: (self class >> #withClosure) containsBlockClosures;
+ 		assert: (self class >> #withClosureNoNLR) containsBlockClosures!

Item was added:
+ ----- Method: CompiledMethodTest>>withClosure (in category 'examples') -----
+ withClosure
+ 	[ ^ 23 ] value!

Item was added:
+ ----- Method: CompiledMethodTest>>withClosureNoNLR (in category 'examples') -----
+ withClosureNoNLR
+ 	^ [ 23 ] value!




More information about the Squeak-dev mailing list