Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 141b970b authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Ignore test methods with $noRavenwood suffix" into main

parents c5337343 0fb11293
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -142,6 +142,11 @@ public class RavenwoodRule implements TestRule {
                    Assume.assumeFalse(IS_UNDER_RAVENWOOD);
                }

                // Stopgap for http://g/ravenwood/EPAD-N5ntxM
                if (description.getMethodName().endsWith("$noRavenwood")) {
                    Assume.assumeFalse(IS_UNDER_RAVENWOOD);
                }

                RavenwoodRuleImpl.init(RavenwoodRule.this);
                try {
                    base.evaluate();
+5 −0
Original line number Diff line number Diff line
@@ -42,4 +42,9 @@ public class RavenwoodMinimumTest {
    public void testIgnored() {
        throw new RuntimeException("Shouldn't be executed under ravenwood");
    }

    @Test
    public void testIgnored$noRavenwood() {
        throw new RuntimeException("Shouldn't be executed under ravenwood");
    }
}