| Index: webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| diff --git a/webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java b/webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| index 98b8d2b89abb31957a94fee8239f36fad3ed31f5..2e4bd38bd9ea1b535a1a2f7f5072de1d4d0f0dff 100644
|
| --- a/webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| +++ b/webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| @@ -153,6 +153,18 @@ public class VideoCapturerAndroidTest extends ActivityTestCase {
|
| }
|
|
|
| @MediumTest
|
| + public void testCameraEventsUsingTextures() throws InterruptedException {
|
| + EglBase eglBase = EglBase.create();
|
| + VideoCapturerAndroidTestFixtures.CameraEvents cameraEvents =
|
| + VideoCapturerAndroidTestFixtures.createCameraEvents();
|
| + VideoCapturerAndroid capturer =
|
| + VideoCapturerAndroid.create("", cameraEvents, eglBase.getEglBaseContext());
|
| + VideoCapturerAndroidTestFixtures.cameraEventsInvoked(
|
| + capturer, cameraEvents, getInstrumentation().getContext());
|
| + eglBase.release();
|
| + }
|
| +
|
| + @MediumTest
|
| // Test what happens when attempting to call e.g. switchCamera() after camera has been stopped.
|
| public void testCameraCallsAfterStop() throws InterruptedException {
|
| final String deviceName = CameraEnumerationAndroid.getDeviceName(0);
|
|
|