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 default_team: "trendy_team_android_storage", 18} 19 20android_test { 21 name: "CtsStorageAccessTestCases", 22 defaults: ["cts_defaults"], 23 24 static_libs: [ 25 // Among other things compatibility-device-util-axt "includes": androidx.test.core, 26 // androidx.core_core, androidx.test.ext.junit, androidx.test.rules, 27 // androidx.test.uiautomator_uiautomator 28 "compatibility-device-util-axt", 29 ], 30 libs: [ 31 "android.test.runner", 32 "android.test.base", 33 ], 34 srcs: [ 35 "src/**/*.java", 36 "src/**/*.kt" 37 ], 38 39 // Need to run this on Android R and above. 40 min_sdk_version: "30", 41 sdk_version: "test_current", 42 dex_preopt: { enabled: false }, 43 optimize: { enabled: false }, 44 45 // Tag this module as a CTS and MTS test artifact. 46 test_suites: [ 47 "cts", 48 "general-tests", 49 "mts-documentsui", 50 "mcts-documentsui", 51 ], 52} 53