[Pkg] The Trunk: Tests-fbs.288.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jan 12 13:27:57 UTC 2014

Frank Shearar uploaded a new version of Tests to project The Trunk:

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

Name: Tests-fbs.288
Author: fbs
Time: 12 January 2014, 1:27:33.484 pm
UUID: 0c701f2d-082c-8d44-b7a3-cb92de2e367d
Ancestors: Tests-fbs.287

Prefer #classNamed: to #at:.

=============== Diff against Tests-fbs.287 ===============

Item was changed:
  ----- Method: MCPackageTest>>testUnload (in category 'tests') -----
  	| mock |
  	self mockPackage unload.
  	self deny: (Smalltalk hasClassNamed: #MCMockClassA) description: 'Class not removed'.
  	self deny: (MCSnapshotTest includesSelector: #mockClassExtension) description: 'Extension method not removed'.
+ 	mock := Smalltalk classNamed: #MCMock.
- 	mock := (Smalltalk at: #MCMock).
  	self assert: (mock subclasses noneSatisfy: [:c | c name = #MCMockClassA]) description: 'Can still find the "removed" subclass'.!

More information about the Packages mailing list