diff options
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.cpp')
| -rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index ddebcce0e..68f57166f 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -431,6 +431,12 @@ void TestBlackbox::clean() QVERIFY(QFile(depExeFilePath).exists()); } +void TestBlackbox::exportSimple() +{ + QDir::setCurrent(testDataDir + "/exportSimple"); + QCOMPARE(runQbs(), 0); +} + void TestBlackbox::exportWithRecursiveDepends() { QDir::setCurrent(testDataDir + "/exportWithRecursiveDepends"); @@ -440,6 +446,21 @@ void TestBlackbox::exportWithRecursiveDepends() QCOMPARE(runQbs(params), 0); } +void TestBlackbox::fileTagger() +{ + QDir::setCurrent(testDataDir + "/fileTagger"); + QCOMPARE(runQbs(), 0); + QVERIFY(m_qbsStdout.contains("moc bla.cpp")); +} + +void TestBlackbox::rc() +{ + QDir::setCurrent(testDataDir + "/rc"); + QCOMPARE(runQbs(), 0); + const bool rcFileWasCompiled = m_qbsStdout.contains("compiling test.rc"); + QCOMPARE(rcFileWasCompiled, HostOsInfo::isWindowsHost()); +} + void TestBlackbox::renameProduct() { QDir::setCurrent(testDataDir + "/renameProduct"); @@ -1342,6 +1363,12 @@ void TestBlackbox::inheritQbsSearchPaths() QCOMPARE(runQbs(), 0); } +void TestBlackbox::objC() +{ + QDir::setCurrent(testDataDir + "/objc"); + QCOMPARE(runQbs(), 0); +} + void TestBlackbox::properQuoting() { QDir::setCurrent(testDataDir + "/proper quoting"); |
