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

Commit 3a01ffff authored by Santiago Seifert's avatar Santiago Seifert Committed by Android (Google) Code Review
Browse files

Merge "Add SetFlagsRule to fix tests when flag off" into main

parents 484c5953 1faecb99
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ import android.os.HandlerThread;
import android.os.TestLooperManager;
import android.os.UserHandle;
import android.platform.test.annotations.EnableFlags;
import android.platform.test.flag.junit.SetFlagsRule;

import androidx.test.platform.app.InstrumentationRegistry;

@@ -61,6 +62,7 @@ import com.google.common.collect.ImmutableList;

import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -75,6 +77,7 @@ import java.util.Set;

@RunWith(JUnit4.class)
public class AudioManagerRouteControllerTest {
    @Rule public final SetFlagsRule mSetFlagsRule = new SetFlagsRule();

    private static final String FAKE_ROUTE_NAME = "fake name";
    private static final String FAKE_BT_ROUTE_ADDRESS = "11:22:33:44:55:66";