blob: b1c45673b7e52be07cfe942c1bac293ced32463a [file]
//
// 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_system_ui_please_use_a_more_specific_subteam_if_possible_",
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "AccessibilityMenuServiceTests",
strict_deps: "error",
use_resource_processor: true,
certificate: "platform",
libs: [
"android.test.runner.stubs.system",
"android.test.base.stubs.system",
],
static_libs: [
"AccessibilityMenuSource",
"androidx.activity_activity",
"androidx.coordinatorlayout_coordinatorlayout",
"androidx.core_core",
"androidx.fragment_fragment",
"androidx.fragment_fragment-testing",
"androidx.lifecycle_lifecycle-common",
"androidx.lifecycle_lifecycle-viewmodel",
"androidx.navigationevent_navigationevent",
"androidx.preference_preference",
"androidx.savedstate_savedstate",
"androidx.viewpager2_viewpager2",
"androidx.test.core-nodeps",
"androidx.test.monitor-nodeps",
"androidx.test.runner-nodeps",
"androidx.test.ext.junit-nodeps",
"compatibility-device-util-axt",
"platform-test-annotations",
"SettingsLibPreference-testutils",
"testables", // For TestableContext
"mockito-kotlin-nodeps",
"mockito-target-minus-junit4",
"truth",
"uiautomator-helpers",
"junit",
"kotlinx_coroutines",
"kotlinx_coroutines_android",
"kotlinx_coroutines_test",
"SettingsLibCollapsingToolbarBaseActivity",
"SettingsLibDataStore",
"SettingsLibDisplayUtils",
"SettingsLibIpc",
"SettingsLibMetadata",
"SettingsLibPreference",
"SettingsLibSettingsTheme",
],
srcs: [
"src/**/*.java",
"src/**/*.kt",
],
platform_apis: true,
test_suites: ["device-tests"],
instrumentation_for: "AccessibilityMenu",
}