Changeset View
Changeset View
Standalone View
Standalone View
projectmanagers/cmake/tests/test_ctestfindsuites.cpp
Context not available. | |||||
87 | { | 87 | { | ||
---|---|---|---|---|---|
88 | QCOMPARE(suite->cases(), QStringList()); | 88 | QCOMPARE(suite->cases(), QStringList()); | ||
89 | QVERIFY(!suite->declaration().isValid()); | 89 | QVERIFY(!suite->declaration().isValid()); | ||
90 | CTestSuite* ctestSuite = (CTestSuite*)(suite); | 90 | CTestSuite* ctestSuite = static_cast<CTestSuite*>(suite); | ||
91 | const auto buildDir = Path(CMake::allBuildDirs(project).at(0)); | 91 | const auto buildDir = Path(CMake::allBuildDirs(project).at(0)); | ||
92 | QString exeSubdir = buildDir.relativePath(ctestSuite->executable().parent()); | 92 | QString exeSubdir = buildDir.relativePath(ctestSuite->executable().parent()); | ||
93 | QCOMPARE(exeSubdir, ctestSuite->name() == "fail" ? QStringLiteral("bin") : QString() ); | 93 | QCOMPARE(exeSubdir, ctestSuite->name() == "fail" ? QStringLiteral("bin") : QString() ); | ||
94 | QVERIFY(ctestSuite->properties().isEmpty()); | ||||
94 | } | 95 | } | ||
95 | } | 96 | } | ||
96 | 97 | | |||
Context not available. |