summaryrefslogtreecommitdiff
path: root/plugins/clangstaticanalyzer/clangstaticanalyzerplugin.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-02-04 15:19:30 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-02-09 16:48:26 +0200
commit2946364ce6ad760f732d1042e3206a0fe0a456d6 (patch)
treedab96a6e578d00d1a749a332cc2bdad7e208687c /plugins/clangstaticanalyzer/clangstaticanalyzerplugin.h
parentc632be5c924bbef9619e79af645edadca88e0b94 (diff)
downloadqt-creator-2946364ce6ad760f732d1042e3206a0fe0a456d6.tar.gz
Add unit tests.
These test the complete workflow as the user experiences it when clicking "Start". Intended usage: (1) Run sdktool to set up a kit with the toolchain you want to test against (using a temporary directory). The tests assume exactly one Kit to be present. (2) Start Creator with a matching settings path and "-load ClangStaticAnalyzer -test ClangStaticAnalyzer". (3) Repeat until all toolchains have been tested. The initial implementation tests one trivial source file with both qbs and qmake. Change-Id: I810f23e2990a789a4dd9f1dd16335fbcf5c5f39f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'plugins/clangstaticanalyzer/clangstaticanalyzerplugin.h')
-rw-r--r--plugins/clangstaticanalyzer/clangstaticanalyzerplugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/clangstaticanalyzer/clangstaticanalyzerplugin.h b/plugins/clangstaticanalyzer/clangstaticanalyzerplugin.h
index d96611a16f..c0a6a247fb 100644
--- a/plugins/clangstaticanalyzer/clangstaticanalyzerplugin.h
+++ b/plugins/clangstaticanalyzer/clangstaticanalyzerplugin.h
@@ -42,6 +42,8 @@ public:
ShutdownFlag aboutToShutdown();
private:
+ QList<QObject *> createTestObjects() const override;
+
ClangStaticAnalyzerTool *m_analyzerTool;
};