[squeak-dev] The Trunk: Tests-fbs.181.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 2 17:50:00 UTC 2013


Frank Shearar uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-fbs.181.mcz

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

Name: Tests-fbs.181
Author: fbs
Time: 2 January 2013, 5:49:39.088 pm
UUID: b5dd3338-a1c8-42ec-af58-ee34587f5d9a
Ancestors: Tests-fbs.180

While valuable enough on its own, this test really aims to try nail down/understand the failure in testClassRemovalAndRecompilationWontCreateDuplicateVariableBindings.

=============== Diff against Tests-fbs.180 ===============

Item was changed:
  ----- Method: ClassRemovalTest>>tearDown (in category 'running') -----
  tearDown
  
  	isClean ifTrue: [
+ 		Smalltalk removeClassNamed: self className1.
+ 		Smalltalk removeClassNamed: self className2.
- 		(Smalltalk at: self className1) removeFromSystem.
- 		(Smalltalk at: self className2) removeFromSystem.
  		SystemOrganizer default removeCategory: self systemCategoryName ]!

Item was added:
+ ----- Method: ClassRemovalTest>>testClassCanBeRemoved (in category 'tests') -----
+ testClassCanBeRemoved
+ 	self 
+ 		assert: isClean
+ 		description: 'The system category or the classes about to be created already exist.'.
+ 	"Create a class"	
+ 	Object subclass: self className1
+ 		instanceVariableNames: ''
+ 		classVariableNames: ''
+ 		poolDictionaries: ''
+ 		category: self systemCategoryName.
+ 	self assert: (Smalltalk hasClassNamed: self className1) description: self className1, ' not created'.
+ 	"Remove the class"
+ 	(Smalltalk at: self className1) removeFromSystem.
+ 	self deny: (Smalltalk hasClassNamed: self className1) description: self className1, ' not removed'.!



More information about the Squeak-dev mailing list