| 329 | } |
| 330 | |
| 331 | void TestAstyle::testKdeFrameworks() |
| 332 | { |
| 333 | AStyleFormatter formatter; |
| 334 | QVERIFY(formatter.predefinedStyle("KDELibs")); |
| 335 | |
| 336 | QFETCH(QString, initial); |
| 337 | QFETCH(QString, leftContext); |
| 338 | QFETCH(QString, rightContext); |
| 339 | QFETCH(QString, expected); |
| 340 | |
| 341 | const QString formatted = formatter.formatSource(initial, leftContext, rightContext); |
| 342 | QCOMPARE(formatted, expected); |
| 343 | } |
| 344 | |
| 345 | void TestAstyle::testKdeFrameworks_data() |
| 346 | { |
nothing calls this directly
no test coverage detected