From a88470964c55dc655022d1f46370565aa3be535f Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Tue, 2 Jun 2015 14:26:39 -0700 Subject: [PATCH] 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} --- .../java/testcommon/src/org/webrtc/PeerConnectionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java b/talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java index 224225cdc7..02a76da550 100644 --- a/talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java +++ b/talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java @@ -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 {