1// Copyright (C) 2024 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
15// Car Settings Robolectric test target.
16package {
17    default_team: "trendy_team_system_experience",
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21// Pure robolectric deviceless tests for settings (kept as it is for now).
22// Please consider migrating these to multivalent tests instead for portability.
23
24android_robolectric_test {
25    name: "CarSettingsDevicelessRoboTests",
26    srcs: [
27        "src/**/*.java",
28        ":CarSettingsShadows-srcs",
29    ],
30
31    libs: [
32        "truth",
33        "testng",
34        "android.car",
35        "android.car.test.utils",
36    ],
37
38    java_resource_dirs: ["config"],
39
40    instrumentation_for: "CarSettingsAppForTesting",
41
42    test_options: {
43        timeout: 36000,
44    },
45    upstream: true,
46    strict_mode: false,
47}
48
49/* Future Ravenwood tests can be added like this if required.
50android_ravenwood_test {
51    name: "CarSettingsDevicelessRavenTests",
52    srcs: [],
53}
54*/
55