From 50241cb82481de3dc9f5681532c3a8ddd381f894 Mon Sep 17 00:00:00 2001 From: Fabian Bumberger Date: Thu, 5 Sep 2013 16:58:46 +0200 Subject: Clean up QBluetoothDeviceInfo This patch removes "ManufacturerSpecificData" because it is not implemented and some dead code. Change-Id: I95a142280835addf65fbedd4a26f3266c7dc0838 Reviewed-by: Alex Blasche --- tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'tests') diff --git a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp index 64a65348..adc61199 100644 --- a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp +++ b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp @@ -73,8 +73,6 @@ private slots: void tst_serviceUuids(); void tst_cached(); - - void tst_manufacturerSpecificData(); }; tst_QBluetoothDeviceInfo::tst_QBluetoothDeviceInfo() @@ -375,16 +373,6 @@ void tst_QBluetoothDeviceInfo::tst_cached() QVERIFY(!(deviceInfo.isCached())); } -void tst_QBluetoothDeviceInfo::tst_manufacturerSpecificData() -{ - QBluetoothDeviceInfo deviceInfo; - QByteArray data; - bool available; - data = deviceInfo.manufacturerSpecificData(&available); - // Current API implementation returns only empty QByteArray() - QCOMPARE(data, QByteArray()); -} - QTEST_MAIN(tst_QBluetoothDeviceInfo) #include "tst_qbluetoothdeviceinfo.moc" -- cgit v1.2.3