Changeset View
Changeset View
Standalone View
Standalone View
languages/clang/tests/test_files.cpp
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Line(s) | 78 | { | |||
---|---|---|---|---|---|
86 | top->visit(validator); | 86 | top->visit(validator); | ||
87 | QVERIFY(validator.testsPassed()); | 87 | QVERIFY(validator.testsPassed()); | ||
88 | 88 | | |||
89 | foreach(auto problem, top->problems()) { | 89 | foreach(auto problem, top->problems()) { | ||
90 | qDebug() << problem; | 90 | qDebug() << problem; | ||
91 | } | 91 | } | ||
92 | 92 | | |||
93 | if (!QTest::currentDataTag() || strcmp("invalid.cpp", QTest::currentDataTag()) != 0) { | 93 | if (!QTest::currentDataTag() || strcmp("invalid.cpp", QTest::currentDataTag()) != 0) { | ||
94 | QEXPECT_FAIL("purec.c", "not working properly yet", Continue); | | |||
95 | QVERIFY(top->problems().isEmpty()); | 94 | QVERIFY(top->problems().isEmpty()); | ||
96 | } | 95 | } | ||
97 | } | 96 | } |