Changeset View
Changeset View
Standalone View
Standalone View
documentation/qthelp/tests/test_qthelpplugin.cpp
Show All 35 Lines | |||||
36 | 36 | | |||
37 | const QString VALID1 = QTHELP_FILES "/valid1.qch"; | 37 | const QString VALID1 = QTHELP_FILES "/valid1.qch"; | ||
38 | const QString VALID2 = QTHELP_FILES "/valid2.qch"; | 38 | const QString VALID2 = QTHELP_FILES "/valid2.qch"; | ||
39 | const QString INVALID = QTHELP_FILES "/invalid.qch"; | 39 | const QString INVALID = QTHELP_FILES "/invalid.qch"; | ||
40 | 40 | | |||
41 | QTEST_MAIN(TestQtHelpPlugin) | 41 | QTEST_MAIN(TestQtHelpPlugin) | ||
42 | using namespace KDevelop; | 42 | using namespace KDevelop; | ||
43 | 43 | | |||
44 | TestQtHelpPlugin::TestQtHelpPlugin() | 44 | TestQtHelpPlugin::TestQtHelpPlugin() | ||
45 | : m_testCore(nullptr) | ||||
46 | , m_plugin(nullptr) | ||||
brauch: use the
foo()
: m_foo(...)
, m_bar(...)
formatting please | |||||
45 | { | 47 | { | ||
46 | } | 48 | } | ||
47 | 49 | | |||
48 | void TestQtHelpPlugin::initTestCase() | 50 | void TestQtHelpPlugin::initTestCase() | ||
49 | { | 51 | { | ||
50 | AutoTestShell::init({"kdevqthelp"}); | 52 | AutoTestShell::init({"kdevqthelp"}); | ||
51 | m_testCore = new TestCore(); | 53 | m_testCore = new TestCore(); | ||
52 | m_testCore->initialize(); | 54 | m_testCore->initialize(); | ||
▲ Show 20 Lines • Show All 201 Lines • Show Last 20 Lines |
use the
foo()
: m_foo(...)
, m_bar(...)
formatting please