[squeak-dev] The Inbox: KernelTests-fbs.242.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 30 20:05:13 UTC 2013


Frank Shearar uploaded a new version of KernelTests to project The Inbox:
http://source.squeak.org/inbox/KernelTests-fbs.242.mcz

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

Name: KernelTests-fbs.242
Author: fbs
Time: 30 January 2013, 8:04:45.448 pm
UUID: f908fe2e-5319-4316-b262-a2c85482e224
Ancestors: KernelTests-fbs.241

Rename NotImplemented errors in line with conventions 3 of 3.

=============== Diff against KernelTests-fbs.241 ===============

Item was changed:
  ----- Method: ObjectTest>>testShouldBeImplemented (in category 'as yet unclassified') -----
  testShouldBeImplemented
  	| testClass |
  	testClass := NotImplementedTestData.
+ 	self should: [testClass new shouldBeImplementedMsg] raise: NotImplemented.
- 	self should: [testClass new shouldBeImplementedMsg] raise: NotImplementedError.
  	[testClass new shouldBeImplementedMsg] ifError: [:errDesc |
  		self assert: (errDesc includesSubString: testClass name) description: 'Error should include class name'.
  		self assert: (errDesc includesSubString: #shouldBeImplementedMsg asString) description: 'Error should include selector name'].!

Item was changed:
  ----- Method: ObjectTest>>testShouldNotImplement (in category 'as yet unclassified') -----
  testShouldNotImplement
  	| testClass |
  	testClass := NotImplementedTestData.
+ 	self should: [testClass new shouldNotImplementMsg] raise: NotImplemented.
- 	self should: [testClass new shouldNotImplementMsg] raise: NotImplementedError.
  	[testClass new shouldNotImplementMsg] ifError: [:errDesc |
  		self assert: (errDesc includesSubString: testClass name) description: 'Error should include class name'.
  		self assert: (errDesc includesSubString: #shouldNotImplementMsg asString) description: 'Error should include selector name'].!



More information about the Squeak-dev mailing list