diff options
author | Wolfgang Beck <wolfgang.beck@nokia.com> | 2011-09-23 12:21:36 +1000 |
---|---|---|
committer | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2011-10-10 09:25:31 +1000 |
commit | 8ad3f314812136d37cbdb0d4eef65206d9171fac (patch) | |
tree | 7d53a6e5e2882bb5bdb3db78ee60d3668aed84ce /tests | |
parent | 4a3b4481ef9117965f68d7cf2ee0c5da940502f9 (diff) | |
download | qtsensors-8ad3f314812136d37cbdb0d4eef65206d9171fac.tar.gz |
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.h | 1 | ||||
-rw-r--r-- | tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/sensors2qmlapi/qdeclaccelerometer.h b/tests/auto/sensors2qmlapi/qdeclaccelerometer.h index 5842e01..0ec2061 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 a80b726..129dc96 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); |