Commit 1f62708c authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

xmlpatternsdiagnosticsts test: use correct baseline


At least on OS X, the test would use the baseline of xmlpatternsxqts
since that's where tst_suitetest.h is. QFINDTESTDATA would then resolve
Baseline.xml relative to that.

Change-Id: I860d7e3143365b33901f721caed813d4d594f28d
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@theqtcompany.com>
Showing with 3 additions and 2 deletions
......@@ -55,6 +55,7 @@ protected:
tst_XmlPatternsDiagnosticsTS::tst_XmlPatternsDiagnosticsTS() : tst_SuiteTest(tst_SuiteTest::XQuerySuite, true)
{
m_existingBaseline = QFINDTESTDATA("Baseline.xml");
}
void tst_XmlPatternsDiagnosticsTS::catalogPath(QString &write) const
......
......@@ -83,12 +83,12 @@ private Q_SLOTS:
void runTestSuite() const;
void checkTestSuiteResult() const;
private:
protected:
/**
* An absolute path to the catalog.
*/
QString m_catalogPath;
const QString m_existingBaseline;
QString m_existingBaseline;
const QString m_candidateBaseline;
const bool m_abortRun;
const SuiteType m_suiteType;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment