• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2017 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_input_method_framework",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsInputMethodTestCases",
22    defaults: ["cts_defaults"],
23    // Tag this module as a cts test artifact
24    test_suites: [
25        "cts",
26        "general-tests",
27        // This is an equivalent of general-tests for automotive.
28        // It helps manage the build time on automotive branches.
29        "automotive-general-tests",
30    ],
31    compile_multilib: "both",
32    libs: ["android.test.runner.stubs.test"],
33    static_libs: [
34        "androidx.test.ext.junit",
35        "androidx.test.rules",
36        "androidx.test.uiautomator_uiautomator",
37        "compatibility-device-util-axt",
38        "cts-inputmethod-util",
39        "cts-mock-a11y-ime-client",
40        "ctstestrunner-axt",
41        "CtsMockInputMethodLib",
42        "CtsInputMethodStandaloneTestLib",
43        "CtsMockSpellCheckerLib",
44        "CtsLegacyImeClientTestLib",
45        "CtsMockInputMethodWithSubtypesLib",
46        "testng",
47        "kotlin-test",
48        "cts-wm-util",
49        "sts-device-util",
50        "cts_window-extensions",
51        "statsdprotonano",
52        "android.view.inputmethod.flags-aconfig-java",
53        "com.android.input.flags-aconfig-java",
54        "com.android.text.flags-aconfig-java",
55        "flag-junit",
56        "ravenwood-junit",
57        "bedstead",
58        "ui-trace-collector",
59    ],
60    srcs: [
61        "src/**/*.java",
62        "src/**/*.kt",
63        "src/**/I*.aidl",
64    ],
65    aidl: {
66        local_include_dirs: ["src"],
67    },
68    sdk_version: "test_current",
69    data: [
70        ":CtsMockSpellChecker",
71        ":CtsHiddenFromPickerIme",
72        ":CtsMockA11yInputMethod",
73        ":CtsMockInputMethod",
74        ":CtsMockInputMethod2",
75        ":CtsSpellCheckingIme",
76        ":CtsInputMethodStandaloneTestApp",
77        ":CtsMockLargeResourceInputMethod",
78        ":CtsMockInputMethodWithSubtypes",
79        ":CtsInputMethodTestLauncher",
80        ":TestIme",
81    ],
82    per_testcase_directory: true,
83}
84
85android_ravenwood_test {
86    name: "CtsInputMethodTestCasesRavenwood",
87    static_libs: [
88        "androidx.annotation_annotation",
89        "androidx.test.rules",
90        "compatibility-device-util-axt-ravenwood",
91    ],
92    srcs: [
93        "src/android/view/inputmethod/cts/InputBindingTest.java",
94    ],
95    auto_gen_config: true,
96    team: "trendy_team_ravenwood",
97}
98