forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -61,7 +61,7 @@ def main():
|
|||||||
previous, filename)
|
previous, filename)
|
||||||
# QTCREATORBUG-13176 does update the navigator async
|
# QTCREATORBUG-13176 does update the navigator async
|
||||||
progressBarWait()
|
progressBarWait()
|
||||||
if tempFiletype == "Headers": # QTCREATORBUG-13204
|
if filetype == "Headers": # QTCREATORBUG-13204
|
||||||
verifyRenamedIncludes(templateDir, "main.cpp", previous, filename)
|
verifyRenamedIncludes(templateDir, "main.cpp", previous, filename)
|
||||||
verifyRenamedIncludes(templateDir, "utility.cpp", previous, filename)
|
verifyRenamedIncludes(templateDir, "utility.cpp", previous, filename)
|
||||||
previous = filename
|
previous = filename
|
||||||
|
Reference in New Issue
Block a user