Browse Source

Uncommented test case

pull/23217/head
Arjen Poutsma 17 years ago
parent
commit
aff17ca9e5
  1. 2
      org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java

2
org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java

@ -167,13 +167,11 @@ public class UriTemplateServletAnnotationControllerTests { @@ -167,13 +167,11 @@ public class UriTemplateServletAnnotationControllerTests {
writer.write("specific");
}
/*
@RequestMapping("/hotels/{hotel}")
public void handleVars(@PathVariable("hotel") String hotel, Writer writer) throws IOException {
assertEquals("Invalid path variable value", "42", hotel);
writer.write("variables");
}
*/
@RequestMapping("/hotels/*")
public void handleWildCard(Writer writer) throws IOException {

Loading…
Cancel
Save