[squeak-dev] The Trunk: KernelTests-eem.192.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue May 24 01:03:14 UTC 2011
Eliot Miranda uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-eem.192.mcz
==================== Summary ====================
Name: KernelTests-eem.192
Author: eem
Time: 23 May 2011, 6:03:03.434 pm
UUID: d45cfe25-d091-4b7f-a9c7-09cb01098771
Ancestors: KernelTests-dtl.191
Use cm literalAt: cm numLiterals instead of cm literals last.
Arguambly should use cm methodClassAssociation
=============== Diff against KernelTests-dtl.191 ===============
Item was changed:
----- Method: MethodPropertiesTest>>testAllMethodsHaveMethodClass (in category 'testing') -----
testAllMethodsHaveMethodClass
Smalltalk garbageCollect.
self assert: (CompiledMethod allInstances
+ reject: [:cm | | lastLiteral |
+ lastLiteral := cm literalAt: cm numLiterals.
+ lastLiteral isVariableBinding
+ and: [lastLiteral value isBehavior
+ or: [lastLiteral value isTrait]]]) isEmpty
- reject: [:cm | cm literals last isVariableBinding
- and: [cm literals last value isBehavior
- or: [cm literals last value isTrait]]]) isEmpty
description: 'CompiledMethods must have methodClass literal'!
More information about the Squeak-dev
mailing list
|