Index: components/cronet/android/test/javatests/src/org/chromium/net/SdchTest.java |
diff --git a/components/cronet/android/test/javatests/src/org/chromium/net/SdchTest.java b/components/cronet/android/test/javatests/src/org/chromium/net/SdchTest.java |
index e5517ba467ff60e20292598c56d4a7b19d8797c0..c9c16161873d59742a954e7b7d66fa66cecab712 100644 |
--- a/components/cronet/android/test/javatests/src/org/chromium/net/SdchTest.java |
+++ b/components/cronet/android/test/javatests/src/org/chromium/net/SdchTest.java |
@@ -8,6 +8,7 @@ import android.os.ConditionVariable; |
import android.test.suitebuilder.annotation.SmallTest; |
import org.chromium.base.test.util.Feature; |
+import org.chromium.net.CronetTestBase.OnlyRunNativeCronet; |
import java.io.BufferedReader; |
import java.io.FileReader; |
@@ -64,6 +65,7 @@ public class SdchTest extends CronetTestBase { |
@SmallTest |
@Feature({"Cronet"}) |
@SuppressWarnings("deprecation") |
+ @OnlyRunNativeCronet |
public void testSdchEnabled_LegacyApi() throws Exception { |
setUp(Sdch.ENABLED, Api.LEGACY); |
String targetUrl = NativeTestServer.getSdchURL() + "/sdch/test"; |
@@ -93,6 +95,7 @@ public class SdchTest extends CronetTestBase { |
@SmallTest |
@Feature({"Cronet"}) |
@SuppressWarnings("deprecation") |
+ @OnlyRunNativeCronet |
public void testSdchDisabled_LegacyApi() throws Exception { |
setUp(Sdch.DISABLED, Api.LEGACY); |
// Make a request to /sdch/index. |
@@ -108,6 +111,7 @@ public class SdchTest extends CronetTestBase { |
@SmallTest |
@Feature({"Cronet"}) |
@SuppressWarnings("deprecation") |
+ @OnlyRunNativeCronet |
public void testDictionaryNotFound_LegacyApi() throws Exception { |
setUp(Sdch.ENABLED, Api.LEGACY); |
// Make a request to /sdch/index which advertises a bad dictionary that |
@@ -129,6 +133,7 @@ public class SdchTest extends CronetTestBase { |
@SmallTest |
@Feature({"Cronet"}) |
+ @OnlyRunNativeCronet |
public void testSdchEnabled() throws Exception { |
setUp(Sdch.ENABLED, Api.ASYNC); |
String targetUrl = NativeTestServer.getSdchURL() + "/sdch/test"; |
@@ -182,6 +187,7 @@ public class SdchTest extends CronetTestBase { |
@SmallTest |
@Feature({"Cronet"}) |
+ @OnlyRunNativeCronet |
public void testSdchDisabled() throws Exception { |
setUp(Sdch.DISABLED, Api.ASYNC); |
// Make a request to /sdch. |
@@ -195,6 +201,7 @@ public class SdchTest extends CronetTestBase { |
@SmallTest |
@Feature({"Cronet"}) |
+ @OnlyRunNativeCronet |
public void testDictionaryNotFound() throws Exception { |
setUp(Sdch.ENABLED, Api.ASYNC); |
// Make a request to /sdch/index which advertises a bad dictionary that |