diff options
author | Robert Loehning <robert.loehning@qt.io> | 2019-02-11 16:47:33 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2019-02-12 12:20:33 +0000 |
commit | c2f57e51d6fc0656abdb0e6b27f021e8f8de57d7 (patch) | |
tree | 1cb93eb1950573db39526e97b3de08e3b48d8ec0 /tests/system | |
parent | 9ad1d54e1435fa02d117eaea4974e4ab95e19f24 (diff) | |
download | qt-creator-c2f57e51d6fc0656abdb0e6b27f021e8f8de57d7.tar.gz |
Squish: Small fixes in tst_APTW03
Change-Id: I3ef8de3c994b34368cbe218e8a5141e47e08723f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system')
-rw-r--r-- | tests/system/suite_APTW/tst_APTW03/test.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/system/suite_APTW/tst_APTW03/test.py b/tests/system/suite_APTW/tst_APTW03/test.py index 6d2b8e4ccc..d0b4bfea81 100644 --- a/tests/system/suite_APTW/tst_APTW03/test.py +++ b/tests/system/suite_APTW/tst_APTW03/test.py @@ -93,10 +93,9 @@ def main(): if not virtualFunctionsAdded: checkLastBuild(True, False) if not openDocument("%s.Headers.%s\.h" % (projectName, className.lower())): - test.fail("Could not open %s.h - continuing." % className.lower()) + test.fatal("Could not open %s.h - continuing." % className.lower()) continue editor = getEditorForFileSuffix("%s.h" % className.lower()) - str(editor.plainText) placeCursorToLine(editor, "class %s.*" % className, True) snooze(4) # avoid timing issue with the parser invokeContextMenuItem(editor, "Refactor", "Insert Virtual Functions of Base Classes") @@ -110,7 +109,7 @@ def main(): "Verifying whether create() declaration has been added to the header.") if not openDocument("%s.Sources.%s\.cpp" % (projectName, className.lower())): - test.fail("Could not open %s.cpp - continuing." % className.lower()) + test.fatal("Could not open %s.cpp - continuing." % className.lower()) continue editor = getEditorForFileSuffix("%s.cpp" % className.lower()) modifiedContent = str(editor.plainText) |