diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-10-17 16:12:01 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-10-17 16:12:01 +0200 |
commit | 27250b126ad12c9f356c748588f0a1b75f060dfb (patch) | |
tree | ea50fbf570ed0ed6526784289b156387ae663503 /tests | |
parent | 9917181fd3a321eefef6220e8f725b8f16e301ce (diff) | |
parent | 80aa0065775012f95201303d9c5ae3af8b63e1ae (diff) |
Merge "Merge remote-tracking branch 'gerrit/5.4' into btle" into refs/staging/btle
Diffstat (limited to 'tests')
-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 ea3c471c..74a27591 100644 --- a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp +++ b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp @@ -250,6 +250,8 @@ void tst_QBluetoothDeviceInfo::tst_construction() QBluetoothDeviceInfo deviceInfo; QVERIFY(!deviceInfo.isValid()); + QVERIFY(deviceInfo.coreConfigurations() + == QBluetoothDeviceInfo::UnknownCoreConfiguration); } { @@ -270,7 +272,7 @@ void tst_QBluetoothDeviceInfo::tst_construction() QCOMPARE(deviceInfo.serviceClasses(), serviceClasses); QCOMPARE(deviceInfo.majorDeviceClass(), majorDeviceClass); QCOMPARE(deviceInfo.minorDeviceClass(), minorDeviceClass); - QCOMPARE(deviceInfo.coreConfigurations(), QBluetoothDeviceInfo::BaseRateCoreConfiguration); + QCOMPARE(deviceInfo.coreConfigurations(), QBluetoothDeviceInfo::UnknownCoreConfiguration); deviceInfo.setCoreConfigurations(coreConfiguration); QCOMPARE(deviceInfo.coreConfigurations(), coreConfiguration); |