summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-10-04 14:46:23 +1000
committerLorn Potter <lorn.potter@nokia.com>2010-10-04 14:46:23 +1000
commit13c13fc036247a49ef845ccb6162a2990f5ffbd3 (patch)
tree6503657ce24355fab82af90d605c457e01acd8ca /tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
parent1a8164b30ee1ff600f8052da1d24f604903afdf7 (diff)
make hostId return a QUuid
Diffstat (limited to 'tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp')
-rw-r--r--tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
index 4ecb9a8242..7c58054bdd 100644
--- a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
+++ b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
@@ -291,9 +291,8 @@ void tst_QSystemDeviceInfo::tst_backLightOn()
void tst_QSystemDeviceInfo::tst_hostId()
{
QSystemDeviceInfo di;
- quint64 id = di.hostId();
- qDebug() << id;
- QVERIFY(id == 0 || id > 0);
+ QUuid id = di.hostId();
+ QVERIFY(id.isNull()|| !id.isNull());
}
QTEST_MAIN(tst_QSystemDeviceInfo)