Commit a80f4d17 authored by Robert Loehning's avatar Robert Loehning

Squish: Verify shown filenames when adding C++ files

Change-Id: I1e6c944a70c4f44d4f1b3e5cb7b6b6c8421ba453
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 652ff8ef
......@@ -46,7 +46,9 @@ def main():
openQmakeProject(proFile)
if not testRenameMacroAfterSourceModification():
return
addCPlusPlusFileToCurrentProject("anothertestfile.h", "C++ Header File")
headerName = "anothertestfile.h"
addCPlusPlusFileToCurrentProject(headerName, "C++ Header File",
expectedHeaderName=headerName)
if not testRenameMacroAfterSourceMoving():
return
invokeMenuItem("File", "Save All")
......
......@@ -173,7 +173,9 @@ def main():
createLocalGitConfig(os.path.join(srcPath, projectName, ".git"))
commitMessages = [commit("Initial Commit", "Committed 5 file(s).")]
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
addCPlusPlusFileToCurrentProject("pointless_header.h", "C++ Header File", addToVCS = "Git")
headerName = "pointless_header.h"
addCPlusPlusFileToCurrentProject(headerName, "C++ Header File", addToVCS="Git",
expectedHeaderName=headerName)
commitMessages.insert(0, commit("Added pointless header file", "Committed 2 file(s)."))
__createProjectOrFileSelectType__(" General", "Empty File", isProject=False)
readmeName = "README.txt"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment