diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-02-20 11:17:15 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-20 16:34:57 +0100 |
commit | d7ede7441beba324272a2ac89a8d3673d09530c8 (patch) | |
tree | 530e0ea8d885c7ad7aacc7b2b221fc603d810b0c | |
parent | cb51442e0cc5be13eb532430446bf4cfdf96ebf5 (diff) |
Fix broken QBluetoothDeviceInfo unit test.
Change-Id: I1252a0c78f2b7026041a992bdb1deec3391386cc
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r-- | tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp index 371a7bf7..6b99639e 100644 --- a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp +++ b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp @@ -278,10 +278,12 @@ void tst_QBluetoothDeviceInfo::tst_construction() QCOMPARE(deviceInfo.serviceClasses(), serviceClasses); QCOMPARE(deviceInfo.majorDeviceClass(), majorDeviceClass); QCOMPARE(deviceInfo.minorDeviceClass(), minorDeviceClass); + QCOMPARE(deviceInfo.coreConfiguration(), QBluetoothDeviceInfo::BaseRateCoreConfiguration); + + deviceInfo.setCoreConfiguration(coreConfiguration); QCOMPARE(deviceInfo.coreConfiguration(), coreConfiguration); QBluetoothDeviceInfo copyInfo(deviceInfo); - QVERIFY(copyInfo.isValid()); QCOMPARE(copyInfo.address(), address); |