summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWolfgang Beck <wolfgang.beck@nokia.com>2011-09-23 12:21:36 +1000
committerLincoln Ramsay <lincoln.ramsay@nokia.com>2011-10-10 09:25:31 +1000
commit8ad3f314812136d37cbdb0d4eef65206d9171fac (patch)
tree7d53a6e5e2882bb5bdb3db78ee60d3668aed84ce /tests
parent4a3b4481ef9117965f68d7cf2ee0c5da940502f9 (diff)
MTMW-339 Make new QML API unit test quiter
Change-Id: Ibb417d21f6353d932fb84f136c62223ed2ea71f2 Reviewed-on: http://codereview.qt-project.org/5422 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/sensors2qmlapi/qdeclaccelerometer.h1
-rw-r--r--tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/sensors2qmlapi/qdeclaccelerometer.h b/tests/auto/sensors2qmlapi/qdeclaccelerometer.h
index 5842e01f..0ec2061f 100644
--- a/tests/auto/sensors2qmlapi/qdeclaccelerometer.h
+++ b/tests/auto/sensors2qmlapi/qdeclaccelerometer.h
@@ -54,6 +54,7 @@ public:
, _active(false)
, _sensor(sensor)
{
+ this->addDataRate(10, 50);
}
virtual ~QDeclAccelerometer() {}
diff --git a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp
index a80b7263..129dc963 100644
--- a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp
+++ b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp
@@ -211,8 +211,6 @@ void tst_Sensors2QMLAPI::testTilt()
QFETCH(int, xRotation);
QFETCH(int, yRotation);
- qDebug() << "check pos: " << pos << " x: " << x << " y: " << y << " z: " << z << " xRot: " << xRotation << " yRot: " << yRotation;
-
if (!_tilt)
_tilt = new QSensor2Tilt(this);