Import org.junit.Assert instead of junit.framework.Assert.
This fixed the warning: app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java:46: warning: [deprecation] Assert in junit.framework has been deprecated import static junit.framework.Assert.*; R=glaznev@webrtc.org, pthatcher@webrtc.org BUG=none Review URL: https://webrtc-codereview.appspot.com/50209004 Cr-Commit-Position: refs/heads/master@{#9356}
This commit is contained in:
parent
a398020cba
commit
a88470964c
@ -43,7 +43,7 @@ import java.util.TreeSet;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import static junit.framework.Assert.*;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/** End-to-end tests for PeerConnection.java. */
|
||||
public class PeerConnectionTest {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user