Commit 8466f777 authored by Robert Loehning's avatar Robert Loehning

Squish: Use different function name in tst_CSUP01 on Windows

This reverts 7746c317 on Windows

Change-Id: I6161320ee97ecfcd2510f73d955346e1bb9ebfc1
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent 8681608d
...@@ -66,9 +66,12 @@ def main(): ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment