Enable logging to console in DirectRTCClientTest.

This CL enables printing Android log to stdout for the test. This makes debugging the flakiness of the test easier.

BUG=webrtc:6475
R=magjed@webrtc.org

Review-Url: https://codereview.webrtc.org/2418413002
Cr-Commit-Position: refs/heads/master@{#14649}
This commit is contained in:
sakal
2016-10-17 03:17:09 -07:00
committed by Commit bot
parent 2f255d8d67
commit 7e76560c35

View File

@ -25,6 +25,7 @@ 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.webrtc.IceCandidate;
import org.webrtc.SessionDescription;
@ -52,6 +53,8 @@ public class DirectRTCClientTest {
@Before
public void setUp() {
ShadowLog.stream = System.out;
clientEvents = mock(AppRTCClient.SignalingEvents.class);
serverEvents = mock(AppRTCClient.SignalingEvents.class);