diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-06-23 14:39:27 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-07-01 04:41:26 +0000 |
commit | e2adf9b7bb20de1d9cc235c81495215ce542c69c (patch) | |
tree | ac59f8eeca013f5d9c3d9b65c93b961eda2a599b /tests/system/suite_WELP | |
parent | 75dc72879933545e7833ccfafc5e20035340eddb (diff) |
Squish: Fix tst_HELP05
Additionally move Qt5Path helper class into classes.py as it's now
used in more than one test suite.
Change-Id: I0a1faed7fa8c082316c5568e4150091812af8979
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Diffstat (limited to 'tests/system/suite_WELP')
-rw-r--r-- | tests/system/suite_WELP/tst_WELP03/test.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/system/suite_WELP/tst_WELP03/test.py b/tests/system/suite_WELP/tst_WELP03/test.py index 3e15c8f424..286be802dc 100644 --- a/tests/system/suite_WELP/tst_WELP03/test.py +++ b/tests/system/suite_WELP/tst_WELP03/test.py @@ -31,36 +31,6 @@ source("../../shared/qtcreator.py") source("../../shared/suites_qtta.py") -class Qt5Path: - DOCS = 0 - EXAMPLES = 1 - - @staticmethod - def getPaths(pathSpec): - if pathSpec == Qt5Path.DOCS: - path52 = "/doc" - path53 = "/Docs/Qt-5.3" - path54 = "/Docs/Qt-5.4" - elif pathSpec == Qt5Path.EXAMPLES: - path52 = "/examples" - path53 = "/Examples/Qt-5.3" - path54 = "/Examples/Qt-5.4" - else: - test.fatal("Unknown pathSpec given: %s" % str(pathSpec)) - return [] - if platform.system() in ('Microsoft', 'Windows'): - return ["C:/Qt/Qt5.2.1/5.2.1/msvc2010" + path52, - "C:/Qt/Qt5.3.1" + path53, "C:/Qt/Qt5.4.1" + path54] - elif platform.system() == 'Linux': - if __is64BitOS__(): - return map(os.path.expanduser, ["~/Qt5.2.1/5.2.1/gcc_64" + path52, - "~/Qt5.3.1" + path53, "~/Qt5.4.1" + path54]) - return map(os.path.expanduser, ["~/Qt5.2.1/5.2.1/gcc" + path52, - "~/Qt5.3.1" + path53, "~/Qt5.4.1" + path54]) - else: - return map(os.path.expanduser, ["~/Qt5.2.1/5.2.1/clang_64" + path52, - "~/Qt5.3.1" + path53]) - def handlePackagingMessageBoxes(): if platform.system() == "Darwin": messageBox = "{type='QMessageBox' unnamed='1' visible='1'}" |