The Trunk: KernelTests-mt.372.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-mt.372.mcz

commits-2
Marcel Taeumel uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-mt.372.mcz

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

Name: KernelTests-mt.372
Author: mt
Time: 18 September 2019, 11:51:17.575092 am
UUID: 5164fd53-d656-bc4b-a283-b973cbdbfb4b
Ancestors: KernelTests-nice.371

Replace reference to "World" global.

=============== Diff against KernelTests-nice.371 ===============

Item was changed:
  ----- Method: PromiseTest>>waitUntil:orCycleCount: (in category 'private') -----
  waitUntil: aBlock orCycleCount: anInteger
  "This is a gross hack that depends on running the tests in Morphic.
  We simply repeatedly do a cycle of the interaction loop, which happens
  to also be the way that the queue of pending futures gets serviced."
  | counter |
  counter := 0.
  [
  aBlock value ifTrue: [^ true].
+ Project current world doOneSubCycle.
- World doOneSubCycle.
  counter := counter + 1.
  counter >= anInteger ifTrue: [^ false].
  ] repeat!