aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_APTW
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2019-02-11 16:47:33 +0100
committerRobert Loehning <robert.loehning@qt.io>2019-02-12 12:20:33 +0000
commitc2f57e51d6fc0656abdb0e6b27f021e8f8de57d7 (patch)
tree1cb93eb1950573db39526e97b3de08e3b48d8ec0 /tests/system/suite_APTW
parent9ad1d54e1435fa02d117eaea4974e4ab95e19f24 (diff)
Squish: Small fixes in tst_APTW03
Change-Id: I3ef8de3c994b34368cbe218e8a5141e47e08723f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/suite_APTW')
-rw-r--r--tests/system/suite_APTW/tst_APTW03/test.py5
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 6d2b8e4cccb..d0b4bfea811 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)