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
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18    default_team: "trendy_team_system_experience",
19}
20
21android_robolectric_test {
22
23    name: "CarAppGridUnitTests",
24
25    srcs: [
26        "src/**/*.java",
27        "src/**/*.kt",
28    ],
29
30    java_resource_dirs: ["config"],
31
32    static_libs: [
33        "mockito-robolectric-prebuilt",
34        "mockito-kotlin2",
35        "androidx.test.rules",
36        "kotlinx_coroutines_test",
37        "androidx.test.core",
38        "android.car.testapi",
39        "android.car-system-stubs",
40        "flag-junit",
41        "truth",
42    ],
43
44    test_suites: [
45        "automotive-general-tests",
46        "general-tests",
47    ],
48
49    test_options: {
50        timeout: 36000,
51    },
52
53    instrumentation_for: "CarAppGridTestApp",
54    upstream: true,
55
56    strict_mode: false,
57}
58