summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2012-05-30 15:28:55 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-31 09:31:02 +0200
commit77c42e348c7612eda948b57acce99965ac8df9f7 (patch)
treedce1dd25ae0362c2be7e9a818cde6f76573e5119 /tests/auto
parent8f01df64d2240f8230cd3bf1a9f14d2dfba147f9 (diff)
downloadqtxmlpatterns-77c42e348c7612eda948b57acce99965ac8df9f7.tar.gz
Changed tests to work from install directory
- Changed tests to use TESTDATA Change-Id: Iee07e4a98d2617e1bce4a3caaf67ea581479f3c7 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qabstractxmlnodemodel/qabstractxmlnodemodel.pro2
-rw-r--r--tests/auto/qxmlformatter/qxmlformatter.pro2
-rw-r--r--tests/auto/qxmlquery/qxmlquery.pro2
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qabstractxmlnodemodel/qabstractxmlnodemodel.pro b/tests/auto/qabstractxmlnodemodel/qabstractxmlnodemodel.pro
index 261c02a..f8b4df1 100644
--- a/tests/auto/qabstractxmlnodemodel/qabstractxmlnodemodel.pro
+++ b/tests/auto/qabstractxmlnodemodel/qabstractxmlnodemodel.pro
@@ -6,6 +6,8 @@ SOURCES += tst_qabstractxmlnodemodel.cpp \
../qxmlquery/TestFundament.cpp
HEADERS += TestNodeModel.h LoadingModel.h
+TESTDATA = tree.xml
+
include (../xmlpatterns.pri)
wince*: {
diff --git a/tests/auto/qxmlformatter/qxmlformatter.pro b/tests/auto/qxmlformatter/qxmlformatter.pro
index 71cf56d..6e9e262 100644
--- a/tests/auto/qxmlformatter/qxmlformatter.pro
+++ b/tests/auto/qxmlformatter/qxmlformatter.pro
@@ -3,6 +3,8 @@ CONFIG += testcase
QT += testlib
SOURCES += tst_qxmlformatter.cpp
+TESTDATA = baselines/* input/*
+
include (../xmlpatterns.pri)
wince*:{
diff --git a/tests/auto/qxmlquery/qxmlquery.pro b/tests/auto/qxmlquery/qxmlquery.pro
index 66e1158..392a588 100644
--- a/tests/auto/qxmlquery/qxmlquery.pro
+++ b/tests/auto/qxmlquery/qxmlquery.pro
@@ -11,6 +11,8 @@ RESOURCES = input.qrc
QT += network testlib
+TESTDATA = data/* pushBaselines/* input.xml
+
wince* {
DEFINES += SRCDIR=\\\"./\\\"
} else {