summaryrefslogtreecommitdiff
path: root/src/plugins/clangstaticanalyzer/clangstaticanalyzerunittests.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-02-26 14:14:49 +0100
committerhjk <hjk@theqtcompany.com>2016-02-29 10:47:43 +0000
commit931ee3382c2215e6f1b691a6d5812a3cd4f8e8f6 (patch)
tree849e63dbee02db620b832873d1eb37d05b2b111d /src/plugins/clangstaticanalyzer/clangstaticanalyzerunittests.cpp
parent04cbf8b818b57f0c96c363f5b65375172fbc30de (diff)
downloadqt-creator-931ee3382c2215e6f1b691a6d5812a3cd4f8e8f6.tar.gz
Analyzer: Rework the dock widget layout generation
Decouple layout generation from widget generation and separate analyzer action description from menu action creation. Tool specific layouts are named "Perspective" now. Change-Id: I774efe77a07640c4cc26e4e566662c8a673c8831 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/clangstaticanalyzer/clangstaticanalyzerunittests.cpp')
-rw-r--r--src/plugins/clangstaticanalyzer/clangstaticanalyzerunittests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangstaticanalyzer/clangstaticanalyzerunittests.cpp b/src/plugins/clangstaticanalyzer/clangstaticanalyzerunittests.cpp
index 1c91d723aa..3764773cae 100644
--- a/src/plugins/clangstaticanalyzer/clangstaticanalyzerunittests.cpp
+++ b/src/plugins/clangstaticanalyzer/clangstaticanalyzerunittests.cpp
@@ -89,7 +89,7 @@ void ClangStaticAnalyzerUnitTests::testProject()
CppTools::Tests::ProjectOpenerAndCloser projectManager;
const CppTools::ProjectInfo projectInfo = projectManager.open(projectFilePath, true);
QVERIFY(projectInfo.isValid());
- AnalyzerManager::selectAction(ClangStaticAnalyzerToolId, /* alsoRunIt = */ true);
+ AnalyzerManager::selectAction(ClangStaticAnalyzerPerspective, /* alsoRunIt = */ true);
QSignalSpy waiter(m_analyzerTool, SIGNAL(finished(bool)));
QVERIFY(waiter.wait(30000));
const QList<QVariant> arguments = waiter.takeFirst();