// Copyright (C) 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    default_team: "trendy_team_aaos_framework",
    default_applicable_licenses: ["Android-Apache-2.0"],
}

python_test_host {
    name: "BTButtonEnableDisableTest",
    main: "bluetooth_button_enable_disable_test.py",
    srcs: ["bluetooth_button_enable_disable_test.py"],
    libs: [
        "mobly",
        "utilities",
        "bluetooth_test",
    ],
    test_suites: [
        "catbox",
    ],
    test_options: {
        unit_test: false,
    },
    data: [
        // Package the snippet with the mobly test
        ":AutomotiveSnippet",
        ":PhoneSnippet",
    ],
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}

python_test_host {
    name: "BTDisableEnablePhoneHFPBluetoothProfile",
    main: "disable_enable_phone_hfp_bluetooth_profile_test.py",
    srcs: ["disable_enable_phone_hfp_bluetooth_profile_test.py"],
    libs: [
        "mobly",
        "utilities",
        "bluetooth_test"
        ],
    test_suites: [
        "catbox",
    ],
    test_options: {
        unit_test: false,
    },
    data: [
        // Package the snippet with the mobly test
        ":AutomotiveSnippet",
        ":PhoneSnippet",
    ],
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}

python_test_host {
    name: "BluetoothPaletteVerificationTest",
    main: "verify_bluetooth_palette_buttons_test.py",
    srcs: ["verify_bluetooth_palette_buttons_test.py"],
    libs: [
        "mobly",
        "utilities",
        "bluetooth_test",
    ],
    test_suites: [
        "catbox",
    ],
    test_options: {
        unit_test: false,
    },
    data: [
        // Package the snippet with the mobly test
        ":AutomotiveSnippet",
        ":PhoneSnippet",
    ],
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}

python_test_host {
    name: "BTEnableDisableBluetoothAudioViaMusicButton",
    main: "enable-disable_bluetooth_audio_via_music_button.py",
    srcs: ["enable-disable_bluetooth_audio_via_music_button.py"],
    libs: [
        "mobly",
        "utilities",
        "bluetooth_test"
        ],
    test_suites: [
        "catbox",
    ],
    test_options: {
        unit_test: false,
    },
    data: [
        // Package the snippet with the mobly test
        ":AutomotiveSnippet",
        ":PhoneSnippet",
    ],
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}