diff -r dee5afe5301f -r 3f74d0d4af4c tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp --- a/tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp Mon Mar 15 12:43:09 2010 +0200 +++ b/tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp Thu Apr 08 14:19:33 2010 +0300 @@ -196,6 +196,21 @@ << 1 << (QStringList() << QLatin1String("files/instance.xml")) << QString(); + + QTest::newRow("A schema with an indirectly included type") + << 0 + << (QStringList() << QLatin1String("files/indirect-include-a.xsd")) + << QString(); + + QTest::newRow("A schema with an indirectly imported type") + << 0 + << (QStringList() << QLatin1String("files/indirect-import-a.xsd")) + << QString(); + + QTest::newRow("A schema with an indirectly redefined type") + << 0 + << (QStringList() << QLatin1String("files/indirect-redefine-a.xsd")) + << QString(); } QTEST_MAIN(tst_XmlPatternsValidator)