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

Commit 86cd4fe4 authored by Zhi Dou's avatar Zhi Dou
Browse files

Update SetFlagsRule instruction ravenwood document

ravenwood should use the SetFlagsRule.DefaultInitValueType.NULL_DEFAULT
in the constructor of SetFlagsRule. Since ravenwood tests are executed
on the host, SetFlagsRule should initialize the flag value to NULL,
instead of reading from the device.

Test: N/A
Bug: N/A
Change-Id: I75828fe92bf1a9ca2ea708a66a348f5f569cea7a
parent 04d99941
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ import android.platform.test.flag.junit.SetFlagsRule;
@RunWith(AndroidJUnit4.class)
public class MyCodeTest {
    @Rule
    public final SetFlagsRule mSetFlagsRule = new SetFlagsRule();
    public final SetFlagsRule mSetFlagsRule = new SetFlagsRule(SetFlagsRule.DefaultInitValueType.NULL_DEFAULT);

    @Test
    public void testEnabled() {