forked from qt-creator/qt-creator
Squish: Adapt to changes ui text
Change-Id: I03187ddecb7a5737a87a626135584458795aa633 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
@@ -84,7 +84,7 @@ def setBreakpointsForCurrentProject(filesAndLines):
|
|||||||
editor = getEditorForFileSuffix(curFile, True)
|
editor = getEditorForFileSuffix(curFile, True)
|
||||||
if not placeCursorToLine(editor, curLine, True):
|
if not placeCursorToLine(editor, curLine, True):
|
||||||
return None
|
return None
|
||||||
invokeMenuItem("Debug", "Toggle Breakpoint")
|
invokeMenuItem("Debug", "Enable or Disable Breakpoint")
|
||||||
filePath = str(waitForObjectExists(":Qt Creator_FilenameQComboBox").toolTip)
|
filePath = str(waitForObjectExists(":Qt Creator_FilenameQComboBox").toolTip)
|
||||||
breakPointList.append({filePath:lineNumberWithCursor(editor)})
|
breakPointList.append({filePath:lineNumberWithCursor(editor)})
|
||||||
test.log('Set breakpoint in %s' % curFile, curLine)
|
test.log('Set breakpoint in %s' % curFile, curLine)
|
||||||
|
@@ -111,7 +111,7 @@ def performDebugging(projectName):
|
|||||||
editor = waitForObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget")
|
editor = waitForObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget")
|
||||||
placeCursorToLine(editor, "int main.*", True)
|
placeCursorToLine(editor, "int main.*", True)
|
||||||
type(editor, "<Down>")
|
type(editor, "<Down>")
|
||||||
invokeMenuItem("Debug", "Toggle Breakpoint")
|
invokeMenuItem("Debug", "Enable or Disable Breakpoint")
|
||||||
clickButton(waitForObject(":*Qt Creator.Start Debugging_Core::Internal::FancyToolButton"))
|
clickButton(waitForObject(":*Qt Creator.Start Debugging_Core::Internal::FancyToolButton"))
|
||||||
handleDebuggerWarnings(config, isMsvc)
|
handleDebuggerWarnings(config, isMsvc)
|
||||||
clickButton(waitForObject(":*Qt Creator.Continue_Core::Internal::FancyToolButton"))
|
clickButton(waitForObject(":*Qt Creator.Continue_Core::Internal::FancyToolButton"))
|
||||||
|
Reference in New Issue
Block a user