summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2011-11-03 16:18:43 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-03 09:00:30 +0100
commit9442cf7a41db9fb7a2c8381dc65cf27eb69d67d1 (patch)
treee14326de6c9ffe242f4e4d4f136d23a24ec92b97 /tests/auto
parent3980ab479ab08cdd5f1c6c16e4178d1e7d3cf80d (diff)
make sure recognizers do not need plugin
Change-Id: Id3deaca92019c964d0d093cc2b04bf1eb043fbbf Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp b/tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp
index 25033751..56528ef9 100644
--- a/tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp
+++ b/tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp
@@ -266,7 +266,6 @@ void Tst_qsensorgestureTest::tst_manager_registerSensorGestureRecognizer()
ok = manager.registerSensorGestureRecognizer(recognizer);
QCOMPARE(ok, false);
QVERIFY(num+1 == manager.gestureIds().count());
-
}
void Tst_qsensorgestureTest::tst_manager__newSensorAvailable()
@@ -295,6 +294,10 @@ void Tst_qsensorgestureTest::tst_manager__newSensorAvailable()
QCOMPARE(ok, false);
QCOMPARE(spy_manager_available.count(),1);
QCOMPARE(spy_manager2_available.count(),1);
+
+ QSensorGesture *test4sg;
+ test4sg = new QSensorGesture(QStringList() << "QtSensors.test4",this);
+ QVERIFY(test4sg->isValid());
}