Changeset View
Changeset View
Standalone View
Standalone View
autotests/htmlhighlighter_test.cpp
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | |||||
45 | private: | 45 | private: | ||
46 | Repository *m_repo; | 46 | Repository *m_repo; | ||
47 | 47 | | |||
48 | private Q_SLOTS: | 48 | private Q_SLOTS: | ||
49 | void initTestCase() | 49 | void initTestCase() | ||
50 | { | 50 | { | ||
51 | QStandardPaths::enableTestMode(true); | 51 | QStandardPaths::enableTestMode(true); | ||
52 | m_repo = new Repository; | 52 | m_repo = new Repository; | ||
53 | initRepositorySearchPaths(*m_repo); | ||||
53 | } | 54 | } | ||
54 | 55 | | |||
55 | void cleanupTestCase() | 56 | void cleanupTestCase() | ||
56 | { | 57 | { | ||
57 | delete m_repo; | 58 | delete m_repo; | ||
58 | m_repo = nullptr; | 59 | m_repo = nullptr; | ||
59 | } | 60 | } | ||
60 | 61 | | |||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |