X-Git-Url: https://juplo.de/gitweb/?p=percentcodec;a=blobdiff_plain;f=examples%2Fspring%2Fsrc%2Ftest%2Fjava%2Fde%2Fhalbekunst%2Fcachecontrol%2Fexamples%2FSpringMVCTest.java;fp=examples%2Fspring%2Fsrc%2Ftest%2Fjava%2Fde%2Fhalbekunst%2Fcachecontrol%2Fexamples%2FSpringMVCTest.java;h=f90d16e6bcfe5cf9f68dbd58b63b7680646b6dbd;hp=7250b5fb8454789f13b7d70ce53594590ad33da0;hb=7d842cadf2eb214510f38c8c034d33cc6ecfc2d6;hpb=a1aeed74b19ff960b557dfec1b494da18c79522e diff --git a/examples/spring/src/test/java/de/halbekunst/cachecontrol/examples/SpringMVCTest.java b/examples/spring/src/test/java/de/halbekunst/cachecontrol/examples/SpringMVCTest.java index 7250b5fb..f90d16e6 100644 --- a/examples/spring/src/test/java/de/halbekunst/cachecontrol/examples/SpringMVCTest.java +++ b/examples/spring/src/test/java/de/halbekunst/cachecontrol/examples/SpringMVCTest.java @@ -21,29 +21,8 @@ public class SpringMVCTest extends HttpTestCase { @Test - public void testSimplePage() throws Exception { - WebResponse response = executeRequest("http://localhost:8080/simple-page.jsp"); - log.info("Title:\t\t{}", response.getTitle()); - log.debug("Text:\t\t{}", response.getText()); - } - - @Test - public void testPageWithInclude() throws Exception { - WebResponse response = executeRequest("http://localhost:8080/page-with-include.jsp"); - log.info("Title:\t\t{}", response.getTitle()); - log.debug("Text:\t\t{}", response.getText()); - } - - @Test - public void testPageWithForward() throws Exception { - WebResponse response = executeRequest("http://localhost:8080/page-with-forward.jsp"); - log.info("Title:\t\t{}", response.getTitle()); - log.debug("Text:\t\t{}", response.getText()); - } - - @Test - public void testStaticContent() throws Exception { - WebResponse response = executeRequest("http://localhost:8080/default.css"); + public void testSpringPage() throws Exception { + WebResponse response = executeRequest("http://localhost:8080/spring-page.html"); log.info("Title:\t\t{}", response.getTitle()); log.debug("Text:\t\t{}", response.getText()); }