summaryrefslogtreecommitdiff
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 369acf4..9756389 100644
--- a/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
+++ b/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
@@ -64,9 +64,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()
{
@@ -85,7 +82,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;