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

Method testKdeFrameworks

plugins/astyle/tests/test_astyle.cpp:331–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331void 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
345void TestAstyle::testKdeFrameworks_data()
346{

Callers

nothing calls this directly

Calls 2

formatSourceMethod · 0.80
predefinedStyleMethod · 0.45

Tested by

no test coverage detected