diff options
author | Robert Loehning <robert.loehning@digia.com> | 2014-05-22 14:10:55 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@digia.com> | 2014-05-22 16:17:29 +0200 |
commit | c229093b1d1c3ddbd5cbe612b1c844f4271d472d (patch) | |
tree | 36cd3316305a1757d19f24ba27b09bdfa8d2f577 | |
parent | 8db19a850e457e2a1b23c7439befe54641b679d4 (diff) | |
download | qt-creator-c229093b1d1c3ddbd5cbe612b1c844f4271d472d.tar.gz |
Squish: Test project tree of CMake project
Change-Id: I91fb9cea7cad22f9c7d3874be95ecdc42f18b358
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
-rw-r--r-- | tests/system/suite_general/tst_cmake_speedcrunch/test.py | 2 | ||||
-rw-r--r-- | tests/system/suite_general/tst_cmake_speedcrunch/testdata/projecttree_speedcrunch.tsv | 99 |
2 files changed, 101 insertions, 0 deletions
diff --git a/tests/system/suite_general/tst_cmake_speedcrunch/test.py b/tests/system/suite_general/tst_cmake_speedcrunch/test.py index edc7495ce5..96dc4c555e 100644 --- a/tests/system/suite_general/tst_cmake_speedcrunch/test.py +++ b/tests/system/suite_general/tst_cmake_speedcrunch/test.py @@ -48,6 +48,8 @@ def main(): invokeMenuItem("File", "Exit") return progressBarWait(30000) + naviTreeView = "{column='0' container=':Qt Creator_Utils::NavigationTreeView' text~='%s' type='QModelIndex'}" + compareProjectTree(naviTreeView % "speedcrunch( \[\S+\])?", "projecttree_speedcrunch.tsv") # Invoke a rebuild of the application invokeMenuItem("Build", "Rebuild All") 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 new file mode 100644 index 0000000000..aa7ec8849e --- /dev/null +++ b/tests/system/suite_general/tst_cmake_speedcrunch/testdata/projecttree_speedcrunch.tsv @@ -0,0 +1,99 @@ +"text" "nestinglevel" +"cmake_uninstall.cmake.in" "0" +"CMakeLists.txt" "0" +"SourceFiles.cmake" "0" +"core" "0" +"book.cpp" "1" +"book.h" "1" +"constants.cpp" "1" +"constants.h" "1" +"evaluator.cpp" "1" +"evaluator.h" "1" +"functions.cpp" "1" +"functions.h" "1" +"numberformatter.cpp" "1" +"numberformatter.h" "1" +"settings.cpp" "1" +"settings.h" "1" +"gui" "0" +"aboutbox.cpp" "1" +"aboutbox.h" "1" +"application.cpp" "1" +"application.h" "1" +"autohidelabel.cpp" "1" +"autohidelabel.h" "1" +"bookdock.cpp" "1" +"bookdock.h" "1" +"constantsdock.cpp" "1" +"constantsdock.h" "1" +"constantswidget.cpp" "1" +"constantswidget.h" "1" +"editor.cpp" "1" +"editor.h" "1" +"functionsdock.cpp" "1" +"functionsdock.h" "1" +"functionswidget.cpp" "1" +"functionswidget.h" "1" +"historydock.cpp" "1" +"historydock.h" "1" +"historywidget.cpp" "1" +"historywidget.h" "1" +"mainwindow.cpp" "1" +"mainwindow.h" "1" +"resultdisplay.cpp" "1" +"resultdisplay.h" "1" +"syntaxhighlighter.cpp" "1" +"syntaxhighlighter.h" "1" +"tipwidget.cpp" "1" +"tipwidget.h" "1" +"variablelistwidget.cpp" "1" +"variablelistwidget.h" "1" +"variablesdock.cpp" "1" +"variablesdock.h" "1" +"math" "0" +"floatcommon.c" "1" +"floatcommon.h" "1" +"floatconst.c" "1" +"floatconst.h" "1" +"floatconvert.c" "1" +"floatconvert.h" "1" +"floaterf.c" "1" +"floaterf.h" "1" +"floatexp.c" "1" +"floatexp.h" "1" +"floatgamma.c" "1" +"floatgamma.h" "1" +"floathmath.c" "1" +"floathmath.h" "1" +"floatio.c" "1" +"floatio.h" "1" +"floatipower.c" "1" +"floatipower.h" "1" +"floatlog.c" "1" +"floatlog.h" "1" +"floatlogic.c" "1" +"floatlogic.h" "1" +"floatlong.c" "1" +"floatlong.h" "1" +"floatnum.c" "1" +"floatnum.h" "1" +"floatpower.c" "1" +"floatpower.h" "1" +"floatseries.c" "1" +"floatseries.h" "1" +"floattrig.c" "1" +"floattrig.h" "1" +"hmath.cpp" "1" +"hmath.h" "1" +"number.c" "1" +"number.h" "1" +"resources" "0" +"speedcrunch.qrc" "1" +"tests" "0" +"testevaluator.cpp" "1" +"testfloatnum.c" "1" +"testhmath.cpp" "1" +"thirdparty" "0" +"binreloc.c" "1" +"binreloc.h" "1" +"main.cpp" "0" |