summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-07 02:01:04 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-07 10:27:28 +0200
commit3685728ba6952b236fe4a2ff6ddcdd6a1dfd210f (patch)
tree28d658518cea935506f57d24665466059821e02a /tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
parentea4dadfb3c04dcc460e4640a469ed0b942c129d3 (diff)
Replace Q_OS_OSX with Q_OS_MACOS
Pick-to: 6.5 6.6 Change-Id: I5cc3f37b69807c441db57600030b57bc71512bae Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp')
-rw-r--r--tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
index 5d1c2c1b..79abafa6 100644
--- a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
+++ b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
@@ -54,7 +54,7 @@ tst_QBluetoothServiceDiscoveryAgent::tst_QBluetoothServiceDiscoveryAgent()
if (androidBluetoothEmulator())
return;
// start Bluetooth if not started
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MACOS
QBluetoothLocalDevice *device = new QBluetoothLocalDevice();
localDeviceAvailable = device->isValid();
if (localDeviceAvailable) {
@@ -144,7 +144,7 @@ void tst_QBluetoothServiceDiscoveryAgent::tst_serviceDiscoveryStop()
void tst_QBluetoothServiceDiscoveryAgent::tst_invalidBtAddress()
{
-#ifdef Q_OS_OSX
+#ifdef Q_OS_MACOS
if (!localDeviceAvailable)
QSKIP("On OS X this test requires Bluetooth adapter in powered ON state");
#endif