diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-03-22 06:40:45 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-03-22 06:40:45 (GMT) |
commit | 6b366d4f26ed088f7edcc4b74f56cdbdc7a15024 (patch) | |
tree | 6736755ac3b4bad526db29ed29be2f61fcfa0886 /tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp | |
parent | 7706b14fbca90a339a4ed1e55549f100462f9df4 (diff) | |
download | Qt-6b366d4f26ed088f7edcc4b74f56cdbdc7a15024.zip Qt-6b366d4f26ed088f7edcc4b74f56cdbdc7a15024.tar.gz Qt-6b366d4f26ed088f7edcc4b74f56cdbdc7a15024.tar.bz2 |
Fixed inconsistent test naming.
TARGET and test class name should always match.
Backport 91ebcc413f0650ab235b93689776d4457bdbc80e from 4.7
Diffstat (limited to 'tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp')
-rw-r--r-- | tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp b/tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp index 4a11404..f4f6181 100644 --- a/tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp +++ b/tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp @@ -52,25 +52,25 @@ \since 4.5 \brief Test QtXmlPatterns test suite driver in tests/auto/xmlpatternsxqts/lib/. */ -class tst_XmlPatternsXSLTS : public tst_SuiteTest +class tst_XmlPatternsDiagnosticsTS : public tst_SuiteTest { Q_OBJECT public: - tst_XmlPatternsXSLTS(); + tst_XmlPatternsDiagnosticsTS(); protected: virtual void catalogPath(QString &write) const; }; -tst_XmlPatternsXSLTS::tst_XmlPatternsXSLTS() : tst_SuiteTest(tst_SuiteTest::XQuerySuite, true) +tst_XmlPatternsDiagnosticsTS::tst_XmlPatternsDiagnosticsTS() : tst_SuiteTest(tst_SuiteTest::XQuerySuite, true) { } -void tst_XmlPatternsXSLTS::catalogPath(QString &write) const +void tst_XmlPatternsDiagnosticsTS::catalogPath(QString &write) const { write = QLatin1String("TestSuite/DiagnosticsCatalog.xml"); } -QTEST_MAIN(tst_XmlPatternsXSLTS) +QTEST_MAIN(tst_XmlPatternsDiagnosticsTS) #include "tst_xmlpatternsdiagnosticsts.moc" #else |