diff options
author | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-05-29 11:54:25 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-05-29 10:33:05 +0000 |
commit | c7b7fde2bf1dc4d60e248c63368fb43154b0455b (patch) | |
tree | d50bc3931effa6f904ff48bc9c561b74018af897 | |
parent | a8cdf035ac0b8583543760e64b6a2a09787e14e4 (diff) | |
download | qt-creator-c7b7fde2bf1dc4d60e248c63368fb43154b0455b.tar.gz |
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 <christian.stenger@theqtcompany.com>
-rw-r--r-- | tests/system/suite_general/tst_rename_file/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/suite_general/tst_rename_file/test.py b/tests/system/suite_general/tst_rename_file/test.py index 5de12b4362..35ada7a94e 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 |