[squeak-dev] The Trunk: Tests-cwp.293.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Mar 30 02:53:08 UTC 2014


Colin Putney uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-cwp.293.mcz

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

Name: Tests-cwp.293
Author: cwp
Time: 29 March 2014, 9:52:19.854 pm
UUID: f0961064-5eda-45fe-bdbb-6a907c0711f7
Ancestors: Tests-cwp.292

Make sure globals are properly destroyed along with their environment.

=============== Diff against Tests-cwp.292 ===============

Item was added:
+ ----- Method: EnvironmentTest>>testDestroyedImportIsUndeclared (in category 'observation tests') -----
+ testDestroyedImportIsUndeclared
+ 	| foreign |
+ 	foreign := Environment withName: #Foreign.
+ 	foreign exportSelf.
+ 	foreign at: #Griffle put: value.
+ 	env from: foreign import: #Griffle.
+ 	foreign destroy.
+ 	self assert: (env bindingOf: #Griffle) isNil.
+ 	self assert: (env isUndeclared: #Griffle).!



More information about the Squeak-dev mailing list