Add testtracker information to car testcases
Test: Manual
Bug: 32745921
Change-Id: I1a6a04a81f91dfcfbfe6b2ddd156a1fb0b30b0bb
diff --git a/acts/tests/google/bt/car_bt/BtCarHfpTest.py b/acts/tests/google/bt/car_bt/BtCarHfpTest.py
index 63a092c..3bdfc56 100644
--- a/acts/tests/google/bt/car_bt/BtCarHfpTest.py
+++ b/acts/tests/google/bt/car_bt/BtCarHfpTest.py
@@ -18,6 +18,7 @@
"""
import time
+from acts.test_decorators import test_tracker_info
from acts.test_utils.bt.BluetoothBaseTest import BluetoothBaseTest
from acts.test_utils.bt.BluetoothCarHfpBaseTest import BluetoothCarHfpBaseTest
from acts.test_utils.bt import BtEnum
@@ -37,21 +38,22 @@
if not super(BtCarHfpTest, self).setup_class():
return False
# Disable the A2DP profile.
- bt_test_utils.set_profile_priority(
- self.hf, self.ag, [BtEnum.BluetoothProfile.PBAP_CLIENT.value,
- BtEnum.BluetoothProfile.A2DP_SINK.value],
- BtEnum.BluetoothPriorityLevel.PRIORITY_OFF)
+ bt_test_utils.set_profile_priority(self.hf, self.ag, [
+ BtEnum.BluetoothProfile.PBAP_CLIENT.value,
+ BtEnum.BluetoothProfile.A2DP_SINK.value
+ ], BtEnum.BluetoothPriorityLevel.PRIORITY_OFF)
bt_test_utils.set_profile_priority(
self.hf, self.ag, [BtEnum.BluetoothProfile.HEADSET_CLIENT.value],
BtEnum.BluetoothPriorityLevel.PRIORITY_ON)
- if not bt_test_utils.connect_pri_to_sec(self.hf, self.ag, set(
- [BtEnum.BluetoothProfile.HEADSET_CLIENT.value])):
+ if not bt_test_utils.connect_pri_to_sec(
+ self.hf, self.ag,
+ set([BtEnum.BluetoothProfile.HEADSET_CLIENT.value])):
self.log.error("Failed to connect.")
return False
return True
- #@BluetoothTest(UUID=4ce2195a-b70a-4584-912e-cbd20d20e19d)
+ @test_tracker_info(uuid='4ce2195a-b70a-4584-912e-cbd20d20e19d')
@BluetoothBaseTest.bt_test_wrap
def test_default_calling_account(self):
"""
@@ -86,11 +88,11 @@
return False
if not acc_component_id.startswith(BLUETOOTH_PKG_NAME):
self.hf.log.error("Component name does not start with pkg name {}".
- format(selected_acc))
+ format(selected_acc))
return False
return True
- #@BluetoothTest(UUID=e579009d-05f3-4236-a698-5de8c11d73a9)
+ @test_tracker_info(uuid='e579009d-05f3-4236-a698-5de8c11d73a9')
@BluetoothBaseTest.bt_test_wrap
def test_outgoing_call_hf(self):
"""
@@ -114,7 +116,7 @@
"""
return self.dial_a_hangup_b(self.hf, self.hf)
- #@BluetoothTest(UUID=c9d5f9cd-f275-4adf-b212-c2e9a70d4cac)
+ @test_tracker_info(uuid='c9d5f9cd-f275-4adf-b212-c2e9a70d4cac')
@BluetoothBaseTest.bt_test_wrap
def test_outgoing_call_ag(self):
"""
@@ -138,7 +140,7 @@
"""
return self.dial_a_hangup_b(self.ag, self.ag)
- #@BluetoothTest(UUID=908c199b-ca65-4694-821d-1b864ee3fe69)
+ @test_tracker_info(uuid='908c199b-ca65-4694-821d-1b864ee3fe69')
@BluetoothBaseTest.bt_test_wrap
def test_outgoing_dial_ag_hangup_hf(self):
"""
@@ -162,7 +164,7 @@
"""
return self.dial_a_hangup_b(self.ag, self.hf)
- #@BluetoothTest(UUID=5d1d52c7-51d8-4c82-b437-2e91a6220db3)
+ @test_tracker_info(uuid='5d1d52c7-51d8-4c82-b437-2e91a6220db3')
@BluetoothBaseTest.bt_test_wrap
def test_outgoing_dial_hf_hangup_ag(self):
"""
@@ -186,7 +188,7 @@
"""
return self.dial_a_hangup_b(self.hf, self.ag)
- #@BluetoothTest(UUID=a718e238-7e31-40c9-a45b-72081210cc73)
+ @test_tracker_info(uuid='a718e238-7e31-40c9-a45b-72081210cc73')
@BluetoothBaseTest.bt_test_wrap
def test_incoming_dial_re_hangup_re(self):
"""