1// Copyright (C) 2018 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_team: "trendy_team_system_experience", 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21android_test { 22 name: "CarNotificationUnitTests", 23 privileged: true, 24 25 certificate: "platform", 26 27 srcs: ["src/**/*.java"], 28 29 libs: [ 30 "android.test.runner.stubs.system", 31 "android.test.base.stubs.system", 32 "android.test.mock.stubs.system", 33 ], 34 35 static_libs: [ 36 "CarNotificationLibForUnitTesting", 37 "android.car-system-stubs", 38 "androidx.core_core", 39 "androidx.test.core", 40 "androidx.test.rules", 41 "androidx.test.runner", 42 "androidx.test.ext.junit", 43 "androidx.test.ext.truth", 44 "mockito-target-extended-minus-junit4", 45 "platform-test-annotations", 46 "truth", 47 "testables", 48 "testng", 49 ], 50 51 jni_libs: [ 52 "libdexmakerjvmtiagent", 53 "libstaticjvmtiagent", 54 ], 55 56 aaptflags: ["--extra-packages com.android.car.notification"], 57 58 // TODO(b/343738857): Renable this after the test is fixed. 59 // test_suites: [ 60 // "automotive-general-tests", 61 // "general-tests", 62 // ], 63 // TODO(b/319708040): re-enable use_resource_processor 64 use_resource_processor: false, 65} 66