Clang Static Analyzer: Tests: Add "qt-essential-includes" project

...which includes the meta headers of all Qt essential modules in order to
increase the test coverage.

Change-Id: I79310f1cc5bfc54a4c0f52f6c7ea4ffea7595221
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2016-04-13 13:03:51 +02:00
parent 354abe5ad8
commit 9ca3614164
5 changed files with 59 additions and 0 deletions

View File

@@ -111,6 +111,13 @@ void ClangStaticAnalyzerUnitTests::testProject_data()
<< QString(m_tmpDir->absolutePath("qt-widgets-app/qt-widgets-app.qbs")) << 0;
QTest::newRow("qt-widgets-app qmake project")
<< QString(m_tmpDir->absolutePath("qt-widgets-app/qt-widgets-app.pro")) << 0;
QTest::newRow("qt-essential-includes qbs project")
<< QString(m_tmpDir->absolutePath("qt-essential-includes/qt-essential-includes.qbs"))
<< 0;
QTest::newRow("qt-essential-includes qmake project")
<< QString(m_tmpDir->absolutePath("qt-essential-includes/qt-essential-includes.pro"))
<< 0;
}
} // namespace Internal