| 185 | } |
| 186 | |
| 187 | void TestAstyle::testMacroFormatting() |
| 188 | { |
| 189 | AStyleFormatter fmt; |
| 190 | fmt.setSpaceIndentationNoConversion(2); |
| 191 | fmt.setPreprocessorIndent(true); |
| 192 | QString formatted = fmt.formatSource(QStringLiteral("#define asdf\\\nfoobar\n")); |
| 193 | QCOMPARE(formatted, QString("#define asdf\\\n foobar\n")); |
| 194 | } |
| 195 | |
| 196 | void TestAstyle::testContext() |
| 197 | { |
nothing calls this directly
no test coverage detected