forked from qt-creator/qt-creator
Squish: Update to re-uploaded text
This should not expire after another year. Change-Id: I86ed49d491f619509e6bd32fc2624df2a1c24f5f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -155,7 +155,7 @@ def main():
|
||||
skippedPasting = True
|
||||
description = "Paste from 2017-05-11"
|
||||
if protocol == NAME_KDE:
|
||||
pasteId = "pyy2xvjh7" # valid for one year
|
||||
pasteId = "pysjk6n2i"
|
||||
pastedText = readFile(os.path.join(os.getcwd(), "testdata", "main-prepasted.cpp"))
|
||||
elif skipPastingToPastebinCom and protocol == NAME_PBCOM:
|
||||
pasteId = "8XHP0ZgH"
|
||||
@@ -186,7 +186,7 @@ def main():
|
||||
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
|
||||
continue
|
||||
test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor")
|
||||
if protocol == NAME_PBCOM and pastedText.endswith("\n"):
|
||||
if protocol in (NAME_KDE, NAME_PBCOM) and pastedText.endswith("\n"):
|
||||
pastedText = pastedText[:-1]
|
||||
test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same")
|
||||
invokeMenuItem("File", "Close All")
|
||||
|
Reference in New Issue
Block a user