summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-12-15 14:45:29 +1000
committerLorn Potter <lorn.potter@nokia.com>2010-12-15 14:45:29 +1000
commitede5fc331f7f6eeee9836d19ca378b628576370e (patch)
tree9c2b381a8794ba78ef1c5a8bc650ef81f6a245c4 /tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
parent1b3f8eea5091b4dcb9848c06ce03b8f38fa16fff (diff)
fix tests.
Diffstat (limited to 'tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp')
-rw-r--r--tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
index c8e2978762..5fd9fa489a 100644
--- a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
+++ b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
@@ -44,7 +44,10 @@
#include <QtTest/QtTest>
#include "qsysteminfo.h"
#include "../qsysteminfotestcommon.h"
+
+#ifdef TESTR
#include "qsysteminfo_simulator_p.h"
+#endif
QTM_USE_NAMESPACE
Q_DECLARE_METATYPE(QSystemDeviceInfo::BatteryStatus);