[squeak-dev] The Trunk: Tests-cmm.111.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 19 23:23:33 UTC 2011


Chris Muller uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-cmm.111.mcz

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

Name: Tests-cmm.111
Author: cmm
Time: 19 January 2011, 5:23:19.776 pm
UUID: 099277e4-2120-43ad-baca-35abbe6a58a2
Ancestors: Tests-ul.110

Fixed MCChangeNotificationTest>>setUp, no longer necessary to unregister MonticelloMocks because PackageInfo class>>#packageNamed: always answers an instance of the correct PackageInfo subclass.

=============== Diff against Tests-ul.110 ===============

Item was changed:
  ----- Method: MCChangeNotificationTest>>setUp (in category 'running') -----
  setUp
+ 	super setUp.
+ 	workingCopy := MCWorkingCopy forPackage: self mockPackage!
- 
- 	"FIXME: Unregister Monticellomocks if it got created in another test
- 	(for example MCMethodDefinitionTest may create it implicitly).
- 	This avoids a nasty failure of MCChangeNotificationTest due to
- 	some inconsistency about the package info registered with it.
- 	If Monticellomocks was created earlier it will contain a 'regular'
- 	PackageInfo instance but the test requires it to be an MCMockPackageInfo"
- 	MCWorkingCopy registry 
- 		removeKey: (MCPackage new name: 'Monticellomocks')
- 		ifAbsent:[].
- 	PackageOrganizer default unregisterPackageNamed: 'Monticellomocks'.
- 	
- 	workingCopy := MCWorkingCopy forPackage: self mockPackage.
- !




More information about the Squeak-dev mailing list