aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_editors
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2018-08-22 14:37:34 +0200
committerChristian Stenger <christian.stenger@qt.io>2018-09-05 09:24:18 +0000
commit1016dc0603051c20ba38644827abf88dd874bc90 (patch)
treedbc4b75667ad474b735a64bb5c42faafe5e2ccc0 /tests/system/suite_editors
parentc30b629b524597f6ae9d4308301244642fc98e5c (diff)
Squish: Refactor starting Qt Creator from Squish
Change-Id: I7cbce7db2a22a7cb327965b9b7918eb46266b260 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests/system/suite_editors')
-rw-r--r--tests/system/suite_editors/tst_basic_cpp_support/test.py2
-rw-r--r--tests/system/suite_editors/tst_delete_externally/test.py2
-rw-r--r--tests/system/suite_editors/tst_edit_externally/test.py2
-rw-r--r--tests/system/suite_editors/tst_generic_highlighter/test.py2
-rw-r--r--tests/system/suite_editors/tst_memberoperator/test.py2
-rw-r--r--tests/system/suite_editors/tst_modify_readonly/test.py2
-rw-r--r--tests/system/suite_editors/tst_qml_editor/test.py2
-rw-r--r--tests/system/suite_editors/tst_qml_indent/test.py2
-rw-r--r--tests/system/suite_editors/tst_rename_macros/test.py2
-rw-r--r--tests/system/suite_editors/tst_revert_changes/test.py2
-rw-r--r--tests/system/suite_editors/tst_select_all/test.py2
11 files changed, 11 insertions, 11 deletions
diff --git a/tests/system/suite_editors/tst_basic_cpp_support/test.py b/tests/system/suite_editors/tst_basic_cpp_support/test.py
index 253e27aec6..77e8822871 100644
--- a/tests/system/suite_editors/tst_basic_cpp_support/test.py
+++ b/tests/system/suite_editors/tst_basic_cpp_support/test.py
@@ -38,7 +38,7 @@ def main():
proFile = os.path.join(tempDir, proFileName)
cleanUpUserFiles(proFile)
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
openQmakeProject(proFile)
diff --git a/tests/system/suite_editors/tst_delete_externally/test.py b/tests/system/suite_editors/tst_delete_externally/test.py
index 89d72c6a88..67e6af5329 100644
--- a/tests/system/suite_editors/tst_delete_externally/test.py
+++ b/tests/system/suite_editors/tst_delete_externally/test.py
@@ -29,7 +29,7 @@ def main():
files = checkAndCopyFiles(testData.dataset("files.tsv"), "filename", tempDir())
if not files:
return
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
for currentFile in files:
diff --git a/tests/system/suite_editors/tst_edit_externally/test.py b/tests/system/suite_editors/tst_edit_externally/test.py
index c545b64dea..ec6fcd9203 100644
--- a/tests/system/suite_editors/tst_edit_externally/test.py
+++ b/tests/system/suite_editors/tst_edit_externally/test.py
@@ -41,7 +41,7 @@ def main():
files = checkAndCopyFiles(testData.dataset("files.tsv"), "filename", tempDir())
if not files:
return
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
diff --git a/tests/system/suite_editors/tst_generic_highlighter/test.py b/tests/system/suite_editors/tst_generic_highlighter/test.py
index d607b06982..d3ca5d20b3 100644
--- a/tests/system/suite_editors/tst_generic_highlighter/test.py
+++ b/tests/system/suite_editors/tst_generic_highlighter/test.py
@@ -171,7 +171,7 @@ def displayHintForHighlighterDefinition(fileName, patterns, lPatterns, added, ad
def main():
miss = "A highlight definition was not found for this file. Would you like to try to find one?"
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
uncheckGenericHighlighterFallback()
diff --git a/tests/system/suite_editors/tst_memberoperator/test.py b/tests/system/suite_editors/tst_memberoperator/test.py
index 1b7087329c..3b3133af9d 100644
--- a/tests/system/suite_editors/tst_memberoperator/test.py
+++ b/tests/system/suite_editors/tst_memberoperator/test.py
@@ -28,7 +28,7 @@ source("../../shared/qtcreator.py")
def main():
for useClang in [False, True]:
with TestSection(getCodeModelString(useClang)):
- if not startCreator(useClang):
+ if not startCreatorVerifyingClang(useClang):
continue
createProject_Qt_Console(tempDir(), "SquishProject")
checkCodeModelSettings(useClang)
diff --git a/tests/system/suite_editors/tst_modify_readonly/test.py b/tests/system/suite_editors/tst_modify_readonly/test.py
index 08ff32677a..36a8ab3acb 100644
--- a/tests/system/suite_editors/tst_modify_readonly/test.py
+++ b/tests/system/suite_editors/tst_modify_readonly/test.py
@@ -36,7 +36,7 @@ def main():
return
if not changeFilePermissions(testFolder, True, False, "testfiles.pro"):
test.fatal("Could not set permissions for files to read-only - test will likely fail.")
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
openQmakeProject(os.path.join(testFolder, "testfiles.pro"))
diff --git a/tests/system/suite_editors/tst_qml_editor/test.py b/tests/system/suite_editors/tst_qml_editor/test.py
index 0667982521..53ddc0884d 100644
--- a/tests/system/suite_editors/tst_qml_editor/test.py
+++ b/tests/system/suite_editors/tst_qml_editor/test.py
@@ -33,7 +33,7 @@ def main():
proFile = "keyinteraction.pro"
if not neededFilePresent(os.path.join(sourceExample, proFile)):
return
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
# add docs to have the correct tool tips
diff --git a/tests/system/suite_editors/tst_qml_indent/test.py b/tests/system/suite_editors/tst_qml_indent/test.py
index 2be24a94ce..958251d052 100644
--- a/tests/system/suite_editors/tst_qml_indent/test.py
+++ b/tests/system/suite_editors/tst_qml_indent/test.py
@@ -26,7 +26,7 @@
source("../../shared/qtcreator.py")
def main():
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
# using a temporary directory won't mess up a potentially existing
diff --git a/tests/system/suite_editors/tst_rename_macros/test.py b/tests/system/suite_editors/tst_rename_macros/test.py
index 5a4177daad..24c4c22813 100644
--- a/tests/system/suite_editors/tst_rename_macros/test.py
+++ b/tests/system/suite_editors/tst_rename_macros/test.py
@@ -35,7 +35,7 @@ def main():
test.fatal("Could not prepare test files - leaving test")
return
proFile = os.path.join(folder, "testfiles.pro")
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
openQmakeProject(proFile)
diff --git a/tests/system/suite_editors/tst_revert_changes/test.py b/tests/system/suite_editors/tst_revert_changes/test.py
index 5bf3d15d94..d6e65b482c 100644
--- a/tests/system/suite_editors/tst_revert_changes/test.py
+++ b/tests/system/suite_editors/tst_revert_changes/test.py
@@ -44,7 +44,7 @@ def main():
test.fatal("Could not prepare test files - leaving test")
return
proFile = os.path.join(folder, "testfiles.pro")
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
openQmakeProject(proFile)
diff --git a/tests/system/suite_editors/tst_select_all/test.py b/tests/system/suite_editors/tst_select_all/test.py
index 1c0a4b309a..9b488e0a6b 100644
--- a/tests/system/suite_editors/tst_select_all/test.py
+++ b/tests/system/suite_editors/tst_select_all/test.py
@@ -35,7 +35,7 @@ def main():
if not neededFilePresent(currentFile):
return
- startApplication("qtcreator" + SettingsPath)
+ startQC()
if not startedWithoutPluginError():
return
for currentFile in files: