Changed tests to work from install directory
authorSergio Ahumada <sergio.ahumada@nokia.com>
Wed, 30 May 2012 13:28:55 +0000 (15:28 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 31 May 2012 07:31:02 +0000 (09:31 +0200)
  - Changed tests to use TESTDATA

Change-Id: Iee07e4a98d2617e1bce4a3caaf67ea581479f3c7
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/qabstractxmlnodemodel/qabstractxmlnodemodel.pro
tests/auto/qxmlformatter/qxmlformatter.pro
tests/auto/qxmlquery/qxmlquery.pro

index 261c02a..f8b4df1 100644 (file)
@@ -6,6 +6,8 @@ SOURCES += tst_qabstractxmlnodemodel.cpp    \
            ../qxmlquery/TestFundament.cpp
 HEADERS += TestNodeModel.h LoadingModel.h
 
+TESTDATA = tree.xml
+
 include (../xmlpatterns.pri)
 
 wince*: {
index 71cf56d..6e9e262 100644 (file)
@@ -3,6 +3,8 @@ CONFIG += testcase
 QT += testlib
 SOURCES += tst_qxmlformatter.cpp
 
+TESTDATA = baselines/* input/*
+
 include (../xmlpatterns.pri)
 
 wince*:{
index 66e1158..392a588 100644 (file)
@@ -11,6 +11,8 @@ RESOURCES = input.qrc
 
 QT += network testlib
 
+TESTDATA = data/* pushBaselines/* input.xml
+
 wince* {
     DEFINES += SRCDIR=\\\"./\\\"
 } else {