<body><div id="__MailbirdStyleContent" style="font-size: 12pt;font-family: calibri;color: #000000">
                                        Maybe we can draw inspiration from MorphicEventTests and set up a custom world and world state to write those tests w/o reyling on global system state.<div><br></div><div>Btw.: WorldState is a global, too? :-O</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 18.11.2017 04:01:00 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p>David T. Lewis uploaded a new version of MorphicTests to project The Trunk:<br>http://source.squeak.org/trunk/MorphicTests-dtl.44.mcz<br><br>==================== Summary ====================<br><br>Name: MorphicTests-dtl.44<br>Author: dtl<br>Time: 17 November 2017, 10:00:40.18563 pm<br>UUID: 74a707eb-bd44-445f-9737-a977ef236a35<br>Ancestors: MorphicTests-dtl.43<br><br>Remove unnecessary reference to global World.<br><br>=============== Diff against MorphicTests-dtl.43 ===============<br><br>Item was changed:<br>  ----- Method: WorldStateTest>>testDeferredUIQueueTimeout (in category 'tests') -----<br>  testDeferredUIQueueTimeout<br>     "Ensure that the World's deferredUIMessage will take no more time than<br>   specified by WorldState's deferredExecutionTimeLimit"<br>    | firstWasRun secondWasRun thirdWasRun |<br>      firstWasRun := secondWasRun := thirdWasRun := false.<br>          WorldState addDeferredUIMessage:[<br>             firstWasRun := true.<br>                  (Delay forMilliseconds: WorldState deferredExecutionTimeLimit + 50) wait.<br>     ].<br>    WorldState addDeferredUIMessage:[<br>             secondWasRun := true.<br>         ].<br>    WorldState addDeferredUIMessage:[<br>             thirdWasRun := true.<br>          ].<br>    self deny: firstWasRun.<br>       self deny: secondWasRun.<br>      self deny: thirdWasRun.<br>+      Project current world doOneCycleNow.<br>-         World doOneCycleNow.<br>          self assert: firstWasRun.<br>     self deny: secondWasRun.<br>      self deny: thirdWasRun.<br>+      Project current world doOneCycleNow.<br>-         World doOneCycleNow.<br>          self assert: firstWasRun.<br>     self assert: secondWasRun.<br>    self assert: thirdWasRun.<br>  !<br><br><br>
                        </blockquote>
                                        </div></body>