diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-30 19:17:01 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-01 14:48:57 +0200 |
commit | eda28d82e239c57533e73be622b26a3985fb86ce (patch) | |
tree | 6f18228de6944f2eca7a4d1a1a1f200f68c97f34 /tests | |
parent | 00cc61aa4e9d624dc4894afe819f7413a9204a68 (diff) |
Fix Qt6 build
Prepend namespace to text stream operands
and fix deprecated function and enum usage.
Change-Id: Ib9c74f940173f678d7c5af143cd2fd4e8da982e7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp index d8c80291..068db93d 100644 --- a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp +++ b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp @@ -152,21 +152,21 @@ void tst_QBluetoothDeviceInfo::tst_construction_data() QTest::newRow("0x000300 COD") << QBluetoothAddress("000000000000") << "My Bluetooth Device" << quint32(0x000300) << QBluetoothDeviceInfo::ServiceClasses(QBluetoothDeviceInfo::NoService) - << QBluetoothDeviceInfo::LANAccessDevice + << QBluetoothDeviceInfo::NetworkDevice << quint8(QBluetoothDeviceInfo::NetworkFullService) << QBluetoothDeviceInfo::BaseRateAndLowEnergyCoreConfiguration << leDeviceUuid; QTest::newRow("0x000320 COD") << QBluetoothAddress("000000000000") << "My Bluetooth Device" << quint32(0x000320) << QBluetoothDeviceInfo::ServiceClasses(QBluetoothDeviceInfo::NoService) - << QBluetoothDeviceInfo::LANAccessDevice + << QBluetoothDeviceInfo::NetworkDevice << quint8(QBluetoothDeviceInfo::NetworkLoadFactorOne) << QBluetoothDeviceInfo::BaseRateAndLowEnergyCoreConfiguration << leDeviceUuid; QTest::newRow("0x0003E0 COD") << QBluetoothAddress("000000000000") << "My Bluetooth Device" << quint32(0x0003E0) << QBluetoothDeviceInfo::ServiceClasses(QBluetoothDeviceInfo::NoService) - << QBluetoothDeviceInfo::LANAccessDevice + << QBluetoothDeviceInfo::NetworkDevice << quint8(QBluetoothDeviceInfo::NetworkNoService) << QBluetoothDeviceInfo::BaseRateAndLowEnergyCoreConfiguration << leDeviceUuid; |