From c7b7fde2bf1dc4d60e248c63368fb43154b0455b Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 29 May 2015 11:54:25 +0200 Subject: [PATCH] Squish: Fix verification in tst_rename_file This doesn't change anything until we replace the used project. main.cpp or utility.cpp may get the tempFiletype "Headers" and then the test will crash because the file can't be opened. In addition, only files with filetype "Headers" are included in other files, so verifying including of other files is pointless. Change-Id: I30b20269a800eca5ef51de3af209e674da5189bd Reviewed-by: Christian Stenger --- tests/system/suite_general/tst_rename_file/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/suite_general/tst_rename_file/test.py b/tests/system/suite_general/tst_rename_file/test.py index 5de12b43625..35ada7a94e3 100644 --- a/tests/system/suite_general/tst_rename_file/test.py +++ b/tests/system/suite_general/tst_rename_file/test.py @@ -61,7 +61,7 @@ def main(): previous, filename) # QTCREATORBUG-13176 does update the navigator async progressBarWait() - if tempFiletype == "Headers": # QTCREATORBUG-13204 + if filetype == "Headers": # QTCREATORBUG-13204 verifyRenamedIncludes(templateDir, "main.cpp", previous, filename) verifyRenamedIncludes(templateDir, "utility.cpp", previous, filename) previous = filename