From 79b0ff81869f859b17f05706efe11b68d7a2b701 Mon Sep 17 00:00:00 2001 From: Robert Loehning <robert.loehning@nokia.com> Date: Fri, 9 Mar 2012 17:17:34 +0100 Subject: [PATCH] Squish: Updated checking for created files Done-with: Christian Stenger Change-Id: I533ff2f41a5d6554d0f6a880d1ede093de2f9d6c Reviewed-by: Christian Stenger <christian.stenger@nokia.com> --- tests/system/shared/project.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py index 32821c7afd6..7aff291bf31 100644 --- a/tests/system/shared/project.py +++ b/tests/system/shared/project.py @@ -169,7 +169,13 @@ def createProject_Qt_GUI(path, projectName, qtVersion = None, checks = True): if platform.system() in ('Windows', 'Microsoft'): path = os.path.abspath(path) path = os.path.join(path, projectName) - expectedFiles = [path, cpp_file, h_file, ui_file, pro_file] + expectedFiles = [path] + tmpList = ["main.cpp", cpp_file, h_file, ui_file, pro_file] + if platform.system() in ('Windows', 'Microsoft'): + tmpList.sort(key=str.lower) + else: + tmpList.sort() + expectedFiles.extend(tmpList) __createProjectHandleLastPage__(expectedFiles) waitForSignal("{type='CppTools::Internal::CppModelManager' unnamed='1'}", "sourceFilesRefreshed(QStringList)", 20000) -- GitLab