private slots:
void initTestCase();
+#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
void qmlParser_data();
void qmlParser();
+#endif
private:
QStringList excludedDirs;
and ensures that the subnode's source locations are inside parent node's source locations
*/
+#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
void tst_qqmlparser::qmlParser_data()
{
QTest::addColumn<QString>("file");
foreach (const QString &file, files)
QTest::newRow(qPrintable(file)) << file;
}
+#endif
+#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
void tst_qqmlparser::qmlParser()
{
QFETCH(QString, file);
check::Check chk(&engine);
chk(parser.rootNode());
}
+#endif
QTEST_MAIN(tst_qqmlparser)