summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtmsensor/test_sensor_wrapper.h
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2011-08-23 11:24:22 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-25 07:59:15 +0200
commit7cd6a4db67cccad64e6e0965654b30353ab35d3b (patch)
tree8ece9bed05eb6a2626b2ba170cc172ffc637a005 /tests/auto/qtmsensor/test_sensor_wrapper.h
parent8b618a4bcc045c9298c219cad9b88902616134a3 (diff)
Add a unit test for QtmSensors.
As parts of the QtSensors unit test are re-used, they must be updated to include the correct headers. Change-Id: I189eb74fe312f74cfbe9e1fb605ac047bc9bdfbb Reviewed-on: http://codereview.qt.nokia.com/3349 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
Diffstat (limited to 'tests/auto/qtmsensor/test_sensor_wrapper.h')
-rw-r--r--tests/auto/qtmsensor/test_sensor_wrapper.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qtmsensor/test_sensor_wrapper.h b/tests/auto/qtmsensor/test_sensor_wrapper.h
new file mode 100644
index 00000000..adfc6c22
--- /dev/null
+++ b/tests/auto/qtmsensor/test_sensor_wrapper.h
@@ -0,0 +1,14 @@
+#ifndef TEST_SENSOR_WRAPPER_H
+#define TEST_SENSOR_WRAPPER_H
+
+#include <private/backendwrapper_p.h>
+#include "../qsensor/test_sensor.h"
+#include "test_sensor_qtm.h"
+
+QTM_BEGIN_NAMESPACE
+
+DECLARE_WRAPPER(TestSensor, TestSensorReading)
+
+QTM_END_NAMESPACE
+
+#endif