forked from qt-creator/qt-creator
Squish: Use different function name in tst_CSUP01 on Windows
This reverts 7746c31774
on Windows
Change-Id: I6161320ee97ecfcd2510f73d955346e1bb9ebfc1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -66,9 +66,12 @@ def main():
|
|||||||
type(editorWidget, "<Return>")
|
type(editorWidget, "<Return>")
|
||||||
type(editorWidget, "re")
|
type(editorWidget, "re")
|
||||||
triggerCompletion(editorWidget)
|
triggerCompletion(editorWidget)
|
||||||
waitForObjectItem(":popupFrame_Proposal_QListView", "realpath")
|
functionName = "realpath"
|
||||||
doubleClickItem(":popupFrame_Proposal_QListView", "realpath", 5, 5, 0, Qt.LeftButton)
|
if platform.system() in ('Windows', 'Microsoft'):
|
||||||
test.compare(str(lineUnderCursor(editorWidget)).strip(), "realpath()",
|
functionName = "realloc"
|
||||||
|
waitForObjectItem(":popupFrame_Proposal_QListView", functionName)
|
||||||
|
doubleClickItem(":popupFrame_Proposal_QListView", functionName, 5, 5, 0, Qt.LeftButton)
|
||||||
|
test.compare(str(lineUnderCursor(editorWidget)).strip(), functionName + "()",
|
||||||
"Step 3: Verifying if: The list of suggestions is opened. It is "
|
"Step 3: Verifying if: The list of suggestions is opened. It is "
|
||||||
"possible to select one of the suggestions.")
|
"possible to select one of the suggestions.")
|
||||||
# Step 4: Insert text "voi" to new line and press Tab.
|
# Step 4: Insert text "voi" to new line and press Tab.
|
||||||
|
Reference in New Issue
Block a user