summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-01-17 19:07:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-01-17 19:07:59 +0000
commit65f6ad532128008492a4903b48da4463dc6ed3c5 (patch)
tree99bab395f38c1eed4d4ba1d9669b0c029fe39d03
parent5d85709b78e62c1a8c285ae86f1cceb396cd17cd (diff)
parentb35f449c517d70b5d33a675b14c523dc0720f837 (diff)
downloadplatform_tools_test_connectivity-65f6ad532128008492a4903b48da4463dc6ed3c5.tar.gz
platform_tools_test_connectivity-65f6ad532128008492a4903b48da4463dc6ed3c5.tar.bz2
platform_tools_test_connectivity-65f6ad532128008492a4903b48da4463dc6ed3c5.zip
Merge "Add TestTracker UUIDs to BleScanApiTest"
-rw-r--r--acts/tests/google/ble/api/BleScanApiTest.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/acts/tests/google/ble/api/BleScanApiTest.py b/acts/tests/google/ble/api/BleScanApiTest.py
index 148033ef90..4c43a76c56 100644
--- a/acts/tests/google/ble/api/BleScanApiTest.py
+++ b/acts/tests/google/ble/api/BleScanApiTest.py
@@ -21,6 +21,7 @@ then other test suites utilising Ble Scanner will also fail.
"""
from acts.controllers import sl4a_client
+from acts.test_decorators import test_tracker_info
from acts.test_utils.bt.BluetoothBaseTest import BluetoothBaseTest
from acts.test_utils.bt.BleEnum import ScanSettingsCallbackType
from acts.test_utils.bt.BleEnum import ScanSettingsScanMode
@@ -214,6 +215,7 @@ class BleScanApiTest(BluetoothBaseTest):
return True
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='5ffc9f7b-c261-4bf0-9a6b-7fda182b6c97')
def test_start_ble_scan_with_default_settings(self):
"""Test LE scan with default settings.
@@ -237,6 +239,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='88c3b0cb-b4d4-45d1-be25-9855290a6d03')
def test_stop_ble_scan_default_settings(self):
"""Test stopping an LE scan.
@@ -274,6 +277,7 @@ class BleScanApiTest(BluetoothBaseTest):
return test_result
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='5aa7a4c2-0b7d-4000-a980-f00c9329a7b9')
def test_scan_settings_callback_type_all_matches(self):
"""Test LE scan settings callback type all matches.
@@ -301,6 +305,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='fd764861-aa76-480e-b2d2-5d55a888d123')
def test_scan_settings_set_callback_type_first_match(self):
"""Test LE scan settings callback type first match
@@ -330,6 +335,7 @@ class BleScanApiTest(BluetoothBaseTest):
return test_result
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='52e4626e-199c-4755-b9f1-8b38ecb30896')
def test_scan_settings_set_callback_type_match_lost(self):
"""Test LE scan settings callback type match lost.
@@ -359,6 +365,7 @@ class BleScanApiTest(BluetoothBaseTest):
return test_result
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='57476b3c-ba7a-4342-86f6-1b56b2c00181')
def test_scan_settings_set_invalid_callback_type(self):
"""Test LE scan settings invalid callback type.
@@ -386,6 +393,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not test_result
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='52c80f0c-4f26-4cda-8a6b-291ac52f673a')
def test_scan_settings_set_scan_mode_low_power(self):
"""Test LE scan settings scan mode low power mode.
@@ -415,6 +423,7 @@ class BleScanApiTest(BluetoothBaseTest):
return test_result
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='20f4513c-44a7-435d-be4e-03420093297a')
def test_scan_settings_set_scan_mode_balanced(self):
"""Test LE scan settings scan mode balanced.
@@ -442,6 +451,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='bf14e7fd-853b-4833-8fef-8c4bd629374b')
def test_scan_settings_set_scan_mode_low_latency(self):
"""Test LE scan settings scan mode low latency.
@@ -469,6 +479,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='9f3b2e10-98f8-4d6a-b6b6-e8dee87063f0')
def test_scan_settings_set_invalid_scan_mode(self):
"""Test LE scan settings scan mode as an invalid value.
Test scan settings invalid scan mode -2.
@@ -492,6 +503,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='cb246be7-4fef-4313-964d-5fb6dbe558c8')
def test_scan_settings_set_report_delay_millis_min(self):
"""Test scan settings report delay millis as min value
@@ -520,6 +532,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='db1ea8f6-503d-4e9a-b61a-01210508c5a2')
def test_scan_settings_set_report_delay_millis_min_plus_one(self):
"""Test scan settings report delay millis as min value plus one.
@@ -548,6 +561,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='54e83ff8-92b0-473e-839a-1ff1c7dcea83')
def test_scan_settings_set_report_delay_millis_max(self):
"""Test scan settings report delay millis as max value.
@@ -576,6 +590,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='45d918ec-7e43-463b-8f07-f009f8808903')
def test_scan_settings_set_report_delay_millis_max_minus_one(self):
"""Test scan settings report delay millis as max value minus one.
@@ -604,6 +619,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='eb94b5ee-f2e7-4322-b3df-7bdd3a250262')
def test_scan_settings_set_invalid_report_delay_millis_min_minus_one(self):
"""Test scan settings report delay millis as an invalid value.
@@ -633,6 +649,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not self.validate_scan_settings_helper(input, droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='8f5a2bd0-6037-4ac6-a962-f11e7fc13920')
def test_scan_settings_set_scan_result_type_full(self):
"""Test scan settings result type full.
@@ -660,6 +677,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='610fe301-600e-443e-a28b-cd722cc8a4c1')
def test_scan_settings_set_scan_result_type_abbreviated(self):
"""Test scan settings result type abbreviated.
@@ -687,6 +705,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='ed58430b-8180-472f-a118-64f5fce5e84c')
def test_scan_settings_set_invalid_scan_result_type(self):
"""Test scan settings result type as an invalid value.
@@ -713,6 +732,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='6489665f-313d-4b1b-bd7f-f0fdeeaad335')
def test_scan_filter_set_device_name(self):
"""Test scan filter set valid device name.
@@ -737,6 +757,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='76021a9a-14ca-4a2f-a908-96ab90db39ce')
def test_scan_filter_set_device_name_blank(self):
"""Test scan filter set blank device name.
@@ -762,6 +783,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='d77c3d81-43a9-4572-a99b-87969117ede5')
def test_scan_filter_set_device_name_special_chars(self):
"""Test scan filter set device name as special chars.
@@ -786,6 +808,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='1697004e-76ab-444b-9419-0437e30444ad')
def test_scan_filter_set_device_address(self):
"""Test scan filter set valid device address.
@@ -810,6 +833,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='eab0409c-7fc5-4d1f-8fbe-5ee2bb743f7e')
def test_scan_filter_set_invalid_device_address_lower_case(self):
"""Test scan filter set invalid device address.
@@ -833,6 +857,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='0ec491ac-d273-468e-bbfe-e36a290aeb2a')
def test_scan_filter_set_invalid_device_address_blank(self):
"""Test scan filter set invalid device address.
@@ -858,6 +883,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not test_result
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='5cebc454-091c-4e46-b200-1e52c8dffbec')
def test_scan_filter_set_invalid_device_address_bad_format(self):
"""Test scan filter set badly formatted device address.
@@ -881,6 +907,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='d5249d10-1486-4c38-a22d-1f1b077926db')
def test_scan_filter_set_invalid_device_address_bad_address(self):
"""Test scan filter device address as an invalid value.
@@ -904,6 +931,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='65c62d50-69f6-4a0b-bd74-2340e0ce32ca')
def test_scan_filter_set_manufacturer_id_data(self):
"""Test scan filter manufacturer data.
@@ -931,6 +959,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='12807021-9f66-4784-b34a-80859cf4a32f')
def test_scan_filter_set_manufacturer_id_data_mask(self):
"""Test scan filter manufacturer data mask.
@@ -961,6 +990,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='980e5ab6-5381-4471-8e5b-0b716665a9b8')
def test_scan_filter_set_manufacturer_max_id(self):
"""Test scan filter manufacturer data id.
@@ -988,6 +1018,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='cf0efe38-8621-4288-be26-742719da2f6c')
def test_scan_filter_set_manufacturer_data_empty(self):
"""Test scan filter empty manufacturer data.
@@ -1015,6 +1046,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='7ea0e82e-e92a-469c-8432-8f21978508cb')
def test_scan_filter_set_manufacturer_data_mask_empty(self):
"""Test scan filter empty manufacturer data mask.
@@ -1045,6 +1077,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='88e4a9b8-afae-48cb-873a-fd6b4ef84116')
def test_scan_filter_set_invalid_manufacturer_min_id_minus_one(self):
"""Test scan filter invalid manufacturer data.
@@ -1072,6 +1105,7 @@ class BleScanApiTest(BluetoothBaseTest):
return not self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='2e8438dc-29cd-4f72-8747-4a161974d4d3')
def test_scan_filter_set_service_uuid(self):
"""Test scan filter set valid service uuid.
@@ -1099,6 +1133,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='e07b9985-44b6-4dc4-b570-0833b5d2893c')
def test_scan_filter_service_uuid_p_service(self):
"""Test scan filter service uuid.
@@ -1128,6 +1163,7 @@ class BleScanApiTest(BluetoothBaseTest):
return self.validate_scan_settings_helper(input, self.ad_dut.droid)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='0467af19-6e9a-4cfe-9e10-878b0c224df2')
def test_classic_ble_scan_with_service_uuids_p(self):
"""Test classic LE scan with valid service uuid.
@@ -1157,6 +1193,7 @@ class BleScanApiTest(BluetoothBaseTest):
droid, scan_callback, service_uuid_list)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='516c295f-a2df-44f6-b2ad-54451af43ce8')
def test_classic_ble_scan_with_service_uuids_hr(self):
"""Test classic LE scan with valid service uuid.
@@ -1185,6 +1222,7 @@ class BleScanApiTest(BluetoothBaseTest):
droid, scan_callback, service_uuid_list)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='0458b5e0-bb0b-4d6e-ab79-e21169d3256b')
def test_classic_ble_scan_with_service_uuids_empty_uuid_list(self):
"""Test classic LE scan with empty but valid uuid list.
@@ -1213,6 +1251,7 @@ class BleScanApiTest(BluetoothBaseTest):
droid, scan_callback, service_uuid_list)
@BluetoothBaseTest.bt_test_wrap
+ @test_tracker_info(uuid='c0d84a37-c86c-43c4-9dc7-d16959fdbc2a')
def test_classic_ble_scan_with_service_uuids_hr_and_p(self):
"""Test classic LE scan with multiple service uuids.