tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 23 89e065397ea6
--- a/tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp	Fri Apr 16 15:50:13 2010 +0300
+++ b/tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp	Mon May 03 13:17:34 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)