| Index: components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java
|
| diff --git a/components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java b/components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java
|
| index 1132c06999e22942d1b07072ae4c25937ee34016..693d8d7f1689d9edbad56acbc4ed7de684636673 100644
|
| --- a/components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java
|
| +++ b/components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java
|
| @@ -123,6 +123,7 @@ public class CronetUrlRequestContextTest extends CronetTestBase {
|
|
|
| @SmallTest
|
| @Feature({"Cronet"})
|
| + @OnlyRunNativeCronet
|
| public void testConfigUserAgent() throws Exception {
|
| String userAgentName = "User-Agent";
|
| String userAgentValue = "User-Agent-Value";
|
| @@ -143,6 +144,7 @@ public class CronetUrlRequestContextTest extends CronetTestBase {
|
|
|
| @SmallTest
|
| @Feature({"Cronet"})
|
| + @OnlyRunNativeCronet
|
| // TODO(xunjieli): Remove annotation after crbug.com/539519 is fixed.
|
| @SuppressWarnings("deprecation")
|
| public void testDataReductionProxyEnabled() throws Exception {
|
| @@ -427,6 +429,7 @@ public class CronetUrlRequestContextTest extends CronetTestBase {
|
|
|
| @SmallTest
|
| @Feature({"Cronet"})
|
| + @OnlyRunNativeCronet
|
| public void testNetLog() throws Exception {
|
| Context context = getContext();
|
| File directory = new File(PathUtils.getDataDirectory(context));
|
| @@ -529,6 +532,7 @@ public class CronetUrlRequestContextTest extends CronetTestBase {
|
|
|
| @SmallTest
|
| @Feature({"Cronet"})
|
| + @OnlyRunNativeCronet
|
| public void testNetLogWithBytes() throws Exception {
|
| Context context = getContext();
|
| File directory = new File(PathUtils.getDataDirectory(context));
|
| @@ -599,6 +603,7 @@ public class CronetUrlRequestContextTest extends CronetTestBase {
|
|
|
| @SmallTest
|
| @Feature({"Cronet"})
|
| + @OnlyRunNativeCronet
|
| public void testEnableHttpCacheDisabled() throws Exception {
|
| enableCache(CronetEngine.Builder.HTTP_CACHE_DISABLED);
|
| String url = NativeTestServer.getFileURL("/cacheable.txt");
|
| @@ -631,6 +636,7 @@ public class CronetUrlRequestContextTest extends CronetTestBase {
|
|
|
| @SmallTest
|
| @Feature({"Cronet"})
|
| + @OnlyRunNativeCronet
|
| public void testEnableHttpCacheDiskNoHttp() throws Exception {
|
| enableCache(CronetEngine.Builder.HTTP_CACHE_DISABLED);
|
| String url = NativeTestServer.getFileURL("/cacheable.txt");
|
|
|