[squeak-dev] The Trunk: MorphicTests-eem.90.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Sep 18 23:24:54 UTC 2022


Eliot Miranda uploaded a new version of MorphicTests to project The Trunk:
http://source.squeak.org/trunk/MorphicTests-eem.90.mcz

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

Name: MorphicTests-eem.90
Author: eem
Time: 18 September 2022, 4:24:10.461842 pm
UUID: 603fd351-0103-4c6a-abe7-56bc521b0092
Ancestors: MorphicTests-ct.89

Fix WorldStateTest>>testActiveVariablesRenamed gioen that none of ActiveWorld ActiveHand ActiveEvent are classes any more.

=============== Diff against MorphicTests-ct.89 ===============

Item was changed:
  ----- Method: WorldStateTest>>testActiveVariablesRenamed (in category 'tests') -----
  testActiveVariablesRenamed
  	"Document the desire to rename Active(World|Hand|Event)Variable to Active(World|Hand|Event) after the Squeak 6.0 release."
  	
  	#(ActiveWorld ActiveHand ActiveEvent) do: [:className |
  		(SystemVersion current majorVersionNumber >= 6
  			and: [SystemVersion current minorVersionNumber >= 1])
+ 				ifTrue: [(Smalltalk classNamed: className) ifNotNil:
+ 							[:class| self assert: (class includesBehavior: DynamicVariable)]]
- 				ifTrue: [self assert: ((Smalltalk classNamed: className) includesBehavior: DynamicVariable)]
  				ifFalse: [self deny: (Smalltalk at: className) isBehavior] ].!



More information about the Squeak-dev mailing list