aboutsummaryrefslogtreecommitdiff
path: root/android/WALT/app/src/test/java/org/chromium/latency/walt/UtilsTest.java
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2020-06-12 21:41:15 +0800
committerTai Kuo <taikuo@google.com>2020-06-20 09:36:27 +0800
commit085d6d10f95b24a4e609131743f49f0656696e9e (patch)
tree09a1f5af396b1a7581185cf1439f278253b9cc16 /android/WALT/app/src/test/java/org/chromium/latency/walt/UtilsTest.java
parent90cb0e4ec27bd3ac7e172fd3510de82fa3267bc8 (diff)
downloadwalt-085d6d10f95b24a4e609131743f49f0656696e9e.tar.gz
walt: app: fix Lint errors in the test folder
Fix warning in the test folder: Assert in junit.framework has been deprecated Bug: 149721303 Test: ./gradlew build --stacktrace --warning-mode all Signed-off-by: Tai Kuo <taikuo@google.com> Change-Id: Idcc4a02b0b3718135a4a51c5cebc1f3d1871cfd0
Diffstat (limited to 'android/WALT/app/src/test/java/org/chromium/latency/walt/UtilsTest.java')
-rw-r--r--android/WALT/app/src/test/java/org/chromium/latency/walt/UtilsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/WALT/app/src/test/java/org/chromium/latency/walt/UtilsTest.java b/android/WALT/app/src/test/java/org/chromium/latency/walt/UtilsTest.java
index 86513f4..33d8454 100644
--- a/android/WALT/app/src/test/java/org/chromium/latency/walt/UtilsTest.java
+++ b/android/WALT/app/src/test/java/org/chromium/latency/walt/UtilsTest.java
@@ -25,9 +25,9 @@ import java.util.List;
import java.util.Random;
import static java.lang.Double.NaN;
-import static junit.framework.Assert.assertEquals;
+import static org.junit.Assert.assertEquals;
import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
public class UtilsTest {