Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java

Issue 2341443002: [Cronet] Strip prefix of EFFECTIVE_CONNECTION_TYPE to just TYPE_blah (Closed)
Patch Set: fix tests Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java
diff --git a/components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java b/components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java
index 2cf6fb85e3d46a7d9ca34fa506401fd0e6c7ac6d..16f6cbfcbc25c3ae694e00e54200754d430cecf1 100644
--- a/components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java
+++ b/components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java
@@ -229,7 +229,7 @@ public class QuicTest extends CronetTestBase {
// Verify that effective connection type callback is received and
// effective connection type is correctly set.
assertTrue(mTestFramework.mCronetEngine.getEffectiveConnectionType()
- != EffectiveConnectionType.EFFECTIVE_CONNECTION_TYPE_UNKNOWN);
+ != EffectiveConnectionType.TYPE_UNKNOWN);
mTestFramework.mCronetEngine.shutdown();
}

Powered by Google App Engine
This is Rietveld 408576698