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

Commit 7f552af9 authored by Felipe Leme's avatar Felipe Leme
Browse files

Updated reference to DisabledOnRavenwood.

Bug: 319647875
Test: no, thanks
Flag: TEST_ONLY

Change-Id: I3b9aa2d8d272abc7f5eba3095e9827198988e388
parent 3120dad6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ android_ravenwood_test {
* Write your unit test just like you would for an Android device:

```
import android.platform.test.annotations.IgnoreUnderRavenwood;
import android.platform.test.annotations.DisabledOnRavenwood;
import android.platform.test.ravenwood.RavenwoodRule;

import androidx.test.ext.junit.runners.AndroidJUnit4;
@@ -66,7 +66,7 @@ public class MyCodeTest {
* APIs available under Ravenwood are stateless by default.  If your test requires explicit states (such as defining the UID you’re running under, or requiring a main `Looper` thread), add a `RavenwoodRule` to declare that:

```
import android.platform.test.annotations.IgnoreUnderRavenwood;
import android.platform.test.annotations.DisabledOnRavenwood;
import android.platform.test.ravenwood.RavenwoodRule;

import androidx.test.runner.AndroidJUnit4;
@@ -165,7 +165,7 @@ public class MyCodeTest {
    }

    @Test
    @IgnoreUnderRavenwood(blockedBy = PackageManager.class)
    @DisabledOnRavenwood(blockedBy = PackageManager.class)
    public void testComplex() {
        // Complex test that runs on devices, but is ignored under Ravenwood
    }