blob: c01a85d3177808660a3f990d11be8249ecc93010 [file]
// Copyright (C) 2025 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_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "CtsAppServiceTestCases",
defaults: ["cts_defaults"],
static_libs: [
"androidx.test.rules",
"cts_app_test_shared_lib",
"permission-test-util-lib",
"platformprotosnano",
"android.content.flags-aconfig-java-export",
"am_flags_lib",
"flag-junit",
"services.core.unboosted",
],
srcs: [
"src/**/*.java",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
],
instrumentation_for: "CtsAppTestStubs",
sdk_version: "test_current",
min_sdk_version: "29",
manifest: "AndroidManifest.xml",
test_config: "AndroidTest.xml",
dxflags: ["--multi-dex"],
data: [
":CtsAppTestDelayedStart",
":CtsAppTestStubs",
":CtsAppTestStubsApp1",
":CtsAppTestStubsApp2",
],
per_testcase_directory: true,
}
test_module_config {
name: "CtsAppServiceTestCases_android_server_am_Presubmit",
base: "CtsAppServiceTestCases",
test_suites: ["general-tests"],
include_annotations: ["android.platform.test.annotations.Presubmit"],
exclude_annotations: ["androidx.test.filters.LargeTest"],
}