| 16 | TestAstyle::~TestAstyle() = default; |
| 17 | |
| 18 | void 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 | |
| 28 | void TestAstyle::renameVariable() |
| 29 | { |
nothing calls this directly
no test coverage detected