Skip to content

Commit

Permalink
[cronet] remove usages of @feature
Browse files Browse the repository at this point in the history
This is used by chromium's test runner which we don't use anymore.
See crrev/c/169004

Change-Id: I618d4f764f700a818c0f79b12509b6e91c7b285d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4214772
Commit-Queue: Chidera Olibie <colibie@google.com>
Reviewed-by: Stefano Duo <stefanoduo@google.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1100969}
  • Loading branch information
colibie authored and Chromium LUCI CQ committed Feb 3, 2023
1 parent 56ab45a commit 67a7ad2
Show file tree
Hide file tree
Showing 34 changed files with 0 additions and 441 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.junit.Test;
import org.junit.runner.RunWith;

import org.chromium.base.test.util.Feature;
import org.chromium.net.CronetTestRule.OnlyRunNativeCronet;
import org.chromium.net.MetricsTestUtil.TestRequestFinishedListener;

Expand Down Expand Up @@ -73,7 +72,6 @@ public void tearDown() throws Exception {

@Test
@SmallTest
@Feature({"Cronet"})
@OnlyRunNativeCronet
// Test that QUIC is negotiated.
public void testSimpleGet() throws Exception {
Expand All @@ -95,7 +93,6 @@ public void testSimpleGet() throws Exception {

@Test
@SmallTest
@Feature({"Cronet"})
@OnlyRunNativeCronet
public void testSimplePost() throws Exception {
String path = "/simple.txt";
Expand Down Expand Up @@ -136,7 +133,6 @@ public void testSimplePost() throws Exception {

@Test
@SmallTest
@Feature({"Cronet"})
@OnlyRunNativeCronet
public void testSimplePostWithFlush() throws Exception {
// TODO(xunjieli): Use ParameterizedTest instead of the loop.
Expand Down Expand Up @@ -169,7 +165,6 @@ public void testSimplePostWithFlush() throws Exception {

@Test
@SmallTest
@Feature({"Cronet"})
@OnlyRunNativeCronet
public void testSimplePostWithFlushTwice() throws Exception {
// TODO(xunjieli): Use ParameterizedTest instead of the loop.
Expand Down Expand Up @@ -205,7 +200,6 @@ public void testSimplePostWithFlushTwice() throws Exception {

@Test
@SmallTest
@Feature({"Cronet"})
@OnlyRunNativeCronet
public void testSimpleGetWithFlush() throws Exception {
// TODO(xunjieli): Use ParameterizedTest instead of the loop.
Expand Down Expand Up @@ -249,7 +243,6 @@ public void onStreamReady(BidirectionalStream stream) {

@Test
@SmallTest
@Feature({"Cronet"})
@OnlyRunNativeCronet
public void testSimplePostWithFlushAfterOneWrite() throws Exception {
// TODO(xunjieli): Use ParameterizedTest instead of the loop.
Expand Down Expand Up @@ -280,7 +273,6 @@ public void testSimplePostWithFlushAfterOneWrite() throws Exception {

@Test
@SmallTest
@Feature({"Cronet"})
@OnlyRunNativeCronet
// Tests that if the stream failed between the time when we issue a Write()
// and when the Write() is executed in the native stack, there is no crash.
Expand Down Expand Up @@ -329,7 +321,6 @@ public void onWriteCompleted(BidirectionalStream stream, UrlResponseInfo info,

@Test
@SmallTest
@Feature({"Cronet"})
@OnlyRunNativeCronet
public void testStreamFailWithQuicDetailedErrorCode() throws Exception {
String path = "/simple.txt";
Expand Down

0 comments on commit 67a7ad2

Please sign in to comment.