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

Method testIfElse

plugins/qmakemanager/parser/tests/scopetest.cpp:124–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void ScopeTest::testIfElse()
125{
126 QMake::Driver d;
127 d.setContent(QStringLiteral("isEmpty(foo) { A = 1 } else { B = 2 }\n"));
128 bool ret = d.parse(&ast);
129 QVERIFY(ret);
130}
131
132#include "moc_scopetest.cpp"

Callers

nothing calls this directly

Calls 2

setContentMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected