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 data: [ 35 // Package the snippet with the mobly test 36 ":AutomotiveSnippet", 37 ":PhoneSnippet", 38 ], 39 version: { 40 py3: { 41 embedded_launcher: true, 42 }, 43 }, 44} 45 46python_test_host { 47 name: "BTSMSDeviceNotPairedTest", 48 main: "bt_sms_test_device_not_paired.py", 49 srcs: ["bt_sms_test_device_not_paired.py"], 50 libs: [ 51 "mobly", 52 "utilities", 53 "bluetooth_test", 54 ], 55 test_suites: [ 56 "catbox", 57 ], 58 test_options: { 59 unit_test: false, 60 }, 61 data: [ 62 // Package the snippet with the mobly test 63 ":AutomotiveSnippet", 64 ":PhoneSnippet", 65 ], 66 version: { 67 py3: { 68 embedded_launcher: true, 69 }, 70 }, 71} 72 73python_test_host { 74 name: "BTSMSUtilityTest", 75 main: "bt_sms_utility_test.py", 76 srcs: ["bt_sms_utility_test.py"], 77 libs: [ 78 "mobly", 79 "utilities", 80 "BluetoothSMSTestLibrary", 81 ], 82 test_suites: [ 83 "catbox", 84 ], 85 test_options: { 86 unit_test: false, 87 }, 88 data: [ 89 // Package the snippet with the mobly test 90 ":AutomotiveSnippet", 91 ":PhoneSnippet", 92 "bt_sms_config.yaml", 93 ], 94 version: { 95 py3: { 96 embedded_launcher: true, 97 }, 98 }, 99} 100 101python_test_host { 102 name: "SMSNewUnreadSMSAutoSyncTest", 103 main: "bt_sms_new_unread_sms_auto_sync_test.py", 104 srcs: ["bt_sms_new_unread_sms_auto_sync_test.py"], 105 libs: [ 106 "mobly", 107 "utilities", 108 "BluetoothSMSTestLibrary", 109 ], 110 test_suites: [ 111 "catbox", 112 ], 113 test_options: { 114 unit_test: false, 115 }, 116 data: [ 117 // Package the snippet with the mobly test 118 ":AutomotiveSnippet", 119 ":PhoneSnippet", 120 "bt_sms_config.yaml", 121 ], 122 version: { 123 py3: { 124 embedded_launcher: true, 125 }, 126 }, 127} 128 129python_test_host { 130 name: "SMSNoSMSTest", 131 main: "bt_sms_no_messages_test.py", 132 srcs: ["bt_sms_no_messages_test.py"], 133 libs: [ 134 "mobly", 135 "utilities", 136 "BluetoothSMSTestLibrary", 137 ], 138 test_suites: [ 139 "catbox", 140 ], 141 test_options: { 142 unit_test: false, 143 }, 144 data: [ 145 // Package the snippet with the mobly test 146 ":AutomotiveSnippet", 147 ":PhoneSnippet", 148 "bt_sms_config.yaml", 149 ], 150 version: { 151 py3: { 152 embedded_launcher: true, 153 }, 154 }, 155} 156 157python_test_host { 158 name: "SMSUnreadMessageDBSyncTest", 159 main: "bt_sms_unread_sms_messagedb_sync_test.py", 160 srcs: ["bt_sms_unread_sms_messagedb_sync_test.py"], 161 libs: [ 162 "mobly", 163 "utilities", 164 "BluetoothSMSTestLibrary", 165 ], 166 test_suites: [ 167 "catbox", 168 ], 169 test_options: { 170 unit_test: false, 171 }, 172 data: [ 173 // Package the snippet with the mobly test 174 ":AutomotiveSnippet", 175 ":PhoneSnippet", 176 "bt_sms_config.yaml", 177 ], 178 version: { 179 py3: { 180 embedded_launcher: true, 181 }, 182 }, 183} 184 185python_test_host { 186 name: "SMSReadAutoSync", 187 main: "bt_sms_read_auto_sync_test.py", 188 srcs: ["bt_sms_read_auto_sync_test.py"], 189 libs: [ 190 "mobly", 191 "utilities", 192 "BluetoothSMSTestLibrary", 193 ], 194 test_suites: [ 195 "catbox", 196 ], 197 test_options: { 198 unit_test: false, 199 }, 200 data: [ 201 // Package the snippet with the mobly test 202 ":AutomotiveSnippet", 203 ":PhoneSnippet", 204 "bt_sms_config.yaml", 205 ], 206 version: { 207 py3: { 208 embedded_launcher: true, 209 }, 210 }, 211} 212 213python_test_host { 214 name: "SMSReadMessageDBSync", 215 main: "bt_sms_read_messagebd_sync_test.py", 216 srcs: ["bt_sms_read_messagebd_sync_test.py"], 217 libs: [ 218 "mobly", 219 "utilities", 220 "BluetoothSMSTestLibrary", 221 ], 222 test_suites: [ 223 "catbox", 224 ], 225 test_options: { 226 unit_test: false, 227 }, 228 data: [ 229 // Package the snippet with the mobly test 230 ":AutomotiveSnippet", 231 ":PhoneSnippet", 232 "bt_sms_config.yaml", 233 ], 234 version: { 235 py3: { 236 embedded_launcher: true, 237 }, 238 }, 239} 240 241python_test_host { 242 name: "SMSReplyFromPhoneSync", 243 main: "bt_sms_reply_from_phone_sync_test.py", 244 srcs: ["bt_sms_reply_from_phone_sync_test.py"], 245 libs: [ 246 "mobly", 247 "utilities", 248 "BluetoothSMSTestLibrary", 249 ], 250 test_suites: [ 251 "catbox", 252 ], 253 test_options: { 254 unit_test: false, 255 }, 256 data: [ 257 // Package the snippet with the mobly test 258 ":AutomotiveSnippet", 259 ":PhoneSnippet", 260 "bt_sms_config.yaml", 261 ], 262 version: { 263 py3: { 264 embedded_launcher: true, 265 }, 266 }, 267} 268