The Trunk: Tests-ul.266.mcz

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

The Trunk: Tests-ul.266.mcz

commits-2
Levente Uzonyi uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-ul.266.mcz

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

Name: Tests-ul.266
Author: ul
Time: 23 November 2013, 10:36:52.89 pm
UUID: 0f5d7f00-fd03-4fe5-b3bc-06637786db7a
Ancestors: Tests-fbs.265

- use #, for concatenation

=============== Diff against Tests-fbs.265 ===============

Item was changed:
  ----- Method: TestValueWithinFix>>testValueWithinTimingRepeat (in category 'tests') -----
  testValueWithinTimingRepeat
  "Test timing of valueWithin:onTimeout:"
  | time |
  time := [
  3 timesRepeat: [
  [500 milliSeconds asDelay wait]
  valueWithin: 100 milliSeconds onTimeout: []]
  ] durationToRun.
 
+ self assert: time < 350 milliSeconds description: 'Took ', time printString.!
- self assert: time < 350 milliSeconds description: 'Took ' + time printString.!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Tests-ul.266.mcz

Frank Shearar-3
On 23 November 2013 21:37,  <[hidden email]> wrote:

> Levente Uzonyi uploaded a new version of Tests to project The Trunk:
> http://source.squeak.org/trunk/Tests-ul.266.mcz
>
> ==================== Summary ====================
>
> Name: Tests-ul.266
> Author: ul
> Time: 23 November 2013, 10:36:52.89 pm
> UUID: 0f5d7f00-fd03-4fe5-b3bc-06637786db7a
> Ancestors: Tests-fbs.265
>
> - use #, for concatenation
>
> =============== Diff against Tests-fbs.265 ===============
>
> Item was changed:
>   ----- Method: TestValueWithinFix>>testValueWithinTimingRepeat (in category 'tests') -----
>   testValueWithinTimingRepeat
>         "Test timing of valueWithin:onTimeout:"
>         | time |
>         time := [
>                 3 timesRepeat: [
>                         [500 milliSeconds asDelay wait]
>                                 valueWithin: 100 milliSeconds onTimeout: []]
>         ] durationToRun.
>
> +       self assert: time < 350 milliSeconds description: 'Took ', time printString.!
> -       self assert: time < 350 milliSeconds description: 'Took ' + time printString.!


Thanks, Levente! That was a silly mistake on my part.

frank