Changeset View
Changeset View
Standalone View
Standalone View
autotests/highlighter_benchmark.cpp
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | |||||
62 | 62 | | |||
63 | private: | 63 | private: | ||
64 | Repository *m_repo; | 64 | Repository *m_repo; | ||
65 | 65 | | |||
66 | private Q_SLOTS: | 66 | private Q_SLOTS: | ||
67 | void initTestCase() | 67 | void initTestCase() | ||
68 | { | 68 | { | ||
69 | m_repo = new Repository; | 69 | m_repo = new Repository; | ||
70 | initRepositorySearchPaths(*m_repo); | ||||
70 | } | 71 | } | ||
71 | 72 | | |||
72 | void cleanupTestCase() | 73 | void cleanupTestCase() | ||
73 | { | 74 | { | ||
74 | delete m_repo; | 75 | delete m_repo; | ||
75 | m_repo = nullptr; | 76 | m_repo = nullptr; | ||
76 | } | 77 | } | ||
77 | 78 | | |||
Show All 31 Lines |