equal
deleted
inserted
replaced
50 \class tst_XmlPatternsDiagnosticsTS |
50 \class tst_XmlPatternsDiagnosticsTS |
51 \internal |
51 \internal |
52 \since 4.5 |
52 \since 4.5 |
53 \brief Test QtXmlPatterns test suite driver in tests/auto/xmlpatternsxqts/lib/. |
53 \brief Test QtXmlPatterns test suite driver in tests/auto/xmlpatternsxqts/lib/. |
54 */ |
54 */ |
55 class tst_XmlPatternsXSLTS : public tst_SuiteTest |
55 class tst_XmlPatternsDiagnosticsTS : public tst_SuiteTest |
56 { |
56 { |
57 Q_OBJECT |
57 Q_OBJECT |
58 public: |
58 public: |
59 tst_XmlPatternsXSLTS(); |
59 tst_XmlPatternsDiagnosticsTS(); |
60 protected: |
60 protected: |
61 virtual void catalogPath(QString &write) const; |
61 virtual void catalogPath(QString &write) const; |
62 }; |
62 }; |
63 |
63 |
64 tst_XmlPatternsXSLTS::tst_XmlPatternsXSLTS() : tst_SuiteTest(tst_SuiteTest::XQuerySuite, true) |
64 tst_XmlPatternsDiagnosticsTS::tst_XmlPatternsDiagnosticsTS() : tst_SuiteTest(tst_SuiteTest::XQuerySuite, true) |
65 { |
65 { |
66 } |
66 } |
67 |
67 |
68 void tst_XmlPatternsXSLTS::catalogPath(QString &write) const |
68 void tst_XmlPatternsDiagnosticsTS::catalogPath(QString &write) const |
69 { |
69 { |
70 write = QLatin1String("TestSuite/DiagnosticsCatalog.xml"); |
70 write = QLatin1String("TestSuite/DiagnosticsCatalog.xml"); |
71 } |
71 } |
72 |
72 |
73 QTEST_MAIN(tst_XmlPatternsXSLTS) |
73 QTEST_MAIN(tst_XmlPatternsDiagnosticsTS) |
74 |
74 |
75 #include "tst_xmlpatternsdiagnosticsts.moc" |
75 #include "tst_xmlpatternsdiagnosticsts.moc" |
76 #else |
76 #else |
77 QTEST_NOOP_MAIN |
77 QTEST_NOOP_MAIN |
78 #endif |
78 #endif |