Changeset View
Changeset View
Standalone View
Standalone View
plugins/qmljs/tests/test_files.cpp
Show All 40 Lines | |||||
41 | // #include "cppjsontests.h" | 41 | // #include "cppjsontests.h" | ||
42 | 42 | | |||
43 | using namespace KDevelop; | 43 | using namespace KDevelop; | ||
44 | 44 | | |||
45 | QTEST_MAIN(TestFiles) | 45 | QTEST_MAIN(TestFiles) | ||
46 | 46 | | |||
47 | void TestFiles::initTestCase() | 47 | void TestFiles::initTestCase() | ||
48 | { | 48 | { | ||
49 | AutoTestShell::init({"kdevqmljslanguagesupport"}); | 49 | AutoTestShell::init({"kdevqmljs"}); | ||
50 | TestCore::initialize(KDevelop::Core::NoUi); | 50 | TestCore::initialize(KDevelop::Core::NoUi); | ||
51 | DUChain::self()->disablePersistentStorage(); | 51 | DUChain::self()->disablePersistentStorage(); | ||
52 | Core::self()->languageController()->backgroundParser()->setDelay(0); | 52 | Core::self()->languageController()->backgroundParser()->setDelay(0); | ||
53 | CodeRepresentation::setDiskChangesForbidden(true); | 53 | CodeRepresentation::setDiskChangesForbidden(true); | ||
54 | } | 54 | } | ||
55 | 55 | | |||
56 | void TestFiles::cleanupTestCase() | 56 | void TestFiles::cleanupTestCase() | ||
57 | { | 57 | { | ||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |