diff options
author | alex <alex.blasche@nokia.com> | 2012-02-07 16:59:47 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-08 14:01:13 +0100 |
commit | 09defae552883e1d673021772e51fdce81838560 (patch) | |
tree | 775409288b3b3178d60556be6d9d9d2b9f49616d /tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp | |
parent | 79095c3fbc97abd0138b91bb1833628f1d09fdad (diff) |
No more Bluetooth on Symbian
This change cleans the code base significantly.
Change-Id: I668d05d72cf5aa896818139e2daba51909c0b9dd
Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com>
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp')
-rw-r--r-- | tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp b/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp index 3520d6be..512f4d7d 100644 --- a/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp +++ b/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp @@ -60,9 +60,6 @@ Q_DECLARE_METATYPE(QBluetoothSocket::SocketType) //#define BTADDRESS "00:1A:9F:92:9E:5A" char BTADDRESS[] = "00:00:00:00:00:00"; -#ifdef Q_OS_SYMBIAN -static const QString peerNameSymbian("Patagonia_bluetooth_client"); -#endif // Max time to wait for connection @@ -675,7 +672,6 @@ void tst_QBluetoothSocket::tst_localPeer() QFETCH(quint16, peerPort); Q_UNUSED(peerPort) -#ifndef Q_OS_SYMBIAN QStringList args; args << "name" << peerAddress.toString(); QProcess *hcitool = new QProcess(); @@ -684,7 +680,6 @@ void tst_QBluetoothSocket::tst_localPeer() QString peerNameHCI = hcitool->readLine().trimmed(); hcitool->close(); delete hcitool; -#endif /* Construction */ @@ -729,11 +724,7 @@ void tst_QBluetoothSocket::tst_localPeer() QCOMPARE(socket->localName(), list[2]); QCOMPARE(socket->localAddress(), QBluetoothAddress(list[3])); QCOMPARE(socket->localPort(), list[4].toUShort()); -#ifndef Q_OS_SYMBIAN QCOMPARE(socket->peerName(), peerNameHCI); -#else - QCOMPARE(socket->peerName(), peerNameSymbian); -#endif /* Disconnection */ QSignalSpy disconnectedSpy(socket, SIGNAL(disconnected())); |