summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlshadersplugin/qmlshadersplugin.pro
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-02-08 12:42:12 +0100
committerAndrew den Exter <andrew.den-exter@nokia.com>2012-02-09 05:58:14 +0100
commitb05039d5efcaec69d01d3737ccb5f0199765632b (patch)
tree162ad7dc2965087dc38e75e03e25031707309881 /tests/auto/declarative/qmlshadersplugin/qmlshadersplugin.pro
parent5217eddc405565f09340d5ff4a881d833c03a201 (diff)
Add QDeclarativeDataTest base class to locate test data.
- Remove TEST_FILE and TEST_DATA macros in favour of base class that uses QFINDTESTDATA to locate the data. This avoids repeated searching and handles Windows correctly (executables in release/debug subfolders). - Modeled after an existing class in the QtQuick2 tests (see qtdeclarative\tests\auto\shared\util.*). Change-Id: I9e595953328fb552648cef4c7f712d9000f53832 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qmlshadersplugin/qmlshadersplugin.pro')
-rw-r--r--tests/auto/declarative/qmlshadersplugin/qmlshadersplugin.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlshadersplugin/qmlshadersplugin.pro b/tests/auto/declarative/qmlshadersplugin/qmlshadersplugin.pro
index fdd2d784..252d8553 100644
--- a/tests/auto/declarative/qmlshadersplugin/qmlshadersplugin.pro
+++ b/tests/auto/declarative/qmlshadersplugin/qmlshadersplugin.pro
@@ -18,3 +18,5 @@ HEADERS += \
../../../../src/imports/shaders/shadereffect.h \
../../../../src/imports/shaders/shadereffectbuffer.h \
../../../../src/imports/shaders/scenegraph/qsggeometry.h
+
+include(../shared/qdeclarativedatatest.pri)