From ab772c50be1bb6c5cac1ee6482c629b0cd530d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Thu, 27 Jan 2022 00:00:27 +0100 Subject: [PATCH] Squish: Update tst_cmake_speedcrunch Change-Id: I46ab6f245a21546e6ebf20680f06b0cdd26eab8f Reviewed-by: Christian Stenger --- .../tst_cmake_speedcrunch/test.py | 2 +- .../testdata/projecttree_speedcrunch.tsv | 247 +++++++++++++----- 2 files changed, 186 insertions(+), 63 deletions(-) diff --git a/tests/system/suite_general/tst_cmake_speedcrunch/test.py b/tests/system/suite_general/tst_cmake_speedcrunch/test.py index e6f07b22c5a..9a9e88d3c95 100644 --- a/tests/system/suite_general/tst_cmake_speedcrunch/test.py +++ b/tests/system/suite_general/tst_cmake_speedcrunch/test.py @@ -65,7 +65,7 @@ def main(): compareProjectTree(naviTreeView % "speedcrunch( \[\S+\])?", treeFile) # Invoke a rebuild of the application - invokeMenuItem("Build", "Rebuild All Projects") + selectFromLocator("t rebuild", "Rebuild (Rebuild All Projects)") # Wait for, and test if the build succeeded waitForCompile(300000) diff --git a/tests/system/suite_general/tst_cmake_speedcrunch/testdata/projecttree_speedcrunch.tsv b/tests/system/suite_general/tst_cmake_speedcrunch/testdata/projecttree_speedcrunch.tsv index 8236d245f58..2fd1d59bb2b 100644 --- a/tests/system/suite_general/tst_cmake_speedcrunch/testdata/projecttree_speedcrunch.tsv +++ b/tests/system/suite_general/tst_cmake_speedcrunch/testdata/projecttree_speedcrunch.tsv @@ -1,33 +1,129 @@ "text" "nestinglevel" "CMakeLists.txt" "0" "speedcrunch" "0" +"Header Files" "1" +"genericdock.h" "2" "Source Files" "1" "core" "2" "book.cpp" "3" "constants.cpp" "3" "evaluator.cpp" "3" "functions.cpp" "3" +"manualserver.cpp" "3" "numberformatter.cpp" "3" +"opcode.cpp" "3" +"pageserver.cpp" "3" +"session.cpp" "3" +"sessionhistory.cpp" "3" "settings.cpp" "3" +"userfunction.cpp" "3" +"variable.cpp" "3" "gui" "2" "aboutbox.cpp" "3" -"application.cpp" "3" -"autohidelabel.cpp" "3" +"bitfieldwidget.cpp" "3" "bookdock.cpp" "3" -"constantsdock.cpp" "3" "constantswidget.cpp" "3" "editor.cpp" "3" -"functionsdock.cpp" "3" "functionswidget.cpp" "3" -"historydock.cpp" "3" "historywidget.cpp" "3" +"keypad.cpp" "3" "mainwindow.cpp" "3" +"manualwindow.cpp" "3" "resultdisplay.cpp" "3" "syntaxhighlighter.cpp" "3" -"tipwidget.cpp" "3" +"userfunctionlistwidget.cpp" "3" "variablelistwidget.cpp" "3" -"variablesdock.cpp" "3" "math" "2" +"cmath.cpp" "3" +"cnumberparser.cpp" "3" +"floatcommon.c" "3" +"floatconst.c" "3" +"floatconvert.c" "3" +"floaterf.c" "3" +"floatexp.c" "3" +"floatgamma.c" "3" +"floathmath.c" "3" +"floatincgamma.c" "3" +"floatio.c" "3" +"floatipower.c" "3" +"floatlog.c" "3" +"floatlogic.c" "3" +"floatlong.c" "3" +"floatnum.c" "3" +"floatpower.c" "3" +"floatseries.c" "3" +"floattrig.c" "3" +"hmath.cpp" "3" +"number.c" "3" +"quantity.cpp" "3" +"rational.cpp" "3" +"units.cpp" "3" +"main.cpp" "2" +"/" "2" +"color-schemes" "3" +"Solarized Dark.json" "4" +"Solarized Light.json" "4" +"Standard.json" "4" +"Sublime.json" "4" +"Terminal.json" "4" +"Tomorrow Night Blue.json" "4" +"Tomorrow Night Bright.json" "4" +"Tomorrow Night Eighties.json" "4" +"Tomorrow Night.json" "4" +"Tomorrow.json" "4" +"locale" "3" +"ar.qm" "4" +"ca_ES.qm" "4" +"cs_CZ.qm" "4" +"da.qm" "4" +"de_DE.qm" "4" +"el.qm" "4" +"en_GB.qm" "4" +"en_US.qm" "4" +"es_AR.qm" "4" +"es_ES.qm" "4" +"et_EE.qm" "4" +"eu_ES.qm" "4" +"fi_FI.qm" "4" +"fr_FR.qm" "4" +"he_IL.qm" "4" +"hu_HU.qm" "4" +"id_ID.qm" "4" +"it_IT.qm" "4" +"ja_JP.qm" "4" +"ko_KR.qm" "4" +"lt.qm" "4" +"lv_LV.qm" "4" +"nb_NO.qm" "4" +"nl_NL.qm" "4" +"pl_PL.qm" "4" +"pt_BR.qm" "4" +"pt_PT.qm" "4" +"ro_RO.qm" "4" +"ru_RU.qm" "4" +"sk.qm" "4" +"sv_SE.qm" "4" +"tr_TR.qm" "4" +"uz_Latn_UZ.qm" "4" +"vi.qm" "4" +"zh_CN.qm" "4" +"speedcrunch.png" "3" +"" "1" +"manual.qrc" "3" +"/manual" "4" +"manual-de_DE.qch" "5" +"manual-de_DE.qhc" "5" +"manual-en_US.qch" "5" +"manual-en_US.qhc" "5" +"manual-es_ES.qch" "5" +"manual-es_ES.qhc" "5" +"manual-fr_FR.qch" "5" +"manual-fr_FR.qhc" "5" +"testcmath" "0" +"Source Files" "1" +"math" "2" +"cmath.cpp" "3" +"cnumberparser.cpp" "3" "floatcommon.c" "3" "floatconst.c" "3" "floatconvert.c" "3" @@ -46,18 +142,53 @@ "floattrig.c" "3" "hmath.cpp" "3" "number.c" "3" -"resources" "2" -"speedcrunch.rc" "3" -"thirdparty" "2" -"binreloc.c" "3" -"main.cpp" "2" +"quantity.cpp" "3" +"rational.cpp" "3" +"units.cpp" "3" +"tests" "2" +"testcmath.cpp" "3" +"testdmath" "0" +"Source Files" "1" +"math" "2" +"cmath.cpp" "3" +"cnumberparser.cpp" "3" +"floatcommon.c" "3" +"floatconst.c" "3" +"floatconvert.c" "3" +"floaterf.c" "3" +"floatexp.c" "3" +"floatgamma.c" "3" +"floathmath.c" "3" +"floatio.c" "3" +"floatipower.c" "3" +"floatlog.c" "3" +"floatlogic.c" "3" +"floatlong.c" "3" +"floatnum.c" "3" +"floatpower.c" "3" +"floatseries.c" "3" +"floattrig.c" "3" +"hmath.cpp" "3" +"number.c" "3" +"quantity.cpp" "3" +"rational.cpp" "3" +"units.cpp" "3" +"tests" "2" +"testdmath.cpp" "3" "testevaluator" "0" "Source Files" "1" "core" "2" "evaluator.cpp" "3" "functions.cpp" "3" +"numberformatter.cpp" "3" +"session.cpp" "3" +"sessionhistory.cpp" "3" "settings.cpp" "3" +"userfunction.cpp" "3" +"variable.cpp" "3" "math" "2" +"cmath.cpp" "3" +"cnumberparser.cpp" "3" "floatcommon.c" "3" "floatconst.c" "3" "floatconvert.c" "3" @@ -76,6 +207,9 @@ "floattrig.c" "3" "hmath.cpp" "3" "number.c" "3" +"quantity.cpp" "3" +"rational.cpp" "3" +"units.cpp" "3" "tests" "2" "testevaluator.cpp" "3" "testfloatnum" "0" @@ -103,6 +237,8 @@ "testhmath" "0" "Source Files" "1" "math" "2" +"cmath.cpp" "3" +"cnumberparser.cpp" "3" "floatcommon.c" "3" "floatconst.c" "3" "floatconvert.c" "3" @@ -121,58 +257,45 @@ "floattrig.c" "3" "hmath.cpp" "3" "number.c" "3" +"quantity.cpp" "3" +"rational.cpp" "3" +"units.cpp" "3" "tests" "2" "testhmath.cpp" "3" -"" "0" -"core" "1" -"book.h" "2" -"constants.h" "2" -"errors.h" "2" -"evaluator.h" "2" -"functions.h" "2" -"numberformatter.h" "2" -"settings.h" "2" -"gui" "1" -"aboutbox.h" "2" -"application.h" "2" -"autohidelabel.h" "2" -"bookdock.h" "2" -"constantsdock.h" "2" -"constantswidget.h" "2" -"editor.h" "2" -"functionsdock.h" "2" -"functionswidget.h" "2" -"historydock.h" "2" -"historywidget.h" "2" -"mainwindow.h" "2" -"resultdisplay.h" "2" -"syntaxhighlighter.h" "2" -"tipwidget.h" "2" -"variablelistwidget.h" "2" -"variablesdock.h" "2" -"math" "1" -"floatcommon.h" "2" -"floatconfig.h" "2" -"floatconst.h" "2" -"floatconvert.h" "2" -"floaterf.h" "2" -"floatexp.h" "2" -"floatgamma.h" "2" -"floathmath.h" "2" -"floatincgamma.h" "2" -"floatio.h" "2" -"floatipower.h" "2" -"floatlog.h" "2" -"floatlogic.h" "2" -"floatlong.h" "2" -"floatnum.h" "2" -"floatpower.h" "2" -"floatseries.h" "2" -"floattrig.h" "2" -"hmath.h" "2" -"number.h" "2" -"thirdparty" "1" -"binreloc.h" "2" +"testser" "0" +"Source Files" "1" +"core" "2" +"numberformatter.cpp" "3" +"settings.cpp" "3" +"math" "2" +"cmath.cpp" "3" +"cnumberparser.cpp" "3" +"floatcommon.c" "3" +"floatconst.c" "3" +"floatconvert.c" "3" +"floaterf.c" "3" +"floatexp.c" "3" +"floatgamma.c" "3" +"floathmath.c" "3" +"floatio.c" "3" +"floatipower.c" "3" +"floatlog.c" "3" +"floatlogic.c" "3" +"floatlong.c" "3" +"floatnum.c" "3" +"floatpower.c" "3" +"floatseries.c" "3" +"floattrig.c" "3" +"hmath.cpp" "3" +"number.c" "3" +"quantity.cpp" "3" +"rational.cpp" "3" +"units.cpp" "3" +"tests" "2" +"testser.cpp" "3" +"src" "1" +"CMakeLists.txt" "2" "CMake Modules" "0" "cmake_uninstall.cmake.in" "1" "SourceFiles.cmake" "1" +"" "1"