Make android_junit_tests use LocalRobolectricTestRunner

This was originally fixed in https://codereview.webrtc.org/2346793002
but that CL was reverted. In the reland (https://codereview.webrtc.org/2348663003)
only the GN change was included, not the code change.

BUG=webrtc:6365
NOTRY=True
TBR=sakal@webrtc.org

Review URL: https://codereview.webrtc.org/2348083003 .

Cr-Commit-Position: refs/heads/master@{#14281}
This commit is contained in:
Henrik Kjellander 2016-09-18 21:28:06 +02:00
parent 4a9abad208
commit da96288904

View File

@ -15,9 +15,9 @@ import static org.webrtc.CameraEnumerationAndroid.getClosestSupportedFramerateRa
import org.webrtc.CameraEnumerationAndroid.CaptureFormat.FramerateRange;
import org.chromium.testing.local.LocalRobolectricTestRunner;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import java.util.Arrays;
@ -25,7 +25,7 @@ import java.util.Arrays;
/**
* Tests for CameraEnumerationAndroid.
*/
@RunWith(RobolectricTestRunner.class)
@RunWith(LocalRobolectricTestRunner.class)
@Config(manifest = Config.NONE)
public class CameraEnumerationTest {
@Test