summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-12-02 15:16:43 +1000
committerLorn Potter <lorn.potter@nokia.com>2010-12-02 15:16:43 +1000
commit5fc8909a4367f0db3aeaa43d00deefc5a628cef7 (patch)
treefeda5e4b73220f2be4da3c9dd9b6556c109e93ba /tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
parent28ab85da94a11f639d25fb9ab33c8816d6ec3473 (diff)
parentdc73100a7bbdf5be98ff4d9240d5ec9987ce125c (diff)
Merge branch 'master' into test
Conflicts: src/systeminfo/qsystemdisplayinfo.cpp src/systeminfo/qsystemdisplayinfo.h
Diffstat (limited to 'tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp')
-rw-r--r--tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
index dfddafb3fe..03fad252db 100644
--- a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
+++ b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
@@ -143,8 +143,7 @@ private slots:
void tst_isWirelessKeyboardConnected();
void tst_isKeyboardFlipOpen();
void tst_keypadLightOn();
- void tst_backLightOn();
- void tst_hostId();
+ void tst_uniqueID();
void tst_lockStatus();
@@ -392,17 +391,10 @@ void tst_QSystemDeviceInfo::tst_keypadLightOn()
}
-void tst_QSystemDeviceInfo::tst_backLightOn()
+void tst_QSystemDeviceInfo::tst_uniqueID()
{
QSystemDeviceInfo di;
- bool on = di.backLightOn();
- QVERIFY(on || !on);
-}
-
-void tst_QSystemDeviceInfo::tst_hostId()
-{
- QSystemDeviceInfo di;
- QUuid id = di.hostId();
+ QUuid id = di.uniqueID();
QVERIFY(id.isNull()|| !id.isNull());
}