From b24d88a9414db03765015f64a52561c4f2afcd8a Mon Sep 17 00:00:00 2001 From: Lee Shombert Date: Sat, 15 Oct 2022 08:56:47 -0700 Subject: [PATCH] Add PropertyInvalidatedCacheTests to presubmit Bug: 253063488 Added an entry to TEST_MAPPING so that the PropertyInvalidatedCache tests run when the source file is modified. Manually tested by running atest in the app directory. Test: atest * FrameworksCoreTests:PropertyInvalidatedCacheTests Change-Id: Iad2dff7ace3aecb898fcb9d65ff3a8a35618d886 --- core/java/android/app/TEST_MAPPING | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/core/java/android/app/TEST_MAPPING b/core/java/android/app/TEST_MAPPING index 5b0bd9614f831..0f26818ead716 100644 --- a/core/java/android/app/TEST_MAPPING +++ b/core/java/android/app/TEST_MAPPING @@ -175,6 +175,23 @@ "file_patterns": [ "(/|^)KeyguardManager.java" ] + }, + { + "name": "FrameworksCoreTests", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "include-filter": "android.app.PropertyInvalidatedCacheTests" + } + ], + "file_patterns": [ + "(/|^)PropertyInvalidatedCache.java" + ] } ], "presubmit-large": [