MCPcopy Create free account
hub / github.com/KDE/kdevelop / initTestCase

Method initTestCase

plugins/astyle/tests/test_astyle.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16TestAstyle::~TestAstyle() = default;
17
18void TestAstyle::initTestCase()
19{
20 QStandardPaths::setTestModeEnabled(true);
21 m_formatter = std::make_unique<AStyleFormatter>();
22 ///TODO: probably all settings should be covered by tests
23 /// or at least set so we can be sure about what we
24 /// actually test...
25 m_formatter->setSpaceIndentationNoConversion(4);
26}
27
28void TestAstyle::renameVariable()
29{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected