aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2018-08-02 12:05:19 +0200
committerRobert Loehning <robert.loehning@qt.io>2018-08-02 11:48:37 +0000
commitda21353276e209049f05f59dce7f90ac04753dda (patch)
treeed1398d55efa2c9510ff5f84f42c4afcf3daa6ae /tests/system
parente8acb75115723dce6af4079efa0c3fd1d2a2936f (diff)
Squish: Don't explicitly pass default to createNewQtQuickApplication
Change-Id: I006c6cad0e972006475ad488b9a71def09de0dbb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system')
-rw-r--r--tests/system/suite_debugger/tst_simple_analyze/test.py4
-rw-r--r--tests/system/suite_debugger/tst_simple_debug/test.py4
2 files changed, 2 insertions, 6 deletions
diff --git a/tests/system/suite_debugger/tst_simple_analyze/test.py b/tests/system/suite_debugger/tst_simple_analyze/test.py
index 89eeee73d1..b752a4b586 100644
--- a/tests/system/suite_debugger/tst_simple_analyze/test.py
+++ b/tests/system/suite_debugger/tst_simple_analyze/test.py
@@ -31,9 +31,7 @@ def main():
return
# using a temporary directory won't mess up a potentially existing
workingDir = tempDir()
- # we need a Qt >= 5.3 - we use checkedTargets, so we should get only valid targets
- analyzerTargets = Targets.desktopTargetClasses()
- projectName = createNewQtQuickApplication(workingDir, targets=analyzerTargets)[1]
+ projectName = createNewQtQuickApplication(workingDir)[1]
editor = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget")
if placeCursorToLine(editor, "}"):
type(editor, '<Left>')
diff --git a/tests/system/suite_debugger/tst_simple_debug/test.py b/tests/system/suite_debugger/tst_simple_debug/test.py
index b203c96389..9067361c28 100644
--- a/tests/system/suite_debugger/tst_simple_debug/test.py
+++ b/tests/system/suite_debugger/tst_simple_debug/test.py
@@ -29,11 +29,9 @@ def main():
startApplication("qtcreator" + SettingsPath)
if not startedWithoutPluginError():
return
- # Requires Qt 4.8
- targets = Targets.desktopTargetClasses()
# using a temporary directory won't mess up a potentially existing
workingDir = tempDir()
- projectName = createNewQtQuickApplication(workingDir, targets=targets)[1]
+ projectName = createNewQtQuickApplication(workingDir)[1]
editor = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget")
if placeCursorToLine(editor, "}"):
type(editor, '<Left>')