The Trunk: KernelTests-eem.324.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: KernelTests-eem.324.mcz

commits-2
Eliot Miranda uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-eem.324.mcz

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

Name: KernelTests-eem.324
Author: eem
Time: 29 March 2017, 3:12:01.90127 pm
UUID: 39fd2f8f-7407-438e-a8ec-d1afed5aabfa
Ancestors: KernelTests-eem.323

Rewrite the tests that refer to ContextPart to refer to Context.

=============== Diff against KernelTests-eem.323 ===============

Item was changed:
  ----- Method: BlockClosureTest>>testNew (in category 'tests') -----
  testNew
+ self should: [Context new: 5] raise: Error.
+ [Context new: 5]
- self should: [ContextPart new: 5] raise: Error.
- [ContextPart new: 5]
  on: Error do: [:e|
  self assert: (e messageText includesSubstring: 'newForMethod:') description: 'Error doesn''t tell you what you did wrong by calling #new:'].
 
+ self should: [Context new] raise: Error.
+ [Context new]
- self should: [ContextPart new] raise: Error.
- [ContextPart new]
  on: Error do: [:e|
  self assert: (e messageText includesSubstring: 'newForMethod:') description: 'Error doesn''t tell you what you did wrong by calling #new']!

Item was changed:
  ----- Method: BlockClosureTest>>testRunSimulated (in category 'tests') -----
  testRunSimulated
+ self assert: Rectangle equals: (Context runSimulated: aBlockClosure asContext) class!
- self assert: Rectangle equals: (ContextPart runSimulated: aBlockClosure asContext) class!

Item was changed:
  ----- Method: BlockClosureTest>>testTallyInstructions (in category 'tests') -----
  testTallyInstructions
+ self assert: (Context tallyInstructions: aBlockClosure asContext) size = 15!
- self assert: (ContextPart tallyInstructions: aBlockClosure asContext) size = 15!