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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user