[Pharo-project] modal windows and unit tests

Schwab,Wilhelm K bschwab at anest.ufl.edu
Tue Oct 12 16:49:43 EDT 2010


The tests I am finding in my Dolphin image create/show a presenter, do some things to it, and then use #ensure: to evaluate

  aPresenter topShell presenter exit.

after which it forces a check of the finalization queue and a GC; I probably did that out of an abundance of caution.

Bill



________________________________________
From: pharo-project-bounces at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] On Behalf Of Alexandre Bergel [alexandre at bergel.eu]
Sent: Tuesday, October 12, 2010 3:39 PM
To: Pharo Development
Subject: [Pharo-project] modal windows and unit tests

Hi!

A modal window is pop up by one of my tests. Is there a way to capture this situation and simply remove the modal window?
Apparently, no notification is raised...

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




More information about the Pharo-dev mailing list