QtXmlPatterns-test: Use QFINDTESTDATA to locate test data.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 21 Dec 2011 15:54:05 +0000 (16:54 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 22 Dec 2011 09:50:32 +0000 (10:50 +0100)
commitd8370adf6bed002f53692f36db8e47f3a8fb7555
tree7984c400d6cf62a52cc422e6d32b63125846dbea
parentbfac7b0e29198e537a57991b517080fe4ac5f23f
QtXmlPatterns-test: Use QFINDTESTDATA to locate test data.

Introduce QFINDTESTDATA and set the current directory
of the process to the test directory such that it works
indepently of the working directory of executable location.

Change-Id: I8105ba0fa7d9da7ff920d10f3a083433e2590e9f
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Honglei Zhang <honglei.zhang@nokia.com>
tests/auto/qabstractxmlnodemodel/tst_qabstractxmlnodemodel.cpp
tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp
tests/auto/xmlpatternsschemats/tst_xmlpatternsschemats.cpp
tests/auto/xmlpatternsxslts/tst_xmlpatternsxslts.cpp