1// Copyright (C) 2023 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19python_test_host { 20 name: "SMSTimeSyncTest", 21 main: "bt_sms_time_sync_test.py", 22 srcs: ["bt_sms_time_sync_test.py"], 23 libs: [ 24 "mobly", 25 "utilities", 26 "bluetooth_test", 27 ], 28 test_suites: [ 29 "catbox", 30 ], 31 test_options: { 32 unit_test: false, 33 }, 34 device_common_data: [ 35 // Package the snippet with the mobly test 36 ":AutomotiveSnippet", 37 ":PhoneSnippet", 38 ], 39} 40 41python_test_host { 42 name: "BTSMSDeviceNotPairedTest", 43 main: "bt_sms_test_device_not_paired.py", 44 srcs: ["bt_sms_test_device_not_paired.py"], 45 libs: [ 46 "mobly", 47 "utilities", 48 "bluetooth_test", 49 ], 50 test_suites: [ 51 "catbox", 52 ], 53 test_options: { 54 unit_test: false, 55 }, 56 device_common_data: [ 57 // Package the snippet with the mobly test 58 ":AutomotiveSnippet", 59 ":PhoneSnippet", 60 ], 61} 62 63python_test_host { 64 name: "BTSMSUtilityTest", 65 main: "bt_sms_utility_test.py", 66 srcs: ["bt_sms_utility_test.py"], 67 libs: [ 68 "mobly", 69 "utilities", 70 "BluetoothSMSTestLibrary", 71 ], 72 test_suites: [ 73 "catbox", 74 ], 75 test_options: { 76 unit_test: false, 77 }, 78 device_common_data: [ 79 // Package the snippet with the mobly test 80 ":AutomotiveSnippet", 81 ":PhoneSnippet", 82 "bt_sms_config.yaml", 83 ], 84} 85 86python_test_host { 87 name: "SMSNewUnreadSMSAutoSyncTest", 88 main: "bt_sms_new_unread_sms_auto_sync_test.py", 89 srcs: ["bt_sms_new_unread_sms_auto_sync_test.py"], 90 libs: [ 91 "mobly", 92 "utilities", 93 "BluetoothSMSTestLibrary", 94 ], 95 test_suites: [ 96 "catbox", 97 ], 98 test_options: { 99 unit_test: false, 100 }, 101 device_common_data: [ 102 // Package the snippet with the mobly test 103 ":AutomotiveSnippet", 104 ":PhoneSnippet", 105 "bt_sms_config.yaml", 106 ], 107} 108 109python_test_host { 110 name: "SMSNoSMSTest", 111 main: "bt_sms_no_messages_test.py", 112 srcs: ["bt_sms_no_messages_test.py"], 113 libs: [ 114 "mobly", 115 "utilities", 116 "BluetoothSMSTestLibrary", 117 ], 118 test_suites: [ 119 "catbox", 120 ], 121 test_options: { 122 unit_test: false, 123 }, 124 device_common_data: [ 125 // Package the snippet with the mobly test 126 ":AutomotiveSnippet", 127 ":PhoneSnippet", 128 "bt_sms_config.yaml", 129 ], 130} 131 132python_test_host { 133 name: "SMSUnreadMessageDBSyncTest", 134 main: "bt_sms_unread_sms_messagedb_sync_test.py", 135 srcs: ["bt_sms_unread_sms_messagedb_sync_test.py"], 136 libs: [ 137 "mobly", 138 "utilities", 139 "BluetoothSMSTestLibrary", 140 ], 141 test_suites: [ 142 "catbox", 143 ], 144 test_options: { 145 unit_test: false, 146 }, 147 device_common_data: [ 148 // Package the snippet with the mobly test 149 ":AutomotiveSnippet", 150 ":PhoneSnippet", 151 "bt_sms_config.yaml", 152 ], 153} 154 155python_test_host { 156 name: "SMSReadAutoSync", 157 main: "bt_sms_read_auto_sync_test.py", 158 srcs: ["bt_sms_read_auto_sync_test.py"], 159 libs: [ 160 "mobly", 161 "utilities", 162 "BluetoothSMSTestLibrary", 163 ], 164 test_suites: [ 165 "catbox", 166 ], 167 test_options: { 168 unit_test: false, 169 }, 170 device_common_data: [ 171 // Package the snippet with the mobly test 172 ":AutomotiveSnippet", 173 ":PhoneSnippet", 174 "bt_sms_config.yaml", 175 ], 176} 177 178python_test_host { 179 name: "SMSReadMessageDBSync", 180 main: "bt_sms_read_messagebd_sync_test.py", 181 srcs: ["bt_sms_read_messagebd_sync_test.py"], 182 libs: [ 183 "mobly", 184 "utilities", 185 "BluetoothSMSTestLibrary", 186 ], 187 test_suites: [ 188 "catbox", 189 ], 190 test_options: { 191 unit_test: false, 192 }, 193 device_common_data: [ 194 // Package the snippet with the mobly test 195 ":AutomotiveSnippet", 196 ":PhoneSnippet", 197 "bt_sms_config.yaml", 198 ], 199} 200 201python_test_host { 202 name: "SMSReplyFromPhoneSync", 203 main: "bt_sms_reply_from_phone_sync_test.py", 204 srcs: ["bt_sms_reply_from_phone_sync_test.py"], 205 libs: [ 206 "mobly", 207 "utilities", 208 "BluetoothSMSTestLibrary", 209 ], 210 test_suites: [ 211 "catbox", 212 ], 213 test_options: { 214 unit_test: false, 215 }, 216 device_common_data: [ 217 // Package the snippet with the mobly test 218 ":AutomotiveSnippet", 219 ":PhoneSnippet", 220 "bt_sms_config.yaml", 221 ], 222} 223