Rename DataBinderFactory subtypes for concision

This commit is contained in:
Chris Beams
2011-05-06 19:12:14 +00:00
parent 446dfdbff2
commit 2092a31f9d
6 changed files with 105 additions and 90 deletions

View File

@@ -34,13 +34,13 @@ import org.springframework.web.context.request.ServletWebRequest;
import org.springframework.web.servlet.HandlerMapping;
/**
* Test fixture with {@link ServletInitBinderMethodDataBinderFactory}.
*
* Test fixture with {@link ServletRequestDataBinderFactory}.
*
* @author Rossen Stoyanchev
*/
public class ServletInitBinderMethodDataBinderFactoryTests {
public class ServletRequestDataBinderFactoryTests {
private ServletInitBinderMethodDataBinderFactory binderFactory;
private ServletRequestDataBinderFactory binderFactory;
private MockHttpServletRequest request;
@@ -48,7 +48,7 @@ public class ServletInitBinderMethodDataBinderFactoryTests {
@Before
public void setup() {
binderFactory = new ServletInitBinderMethodDataBinderFactory(null, null);
binderFactory = new ServletRequestDataBinderFactory(null, null);
request = new MockHttpServletRequest();
webRequest = new ServletWebRequest(request);
RequestContextHolder.setRequestAttributes(webRequest);