summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2013-10-11 13:04:56 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2013-10-11 13:55:40 +0300
commit55bddbae5094552866d61194d9dc7ffdb8c526ef (patch)
treeec44bf45c1b8ccc36617153ed8e8d2492551e06a
parenta22a04dcc88ce5fe975288a6fd27e3f207950dc0 (diff)
Fix qmlcamera test
Change-Id: Ia8298dc2c343dd37a6066606979515d20c304384 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
-rw-r--r--tests/qmlcamera/qml/qmlcamera/main.qml2
-rw-r--r--tests/qmlcamera/qmlcamera.pro4
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/qmlcamera/qml/qmlcamera/main.qml b/tests/qmlcamera/qml/qmlcamera/main.qml
index 0518c1c8..72d2a45f 100644
--- a/tests/qmlcamera/qml/qmlcamera/main.qml
+++ b/tests/qmlcamera/qml/qmlcamera/main.qml
@@ -82,7 +82,7 @@ Item {
height: 298
minXValue: testChart.scene.activeCamera.minXRotation
minYValue: testChart.scene.activeCamera.minYRotation
- maxXValue: testChart.scene.activeCamera.maxYRotation
+ maxXValue: testChart.scene.activeCamera.maxXRotation
maxYValue: testChart.scene.activeCamera.maxYRotation
}
diff --git a/tests/qmlcamera/qmlcamera.pro b/tests/qmlcamera/qmlcamera.pro
index bc3a6953..374dc012 100644
--- a/tests/qmlcamera/qmlcamera.pro
+++ b/tests/qmlcamera/qmlcamera.pro
@@ -1,3 +1,7 @@
+!include( ../tests.pri ) {
+ error( "Couldn't find the tests.pri file!" )
+}
+
# Add more folders to ship with the application, here
folder_01.source = qml/qmlcamera
folder_01.target = qml