// Copyright (C) 2018 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_system_experience", default_applicable_licenses: ["Android-Apache-2.0"], } android_test { name: "CarNotificationUnitTests", privileged: true, certificate: "platform", srcs: ["src/**/*.java"], libs: [ "android.test.runner.stubs.system", "android.test.base.stubs.system", "android.test.mock.stubs.system", ], static_libs: [ "CarNotificationLibForUnitTesting", "android.car-system-stubs", "androidx.core_core", "androidx.test.core", "androidx.test.rules", "androidx.test.runner", "androidx.test.ext.junit", "androidx.test.ext.truth", "mockito-target-extended-minus-junit4", "platform-test-annotations", "truth", "testables", "testng", ], jni_libs: [ "libdexmakerjvmtiagent", "libstaticjvmtiagent", ], aaptflags: ["--extra-packages com.android.car.notification"], // TODO(b/343738857): Renable this after the test is fixed. // test_suites: [ // "automotive-general-tests", // "general-tests", // ], // TODO(b/319708040): re-enable use_resource_processor use_resource_processor: false, }