From 8ad3f314812136d37cbdb0d4eef65206d9171fac Mon Sep 17 00:00:00 2001 From: Wolfgang Beck Date: Fri, 23 Sep 2011 12:21:36 +1000 Subject: 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 Reviewed-by: Wolfgang Beck --- tests/auto/sensors2qmlapi/qdeclaccelerometer.h | 1 + tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/auto/sensors2qmlapi') 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); -- cgit v1.2.3