The Trunk: KernelTests-klc.162.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-klc.162.mcz

commits-2
Ken Causey uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-klc.162.mcz

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

Name: KernelTests-klc.162
Author: klc
Time: 10 September 2010, 5:12:17.307 pm
UUID: 2a3d2eb4-d415-184d-a385-514a911ccd63
Ancestors: KernelTests-klc.161

Once more I may be missing something obvious here.  The uncommented assertion was comparing instances of two different classes, I'm pretty sure it was meant to be comparing the increment of an end to the start of the next timespan, which is how I changed it.  Then there was a commented out assertion which I think was missing the #= and once I add it it works fine despite the comment that it wouldn't until some change occurred.  Perhaps this change did?

=============== Diff against KernelTests-klc.161 ===============

Item was changed:
  ----- Method: TimespanTest>>testEnd (in category 'testing') -----
  testEnd
+ self assert: aTimespan end + (Duration  nanoSeconds:1)  =  aDisjointTimespan start.
+ self assert: aTimespan end = (DateAndTime year: 2005 month: 1 day: 7 hour: 23 minute: 59 second: 59 nanoSecond: 999999999 offset: 0 hours)
- self assert: aTimespan end + (Duration  nanoSeconds:1)  =  aDisjointTimespan
- "self assert: aTimespan end (DateAndTime year: 2005 month: 1 day: 7 hour: 23 minute: 59 second: 59 nanoSecond: 999999999 offset: 0 hours). "
- "This should work once DateAndTime >> year:month:day:hour:minute:second:nanoSecond:offset: is fixed"
-
  !