This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit f2a244c45bf415b59e42b398af42fd14a11bc2df
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Aug 21 12:22:35 2020 +0100

    Improve naming
---
 .../http2/{TestAbortedUpload.java => TestCancelledUpload.java} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/org/apache/coyote/http2/TestAbortedUpload.java 
b/test/org/apache/coyote/http2/TestCancelledUpload.java
similarity index 93%
rename from test/org/apache/coyote/http2/TestAbortedUpload.java
rename to test/org/apache/coyote/http2/TestCancelledUpload.java
index 69e093b..a89dc55 100644
--- a/test/org/apache/coyote/http2/TestAbortedUpload.java
+++ b/test/org/apache/coyote/http2/TestCancelledUpload.java
@@ -31,10 +31,10 @@ import org.apache.catalina.Context;
 import org.apache.catalina.LifecycleException;
 import org.apache.catalina.startup.Tomcat;
 
-public class TestAbortedUpload extends Http2TestBase {
+public class TestCancelledUpload extends Http2TestBase {
 
     @Test
-    public void testAbortedRequest() throws Exception {
+    public void testCancelledRequest() throws Exception {
         http2Connect();
 
         http2Protocol.setAllowedTrailerHeaders(TRAILER_HEADER_NAME);
@@ -94,14 +94,14 @@ public class TestAbortedUpload extends Http2TestBase {
 
         // Retain '/simple' url-pattern since it enables code re-use
         Context ctxt = tomcat.addContext("", null);
-        Tomcat.addServlet(ctxt, "abort", new AbortServlet());
-        ctxt.addServletMappingDecoded("/simple", "abort");
+        Tomcat.addServlet(ctxt, "cancel", new CancelServlet());
+        ctxt.addServletMappingDecoded("/simple", "cancel");
 
         tomcat.start();
     }
 
 
-    private static class AbortServlet extends SimpleServlet {
+    private static class CancelServlet extends SimpleServlet {
 
         private static final long serialVersionUID = 1L;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to