diff --git a/examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java b/examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java index 3060bd7a56..d7c190518c 100644 --- a/examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java +++ b/examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java @@ -33,12 +33,12 @@ import androidx.test.core.app.ApplicationProvider; import java.util.ArrayList; import java.util.List; import org.appspot.apprtc.AppRTCBluetoothManager.State; -import org.chromium.testing.local.LocalRobolectricTestRunner; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.annotation.Config; import org.robolectric.shadows.ShadowLog; +import org.robolectric.RobolectricTestRunner; /** * Verifies basic behavior of the AppRTCBluetoothManager class. @@ -46,7 +46,7 @@ import org.robolectric.shadows.ShadowLog; * but a mocked version is used instead. Hence, the parts "driven" by the AppRTC * audio manager are not included in this test. */ -@RunWith(LocalRobolectricTestRunner.class) +@RunWith(RobolectricTestRunner.class) @Config(manifest = Config.NONE) public class BluetoothManagerTest { private static final String TAG = "BluetoothManagerTest"; diff --git a/examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java b/examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java index 2da8164ec7..1ee0e41390 100644 --- a/examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java +++ b/examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java @@ -20,12 +20,12 @@ import static org.mockito.Mockito.timeout; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; -import org.chromium.testing.local.LocalRobolectricTestRunner; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.annotation.Config; import org.robolectric.shadows.ShadowLog; +import org.robolectric.RobolectricTestRunner; import org.webrtc.IceCandidate; import org.webrtc.SessionDescription; @@ -33,7 +33,7 @@ import org.webrtc.SessionDescription; * Test for DirectRTCClient. Test is very simple and only tests the overall sanity of the class * behaviour. */ -@RunWith(LocalRobolectricTestRunner.class) +@RunWith(RobolectricTestRunner.class) @Config(manifest = Config.NONE) public class DirectRTCClientTest { private static final String ROOM_URL = ""; diff --git a/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java b/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java index b301d6317c..ce550b35e4 100644 --- a/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java +++ b/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java @@ -15,7 +15,6 @@ import static org.mockito.Mockito.timeout; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; -import org.chromium.testing.local.LocalRobolectricTestRunner; import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -24,12 +23,13 @@ import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.robolectric.annotation.Config; import org.robolectric.shadows.ShadowLog; +import org.robolectric.RobolectricTestRunner; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; -@RunWith(LocalRobolectricTestRunner.class) +@RunWith(RobolectricTestRunner.class) @Config(manifest = Config.NONE) public class TCPChannelClientTest { private static final int PORT = 8888;