diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2010-09-15 13:03:38 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@nokia.com> | 2010-09-15 13:03:38 +1000 |
commit | c08d545d7ee20a6b400f9dce32814dc29ab8b40e (patch) | |
tree | f25cca0eafe4f242ed14c4346e9c44ce0dbd7bf1 /tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp | |
parent | 79566aa354aab8060ca276ab8db3dba8f1da3b72 (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.cpp | 4 |
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() |