blob: 04e8ce3b0a6ee41dea160d68f20108bfe7281ae7 [file] [log] [blame]
// Copyright (C) 2017 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_autofill",
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "CtsAutoFillServiceTestCases",
defaults: ["cts_defaults"],
static_libs: [
"androidx.annotation_annotation",
"androidx.autofill_autofill",
"androidx.test.ext.junit",
"androidx.credentials_credentials",
"compatibility-device-util-axt",
"ctsdeviceutillegacy-axt",
"ctstestrunner-axt",
"truth",
"androidx.test.uiautomator_uiautomator",
"androidx.test.espresso.core",
"CtsMockInputMethodLib",
// TODO: remove once Android migrates to JUnit 4.12,
// which provides assertThrows
"testng",
"cts-wm-util",
"TestParameterInjector",
],
srcs: ["src/**/*.java"],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
],
sdk_version: "test_current",
data: [
":TestAutofillServiceApp",
":CtsMockInputMethod",
],
per_testcase_directory: true,
errorprone: {
javacflags: [
"-Xep:BareDotMetacharacter:WARN",
],
},
}