Commit a027130e authored by Oliver Wolff's avatar Oliver Wolff
Browse files

winrt: Fix tst_QBluetoothServer


We cannot obtain information about local bluetooth devices
on winrt.

Change-Id: I7805b68bff38a2a2d049619742880db5bd8d3cef
Reviewed-by: default avatarAlex Blasche <alexander.blasche@qt.io>
parent ff9eb8b1
Branches
Tags
No related merge requests found
Showing with 2 additions and 0 deletions
...@@ -217,7 +217,9 @@ void tst_QBluetoothServer::tst_receive() ...@@ -217,7 +217,9 @@ void tst_QBluetoothServer::tst_receive()
QVERIFY(result); QVERIFY(result);
#ifndef Q_OS_WINRT
QVERIFY(QBluetoothLocalDevice::allDevices().count()); QVERIFY(QBluetoothLocalDevice::allDevices().count());
#endif
QCOMPARE(server.error(), QBluetoothServer::NoError); QCOMPARE(server.error(), QBluetoothServer::NoError);
QCOMPARE(server.serverAddress(), address); QCOMPARE(server.serverAddress(), address);
QCOMPARE(server.serverPort(), quint16(20)); QCOMPARE(server.serverPort(), quint16(20));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment