-
Committer:
Tarmac
-
Author(s):
Gerry Boland
-
Date:
2012-01-18 11:29:18 UTC
-
mfrom:
(850.1.6 td-launcher-test-fix)
-
Revision ID:
tarmac-20120118112918-7rvysnhowm02km9p
Rewrite launcher autohide_show_tests to use the verify* methods. Also add TmpWindow class manage creating and closing windows needed for tests.
Replacing the assert* with verify* methods mean we can remove the arbitrary sleep times, which means the test suite will run more smoothly (and faster!). The TmpWindow class provides book-keeping so that all created windows can be closed by the test teardown method, so that one failed test won't cause other tests to fail.. Fixes: . Appoved by Albert Astals Cid.