| 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 32c28aaf7964964a144a4bfd90e0dfda0f5938ac..be04e1a8c6f0891f432588751de29ea80e73161a 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
|
| @@ -125,6 +125,8 @@ public class CronetUrlRequestContextTest extends CronetTestBase {
|
|
|
| @SmallTest
|
| @Feature({"Cronet"})
|
| + @OnlyRunNativeCronet
|
| + // Depends on creating a new CronetEngine, which the test framework doesn't yet support
|
| public void testConfigUserAgent() throws Exception {
|
| String userAgentName = "User-Agent";
|
| String userAgentValue = "User-Agent-Value";
|
| @@ -145,6 +147,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 {
|
| @@ -429,6 +432,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));
|
| @@ -531,6 +535,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));
|
| @@ -601,6 +606,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");
|
| @@ -633,6 +639,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");
|
|
|