diff options
author | Robert Loehning <robert.loehning@digia.com> | 2012-11-02 19:34:38 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@digia.com> | 2012-11-05 12:59:07 +0100 |
commit | 77313fd980f87d6b26f989f3f3cf958e2872fc02 (patch) | |
tree | b6b58571c99d74c261001e08e693f100638d9aef /tests/system/suite_debugger/tst_cli_output_console/test.py | |
parent | fb61be5ed62cb8803ca3c8bb5de183507c28578d (diff) | |
download | qt-creator-77313fd980f87d6b26f989f3f3cf958e2872fc02.tar.gz |
Squish: Removed pointless explicit timeouts
Change-Id: I21e41fc8d1c26186afe0d18613c764abd065227e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests/system/suite_debugger/tst_cli_output_console/test.py')
-rw-r--r-- | tests/system/suite_debugger/tst_cli_output_console/test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/system/suite_debugger/tst_cli_output_console/test.py b/tests/system/suite_debugger/tst_cli_output_console/test.py index 6900aef542..c1576de2f0 100644 --- a/tests/system/suite_debugger/tst_cli_output_console/test.py +++ b/tests/system/suite_debugger/tst_cli_output_console/test.py @@ -31,7 +31,7 @@ def main(): # Rely on code completion for closing bracket invokeMenuItem("File", "Save All") selectFromLocator(project + ".pro") - proEditor = waitForObject(":Qt Creator_ProFileEditorWidget", 20000) + proEditor = waitForObject(":Qt Creator_ProFileEditorWidget") test.verify("CONFIG += console" in str(proEditor.plainText), "Verifying that program is configured with console") setRunInTerminal(1, 0, False) @@ -44,11 +44,11 @@ def main(): test.log("Running application") runControlFinished = False - clickButton(waitForObject("{type='Core::Internal::FancyToolButton' text='Run' visible='1'}", 20000)) + clickButton(waitForObject("{type='Core::Internal::FancyToolButton' text='Run' visible='1'}")) waitFor("runControlFinished==True", 20000) if not runControlFinished: test.warning("Waiting for runControlFinished timed out") - appOutput = str(waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1'}", 20000).plainText) + appOutput = str(waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1'}").plainText) verifyOutput(appOutput, outputStdOut, "std::cout", "Application Output") verifyOutput(appOutput, outputStdErr, "std::cerr", "Application Output") verifyOutput(appOutput, outputQDebug, "qDebug()", "Application Output") @@ -78,7 +78,7 @@ def main(): else: test.fatal("Debugger log did not behave as expected. Please check manually.") switchViewTo(ViewConstants.EDIT) - appOutput = str(waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1'}", 20000).plainText) + appOutput = str(waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1'}").plainText) if not "MSVC" in config: verifyOutput(appOutput, outputStdOut, "std::cout", "Application Output") verifyOutput(appOutput, outputStdErr, "std::cerr", "Application Output") |