equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the test suite module of the Qt Toolkit. |
7 ** This file is part of the test suite module of the Qt Toolkit. |
8 ** |
8 ** |
194 |
194 |
195 QTest::newRow("A non-schema aware instance document") |
195 QTest::newRow("A non-schema aware instance document") |
196 << 1 |
196 << 1 |
197 << (QStringList() << QLatin1String("files/instance.xml")) |
197 << (QStringList() << QLatin1String("files/instance.xml")) |
198 << QString(); |
198 << QString(); |
|
199 |
|
200 QTest::newRow("A schema with an indirectly included type") |
|
201 << 0 |
|
202 << (QStringList() << QLatin1String("files/indirect-include-a.xsd")) |
|
203 << QString(); |
|
204 |
|
205 QTest::newRow("A schema with an indirectly imported type") |
|
206 << 0 |
|
207 << (QStringList() << QLatin1String("files/indirect-import-a.xsd")) |
|
208 << QString(); |
|
209 |
|
210 QTest::newRow("A schema with an indirectly redefined type") |
|
211 << 0 |
|
212 << (QStringList() << QLatin1String("files/indirect-redefine-a.xsd")) |
|
213 << QString(); |
199 } |
214 } |
200 |
215 |
201 QTEST_MAIN(tst_XmlPatternsValidator) |
216 QTEST_MAIN(tst_XmlPatternsValidator) |
202 |
217 |
203 #include "tst_xmlpatternsvalidator.moc" |
218 #include "tst_xmlpatternsvalidator.moc" |