Changeset View
Changeset View
Standalone View
Standalone View
plugins/cmake/tests/test_ctestfindsuites.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 46 | { | |||
---|---|---|---|---|---|
48 | for(int i = 0; testController->testSuitesForProject(project).size() < count && i < max * 10; ++i) { | 48 | for(int i = 0; testController->testSuitesForProject(project).size() < count && i < max * 10; ++i) { | ||
49 | QSignalSpy spy(testController, &ITestController::testSuiteAdded); | 49 | QSignalSpy spy(testController, &ITestController::testSuiteAdded); | ||
50 | QVERIFY(spy.wait(1000)); | 50 | QVERIFY(spy.wait(1000)); | ||
51 | } | 51 | } | ||
52 | } | 52 | } | ||
53 | 53 | | |||
54 | void TestCTestFindSuites::initTestCase() | 54 | void TestCTestFindSuites::initTestCase() | ||
55 | { | 55 | { | ||
56 | AutoTestShell::init({"kdevcmakemanager"}); | 56 | AutoTestShell::init({"KDevCMakeManager", "KDevCMakeBuilder", "KDevMakeBuilder", "KDevStandardOutputView"}); | ||
57 | TestCore::initialize(); | 57 | TestCore::initialize(); | ||
58 | 58 | | |||
59 | cleanup(); | 59 | cleanup(); | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | void TestCTestFindSuites::cleanup() | 62 | void TestCTestFindSuites::cleanup() | ||
63 | { | 63 | { | ||
64 | foreach(IProject* p, ICore::self()->projectController()->projects()) { | 64 | foreach(IProject* p, ICore::self()->projectController()->projects()) { | ||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |