diff options
author | Nedim Hadzic <nhadzic@blackberry.com> | 2014-03-20 12:08:08 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-25 11:46:14 +0100 |
commit | ec4aa0bcb592e9668b0767906157a1a51915d76c (patch) | |
tree | a3670134427ed8191a247d44031dcdb7135ba212 /tests/auto/qbluetoothservicediscoveryagent | |
parent | 5c9d111edbdf73a4875bcf9ea02a3057659f7730 (diff) |
Added and improved error handling in controller class
Error enums added and implemented together with examples.
Change-Id: I912c396080ee9a6b87f41104eb7e41f8c62abf8b
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/qbluetoothservicediscoveryagent')
-rw-r--r-- | tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp index d7a6a6ef..20a38772 100644 --- a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp +++ b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp @@ -505,6 +505,7 @@ void tst_QBluetoothServiceDiscoveryAgent::tst_serviceDiscovery() QVERIFY(info.isValid()); QCOMPARE(leController.errorString(), QString()); + QCOMPARE(leController.error(), QLowEnergyController::NoError); QVERIFY((info.characteristics().size() > 0)); qDebug() << "LE Service Connected: " << info.serviceName() << info.serviceUuid(); leTestCounter++; |