summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <Timur.Pocheptsov@digia.com>2014-09-30 10:39:51 +0200
committerTimur Pocheptsov <Timur.Pocheptsov@digia.com>2014-09-30 14:15:13 +0200
commit3c98a82f2c1769578637b28658b124c5e1ee07c5 (patch)
treeb94e2d9d9d77b2171b13653e560c51b90d871a19 /tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
parentd66c466a135e4bebc293256f6ca361b287fd9bdb (diff)
QtBluetooth - service discovery test.
Run service discovery in 'FullDiscovery' mode (to make sure something is found at all on platforms where MinimalDiscovery works with cached results only). Change-Id: I33441dcba942ec3778b3d071ff90f64d483e497c Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp')
-rw-r--r--tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
index 5e832f2c..68887e38 100644
--- a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
+++ b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
@@ -380,7 +380,7 @@ void tst_QBluetoothServiceDiscoveryAgent::tst_serviceDiscovery()
connect(&discoveryAgent, SIGNAL(error(QBluetoothServiceDiscoveryAgent::Error)),
this, SLOT(serviceError(QBluetoothServiceDiscoveryAgent::Error)));
- discoveryAgent.start();
+ discoveryAgent.start(QBluetoothServiceDiscoveryAgent::FullDiscovery);
/*
* Either we wait for discovery agent to run its course (e.g. Bluez 4) or