This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 06e3df0 Remove test loop 06e3df0 is described below commit 06e3df04497b6346e4090689fe75ff69240f6b23 Author: remm <r...@apache.org> AuthorDate: Wed Jun 5 16:06:00 2019 +0200 Remove test loop --- test/org/apache/coyote/http2/TestAsyncFlush.java | 8 -------- test/org/apache/coyote/http2/TestHttp2Section_5_3.java | 10 +--------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/test/org/apache/coyote/http2/TestAsyncFlush.java b/test/org/apache/coyote/http2/TestAsyncFlush.java index 3c4373b..8de4c54 100644 --- a/test/org/apache/coyote/http2/TestAsyncFlush.java +++ b/test/org/apache/coyote/http2/TestAsyncFlush.java @@ -28,8 +28,6 @@ import javax.servlet.http.HttpServletResponse; import org.junit.Assert; import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; import org.apache.catalina.Context; import org.apache.catalina.Wrapper; @@ -48,14 +46,8 @@ import org.apache.catalina.startup.Tomcat; * while the specification allows this to work - it doesn't require that * it does work. */ -@RunWith(Parameterized.class) public class TestAsyncFlush extends Http2TestBase { - @Parameterized.Parameters - public static Object[][] data() { - return new Object[10][0]; - } - private static final int BLOCK_SIZE = 1024; @Test diff --git a/test/org/apache/coyote/http2/TestHttp2Section_5_3.java b/test/org/apache/coyote/http2/TestHttp2Section_5_3.java index 64e86de..66277a7 100644 --- a/test/org/apache/coyote/http2/TestHttp2Section_5_3.java +++ b/test/org/apache/coyote/http2/TestHttp2Section_5_3.java @@ -18,8 +18,6 @@ package org.apache.coyote.http2; import org.junit.Assert; import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; /** * Unit tests for Section 5.3 of @@ -31,14 +29,8 @@ import org.junit.runners.Parameterized; * Note: Unit tests for the examples described by each of the figures may be * found in {@link TestAbstractStream}. */ -@RunWith(Parameterized.class) public class TestHttp2Section_5_3 extends Http2TestBase { - @Parameterized.Parameters - public static Object[][] data() { - return new Object[10][0]; - } - // Section 5.3.1 @Test @@ -172,7 +164,7 @@ public class TestHttp2Section_5_3 extends Http2TestBase { // on ci.apache.org so allow a margin and use 20. if (data[1] > 20) { // Larger than expected body size - Assert.fail("Larger than expected body: [" + output.getTrace() + "]"); + Assert.fail("Larger than expected body: [" + output.getTrace() + "] " + data[1]); } output.clearTrace(); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org