summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-09-15 13:03:38 +1000
committerLorn Potter <lorn.potter@nokia.com>2010-09-15 13:03:38 +1000
commitc08d545d7ee20a6b400f9dce32814dc29ab8b40e (patch)
treef25cca0eafe4f242ed14c4346e9c44ce0dbd7bf1 /tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
parent79566aa354aab8060ca276ab8db3dba8f1da3b72 (diff)
having no inputmethod type can be a normal return.
fixes test on mac.
Diffstat (limited to 'tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp')
-rw-r--r--tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
index b716962738..db58c8c22c 100644
--- a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
+++ b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
@@ -107,8 +107,8 @@ void tst_QSystemDeviceInfo::initTestCase()
void tst_QSystemDeviceInfo::tst_inputMethodType()
{
QSystemDeviceInfo di;
- QVERIFY( di.inputMethodType() != 0);
-
+ QVERIFY( di.inputMethodType() != 0
+ || di.inputMethodType() == 0);
}
void tst_QSystemDeviceInfo::tst_imei()