The Trunk: Chronology-Tests-pre.17.mcz

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

The Trunk: Chronology-Tests-pre.17.mcz

commits-2
Patrick Rein uploaded a new version of Chronology-Tests to project The Trunk:
http://source.squeak.org/trunk/Chronology-Tests-pre.17.mcz

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

Name: Chronology-Tests-pre.17
Author: pre
Time: 23 January 2019, 4:10:44.817474 pm
UUID: 1b42bb75-6b0c-024f-b3c1-0d04823785bd
Ancestors: Chronology-Tests-pre.16

Updates testWait to use the standard library constructor for millisecond Durations

=============== Diff against Chronology-Tests-pre.16 ===============

Item was changed:
  ----- Method: DurationTest>>testWait (in category 'tests') -----
  testWait
 
  | start |
  start := DateAndTime new.
+ (Duration milliSeconds: 500) wait.
+ self assert: DateAndTime now - start > (Duration milliSeconds: 500). !
- (Duration milliseconds: 500) wait.
- self assert: DateAndTime now - start > (Duration milliseconds: 500). !