Skip to content

Commit 47701c8

Browse files
jleconte2WebRTC LUCI CQ
authored andcommitted
Chromium LocalRobolectricTestRunner has been removed.
This is a follow up on https://chromium-review.googlesource.com/c/chromium/src/+/44503. Change-Id: I28a0789a0af43cfac27081c9b5bcf695e9798910 Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/303020 Reviewed-by: Björn Terelius <terelius@webrtc.org> Reviewed-by: Per Kjellander <perkj@webrtc.org> Commit-Queue: Jeremy Leconte <jleconte@google.com> Cr-Commit-Position: refs/heads/main@{#39933}
1 parent 94774d4 commit 47701c8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@
3333
import java.util.ArrayList;
3434
import java.util.List;
3535
import org.appspot.apprtc.AppRTCBluetoothManager.State;
36-
import org.chromium.testing.local.LocalRobolectricTestRunner;
3736
import org.junit.Before;
3837
import org.junit.Test;
3938
import org.junit.runner.RunWith;
4039
import org.robolectric.annotation.Config;
4140
import org.robolectric.shadows.ShadowLog;
41+
import org.robolectric.RobolectricTestRunner;
4242

4343
/**
4444
* Verifies basic behavior of the AppRTCBluetoothManager class.
4545
* Note that the test object uses an AppRTCAudioManager (injected in ctor),
4646
* but a mocked version is used instead. Hence, the parts "driven" by the AppRTC
4747
* audio manager are not included in this test.
4848
*/
49-
@RunWith(LocalRobolectricTestRunner.class)
49+
@RunWith(RobolectricTestRunner.class)
5050
@Config(manifest = Config.NONE)
5151
public class BluetoothManagerTest {
5252
private static final String TAG = "BluetoothManagerTest";

examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
import static org.mockito.Mockito.verify;
2121
import static org.mockito.Mockito.verifyNoMoreInteractions;
2222

23-
import org.chromium.testing.local.LocalRobolectricTestRunner;
2423
import org.junit.Before;
2524
import org.junit.Test;
2625
import org.junit.runner.RunWith;
2726
import org.robolectric.annotation.Config;
2827
import org.robolectric.shadows.ShadowLog;
28+
import org.robolectric.RobolectricTestRunner;
2929
import org.webrtc.IceCandidate;
3030
import org.webrtc.SessionDescription;
3131

3232
/**
3333
* Test for DirectRTCClient. Test is very simple and only tests the overall sanity of the class
3434
* behaviour.
3535
*/
36-
@RunWith(LocalRobolectricTestRunner.class)
36+
@RunWith(RobolectricTestRunner.class)
3737
@Config(manifest = Config.NONE)
3838
public class DirectRTCClientTest {
3939
private static final String ROOM_URL = "";

examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import static org.mockito.Mockito.verify;
1616
import static org.mockito.Mockito.verifyNoMoreInteractions;
1717

18-
import org.chromium.testing.local.LocalRobolectricTestRunner;
1918
import org.junit.After;
2019
import org.junit.Before;
2120
import org.junit.Test;
@@ -24,12 +23,13 @@
2423
import org.mockito.MockitoAnnotations;
2524
import org.robolectric.annotation.Config;
2625
import org.robolectric.shadows.ShadowLog;
26+
import org.robolectric.RobolectricTestRunner;
2727

2828
import java.util.concurrent.ExecutorService;
2929
import java.util.concurrent.Executors;
3030
import java.util.concurrent.TimeUnit;
3131

32-
@RunWith(LocalRobolectricTestRunner.class)
32+
@RunWith(RobolectricTestRunner.class)
3333
@Config(manifest = Config.NONE)
3434
public class TCPChannelClientTest {
3535
private static final int PORT = 8888;

0 commit comments

Comments
 (0)