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

commits at source.squeak.org commits at source.squeak.org
Wed Nov 6 18:56:03 UTC 2013

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

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

Name: Tests-fbs.263
Author: fbs
Time: 6 November 2013, 6:55:51.218 pm
UUID: 53675649-a96b-914d-b418-d4f50908b946
Ancestors: Tests-fbs.262

Minor error reporting improvements.

=============== Diff against Tests-fbs.262 ===============

Item was changed:
  ----- Method: MCMethodDefinitionTest>>testRevertOverrideMethod (in category 'testing') -----
  	| definition |
  	self class compile: 'override ^ 2' classified:  '*foobarbaz-override'.
  	definition := (MethodReference class: self class selector: #override) asMethodDefinition.
+ 	self assert: definition isOverrideMethod description: 'Method not marked as an override'.
+ 	self assert: 2 equals: self override description: 'Method not overridden'.
- 	self assert: definition isOverrideMethod.
- 	self assert: self override = 2.
  	definition unload.
+ 	self assert: 1 equals: self override description: 'Unload didn''t revert method'.
+ 	self assert: 'mocks' equals: (MethodReference class: self class selector: #override) category  description: 'Unload didn''t revert. method classification'.
- 	self assert: self override = 1.
- 	self assert: (MethodReference class: self class selector: #override) category = 'mocks'.

More information about the Packages mailing list