Squish: Remove outdated workaround from tst_codepasting

Change-Id: I62d236ad691c878a324a307d3e9b1ce6c183966a
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
Robert Loehning
2013-08-27 17:13:27 +02:00
parent 9f2110f8a1
commit 769788a452

View File

@@ -77,8 +77,6 @@ def main():
clickButton(waitForObject(":CodePaster__Internal__PasteSelectDialog.OK_QPushButton"))
filenameCombo = waitForObject(":Qt Creator_FilenameQComboBox")
waitFor("not filenameCombo.currentText.isEmpty()", 20000)
if protocol == "Pastebin.Com":
protocol = "Pastebin.com"
editor = waitForObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget")
test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor")
test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same")