From 2fa4952bd5675689b3723ad9cabf446f1cf6c179 Mon Sep 17 00:00:00 2001 From: John Wu Date: Mon, 10 Mar 2025 15:21:40 -0700 Subject: [Ravenwood] Remove deprecated usage Bug: 292141694 Flag: EXEMPT host side change only Test: f/b/r/scripts/run-ravenwood-tests.sh Change-Id: I75e4604f8fd391452719bf46d2f345dbb7fada66 --- .../android/platform/test/ravenwood/RavenwoodEnablementChecker.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ravenwood/junit-impl-src') diff --git a/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodEnablementChecker.java b/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodEnablementChecker.java index 3cb2c67adf09..aa37d1221478 100644 --- a/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodEnablementChecker.java +++ b/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodEnablementChecker.java @@ -19,7 +19,6 @@ import android.annotation.NonNull; import android.annotation.Nullable; import android.platform.test.annotations.DisabledOnRavenwood; import android.platform.test.annotations.EnabledOnRavenwood; -import android.platform.test.annotations.IgnoreUnderRavenwood; import org.junit.runner.Description; @@ -51,8 +50,6 @@ public class RavenwoodEnablementChecker { result = true; } else if (description.getAnnotation(DisabledOnRavenwood.class) != null) { result = false; - } else if (description.getAnnotation(IgnoreUnderRavenwood.class) != null) { - result = false; } if (result != null) { if (takeIntoAccountRunDisabledTestsFlag @@ -78,8 +75,6 @@ public class RavenwoodEnablementChecker { result = true; } else if (testClass.getAnnotation(DisabledOnRavenwood.class) != null) { result = false; - } else if (testClass.getAnnotation(IgnoreUnderRavenwood.class) != null) { - result = false; } if (!result) { if (takeIntoAccountRunDisabledTestsFlag -- cgit v1.2.3-59-g8ed1b