From ea4adaa0f859929d9fc1a5e6a169c7f493f64dee Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Tue, 7 Dec 2010 10:58:31 +1000 Subject: Add equivalents of qWait() and qSleep() --- doc/testcases.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/testcases.txt b/doc/testcases.txt index c2a459c..4a5e53f 100644 --- a/doc/testcases.txt +++ b/doc/testcases.txt @@ -96,6 +96,12 @@ A number of helper functions are available to assist with writing tests: - Ignore warning message - Similar to QTest::ignoreMessage(QtWarningMsg, msg) + wait(ms) + - Wait for "ms" milliseconds, processing Qt events. + + sleep(ms) + - Sleep for "ms" milliseconds, but do not process events. + The "msg" parameters can be omitted if there is no particular message that should be displayed other than "FAIL" or "SKIP". -- cgit v1.2.3