Index: talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java |
diff --git a/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java b/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java |
index dc78ddd657a2687be959110c10f0a5899a40d849..d14b5cd35901d2d0b48bf56cab4468527de12ff2 100644 |
--- a/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java |
+++ b/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java |
@@ -171,6 +171,15 @@ public class VideoCapturerAndroidTest extends ActivityTestCase { |
} |
@MediumTest |
+ public void testCameraEvents() throws InterruptedException { |
+ VideoCapturerAndroidTestFixtures.CameraEvents cameraEvents = |
+ VideoCapturerAndroidTestFixtures.createCameraEvents(); |
+ VideoCapturerAndroid capturer = VideoCapturerAndroid.create("", cameraEvents); |
+ VideoCapturerAndroidTestFixtures.cameraEventsInvoked( |
+ capturer, cameraEvents, getInstrumentation().getContext()); |
+ } |
+ |
+ @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); |