From c2f57e51d6fc0656abdb0e6b27f021e8f8de57d7 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 11 Feb 2019 16:47:33 +0100 Subject: [PATCH] Squish: Small fixes in tst_APTW03 Change-Id: I3ef8de3c994b34368cbe218e8a5141e47e08723f Reviewed-by: Christian Stenger --- tests/system/suite_APTW/tst_APTW03/test.py | 5 ++--- 1 file 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)