Changeset View
Changeset View
Standalone View
Standalone View
plugins/qmljs/duchain/tests/test_qmljsdeclarations.cpp
Show All 38 Lines | |||||
39 | #include <QTest> | 39 | #include <QTest> | ||
40 | 40 | | |||
41 | QTEST_GUILESS_MAIN(TestDeclarations); | 41 | QTEST_GUILESS_MAIN(TestDeclarations); | ||
42 | 42 | | |||
43 | using namespace KDevelop; | 43 | using namespace KDevelop; | ||
44 | 44 | | |||
45 | void TestDeclarations::initTestCase() | 45 | void TestDeclarations::initTestCase() | ||
46 | { | 46 | { | ||
47 | AutoTestShell::init({"kdevqmljslanguagesupport"}); | 47 | AutoTestShell::init({"kdevqmljs"}); | ||
48 | TestCore::initialize(Core::NoUi); | 48 | TestCore::initialize(Core::NoUi); | ||
49 | 49 | | |||
50 | QmlJS::registerDUChainItems(); | 50 | QmlJS::registerDUChainItems(); | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | void TestDeclarations::cleanupTestCase() | 53 | void TestDeclarations::cleanupTestCase() | ||
54 | { | 54 | { | ||
55 | TestCore::shutdown(); | 55 | TestCore::shutdown(); | ||
▲ Show 20 Lines • Show All 234 Lines • Show Last 20 Lines |