tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp
branchRCL_3
changeset 7 3f74d0d4af4c
parent 4 3b1da2848fc7
--- 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)