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_team: "trendy_team_enterprise", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "CtsDevicePolicySimTestCases", 22 team: "trendy_team_enterprise", 23 defaults: ["cts_defaults"], 24 min_sdk_version: "29", 25 target_sdk_version: "29", 26 static_libs: [ 27 "compatibility-device-util-axt", 28 "ctstestrunner-axt", 29 "cts-net-utils", 30 "truth", 31 "androidx.test.ext.junit", 32 "testng", // used for assertThrows 33 // TODO: Remove this once we remove ui automator usage 34 "androidx.test.uiautomator_uiautomator", 35 "EventLib", 36 "ActivityContext", 37 "Harrier", 38 "DeviceAdminApp", 39 "TestApp", 40 "MetricsRecorder", 41 "statsdprotolite", 42 "Interactive", 43 ], 44 srcs: ["src/**/*.java"], 45 test_suites: [ 46 "cts", 47 "vts10", 48 "general-tests", 49 ], 50 platform_apis: true, 51}