Changeset View
Changeset View
Standalone View
Standalone View
autotests/syntaxrepository_test.cpp
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 55 | { | |||
---|---|---|---|---|---|
56 | Q_OBJECT | 56 | Q_OBJECT | ||
57 | private: | 57 | private: | ||
58 | Repository m_repo; | 58 | Repository m_repo; | ||
59 | 59 | | |||
60 | private Q_SLOTS: | 60 | private Q_SLOTS: | ||
61 | void initTestCase() | 61 | void initTestCase() | ||
62 | { | 62 | { | ||
63 | QStandardPaths::enableTestMode(true); | 63 | QStandardPaths::enableTestMode(true); | ||
64 | initRepositorySearchPaths(m_repo); | ||||
64 | } | 65 | } | ||
65 | 66 | | |||
66 | void testDefinitionByExtension_data() | 67 | void testDefinitionByExtension_data() | ||
67 | { | 68 | { | ||
68 | QTest::addColumn<QString>("fileName"); | 69 | QTest::addColumn<QString>("fileName"); | ||
69 | QTest::addColumn<QString>("defName"); | 70 | QTest::addColumn<QString>("defName"); | ||
70 | 71 | | |||
71 | QTest::newRow("empty") << QString() << QString(); | 72 | QTest::newRow("empty") << QString() << QString(); | ||
▲ Show 20 Lines • Show All 300 Lines • Show Last 20 Lines |