1#!/usr/bin/env python3 2# 3# Copyright 2021 - The Android Open Source Project 4# 5# Licensed under the Apache License, Version 2.0 (the "License"); 6# you may not use this file except in compliance with the License. 7# You may obtain a copy of the License at 8# 9# http://www.apache.org/licenses/LICENSE-2.0 10# 11# Unless required by applicable law or agreed to in writing, software 12# distributed under the License is distributed on an "AS IS" BASIS, 13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14# See the License for the specific language governing permissions and 15# limitations under the License. 16 17from blueberry.tests.gd.cert.cert_self_test import CertSelfTest 18from blueberry.tests.gd.hal.simple_hal_test import SimpleHalTest 19from blueberry.tests.gd.hci.acl_manager_test import AclManagerTest 20from blueberry.tests.gd.hci.controller_test import ControllerTest 21from blueberry.tests.gd.hci.direct_hci_test import DirectHciTest 22from blueberry.tests.gd.hci.le_acl_manager_test import LeAclManagerTest 23from blueberry.tests.gd.hci.le_advertising_manager_test import LeAdvertisingManagerTest 24from blueberry.tests.gd.hci.le_scanning_manager_test import LeScanningManagerTest 25from blueberry.tests.gd.hci.le_scanning_with_security_test import LeScanningWithSecurityTest 26from blueberry.tests.gd.iso.le_iso_test import LeIsoTest 27from blueberry.tests.gd.security.le_security_test import LeSecurityTest 28from blueberry.tests.gd.security.security_test import SecurityTest 29from blueberry.tests.gd.shim.shim_test import ShimTest 30from blueberry.tests.gd.shim.stack_test import StackTest 31 32from mobly import suite_runner 33 34ALL_TESTS = { 35 CertSelfTest, SimpleHalTest, AclManagerTest, ControllerTest, DirectHciTest, LeAclManagerTest, 36 LeAdvertisingManagerTest, LeScanningManagerTest, LeScanningWithSecurityTest, LeIsoTest, 37 LeSecurityTest, SecurityTest, ShimTest, StackTest 38} 39 40DISABLED_TESTS = set() 41 42ENABLED_TESTS = list(ALL_TESTS - DISABLED_TESTS) 43 44if __name__ == '__main__': 45 suite_runner.run_suite(ENABLED_TESTS) 46