forked from qt-creator/qt-creator
SquishTests: More adaption to changed wizard template
Change-Id: Ib073a8eae3ee87dc46699083799a8316da66b32d Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -12,7 +12,7 @@ def main():
|
||||
# create qt quick application
|
||||
createNewQtQuickApplication(tempDir(), "SampleApp")
|
||||
# create syntax error in qml file
|
||||
openDocument("SampleApp.Resources.qml\.qrc./.main\\.qml")
|
||||
openDocument("SampleApp.appSampleApp.Main\\.qml")
|
||||
if not appendToLine(waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget"), "Window {", "SyntaxError"):
|
||||
invokeMenuItem("File", "Exit")
|
||||
return
|
||||
|
@@ -15,8 +15,8 @@ def main():
|
||||
invokeMenuItem("File", "Exit")
|
||||
|
||||
def prepareQmlFile():
|
||||
if not openDocument("untitled.untitled.qml\\.qrc./.main\\.qml"):
|
||||
test.fatal("Could not open main.qml")
|
||||
if not openDocument("untitled.appuntitled.Main\\.qml"):
|
||||
test.fatal("Could not open Main.qml")
|
||||
return None
|
||||
editor = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget")
|
||||
isDarwin = platform.system() == 'Darwin'
|
||||
|
@@ -33,7 +33,7 @@ def main():
|
||||
checkCompile()
|
||||
else:
|
||||
appOutput = logApplicationOutput()
|
||||
test.verify(not ("main.qml" in appOutput or "MainForm.ui.qml" in appOutput),
|
||||
test.verify(not ("Main.qml" in appOutput or "MainForm.ui.qml" in appOutput),
|
||||
"Does the Application Output indicate QML errors?")
|
||||
invokeMenuItem("File", "Close All Projects and Editors")
|
||||
|
||||
|
Reference in New Issue
Block a user