Changeset View
Changeset View
Standalone View
Standalone View
plugins/custom-buildsystem/tests/test_custombuildsystemplugin.cpp
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
47 | QTEST_MAIN(TestCustomBuildSystemPlugin) | 47 | QTEST_MAIN(TestCustomBuildSystemPlugin) | ||
48 | 48 | | |||
49 | void TestCustomBuildSystemPlugin::cleanupTestCase() | 49 | void TestCustomBuildSystemPlugin::cleanupTestCase() | ||
50 | { | 50 | { | ||
51 | TestCore::shutdown(); | 51 | TestCore::shutdown(); | ||
52 | } | 52 | } | ||
53 | void TestCustomBuildSystemPlugin::initTestCase() | 53 | void TestCustomBuildSystemPlugin::initTestCase() | ||
54 | { | 54 | { | ||
55 | AutoTestShell::init({"kdevcustombuildsystem"}); | 55 | AutoTestShell::init({"KDevCustomBuildSystem", "KDevStandardOutputView"}); | ||
56 | TestCore::initialize(); | 56 | TestCore::initialize(); | ||
57 | } | 57 | } | ||
58 | 58 | | |||
59 | void TestCustomBuildSystemPlugin::loadSimpleProject() | 59 | void TestCustomBuildSystemPlugin::loadSimpleProject() | ||
60 | { | 60 | { | ||
61 | QUrl projecturl = QUrl::fromLocalFile( PROJECTS_SOURCE_DIR"/simpleproject/simpleproject.kdev4" ); | 61 | QUrl projecturl = QUrl::fromLocalFile( PROJECTS_SOURCE_DIR"/simpleproject/simpleproject.kdev4" ); | ||
62 | KDevSignalSpy* projectSpy = new KDevSignalSpy( ICore::self()->projectController(), SIGNAL(projectOpened(KDevelop::IProject*)) ); | 62 | KDevSignalSpy* projectSpy = new KDevSignalSpy( ICore::self()->projectController(), SIGNAL(projectOpened(KDevelop::IProject*)) ); | ||
63 | ICore::self()->projectController()->openProject( projecturl ); | 63 | ICore::self()->projectController()->openProject( projecturl ); | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |