summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xmlpatternsxqts/tst_suitetest.cpp')
-rw-r--r--tests/auto/xmlpatternsxqts/tst_suitetest.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/auto/xmlpatternsxqts/tst_suitetest.cpp b/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
index 76b7893..19adc0b 100644
--- a/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
+++ b/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
@@ -66,9 +66,6 @@ tst_SuiteTest::tst_SuiteTest(const SuiteType suiteType,
/*!
Returns an absolute path to the XQTS catalog, or flags a failure using
QTestLib's mechanisms.
-
- Finding the location of the catalog is done with `p4 where` such that we don't have
- to care about where it is checked out.
*/
void tst_SuiteTest::initTestCase()
{
@@ -87,7 +84,7 @@ void tst_SuiteTest::runTestSuite() const
const QFileInfo fi(m_catalogPath);
const QUrl catalogPath(QUrl::fromLocalFile(fi.absoluteFilePath()));
- TestSuite::SuiteType suiteType;
+ TestSuite::SuiteType suiteType(TestSuite::XQuerySuite);
switch (m_suiteType) {
case XQuerySuite:
suiteType = TestSuite::XQuerySuite;