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

Method testNoProblems

plugins/clang/tests/test_problems.cpp:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void TestProblems::testNoProblems()
97{
98 const QByteArray code = "int main() {}";
99 auto problems = parse(code);
100 QCOMPARE(problems.size(), 0);
101}
102
103void TestProblems::testBasicProblems()
104{

Callers

nothing calls this directly

Calls 2

parseFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected