[squeak-dev] The Trunk: KernelTests-laza.92.mcz

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

[squeak-dev] The Trunk: KernelTests-laza.92.mcz

commits-2
Alexander Lazarević uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-laza.92.mcz

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

Name: KernelTests-laza.92
Author: laza
Time: 5 September 2009, 8:54:09 am
UUID: 383b4c94-242c-9f49-99bc-1e999a57f2c4
Ancestors: KernelTests-ar.91

Removed the test that checks that too long delays are refused and added a test that checks that long delays are ok.

=============== Diff against KernelTests-ar.91 ===============

Item was changed:
  ----- Method: DelayTest>>testBounds (in category 'testing-limits') -----
  testBounds
  "self run: #testBounds"
 
  self should: [Delay forMilliseconds: -1] raise: Error.
+ self shouldnt: [Delay forMilliseconds: SmallInteger maxVal + 1] raise: Error.
- self should: [Delay forMilliseconds: SmallInteger maxVal // 2 + 1] raise: Error. "Not longer than a day"
- self shouldnt: [Delay forMilliseconds: SmallInteger maxVal // 2] raise: Error.
  self shouldnt: [(Delay forMilliseconds: Float pi) wait] raise: Error. "Wait 3ms"
  !