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

Method testSeverity

plugins/clang/tests/test_problems.cpp:489–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489void TestProblems::testSeverity()
490{
491 QFETCH(QByteArray, code);
492 QFETCH(IProblem::Severity, severity);
493
494 const auto problems = parse(code);
495 QCOMPARE(problems.size(), 1);
496 QCOMPARE(problems.at(0)->severity(), severity);
497}
498
499void TestProblems::testSeverity_data()
500{

Callers

nothing calls this directly

Calls 4

parseFunction · 0.70
sizeMethod · 0.45
severityMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected