bind and validate lifecycle rename

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1437 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald
2009-06-26 05:02:00 +00:00
parent 0aafa46932
commit 01fdaa1693
2 changed files with 7 additions and 5 deletions
@@ -12,14 +12,15 @@ import org.junit.Before;
import org.junit.Test;
import org.springframework.ui.alert.Severity;
import org.springframework.ui.alert.support.DefaultAlertContext;
import org.springframework.ui.binding.Binder;
import org.springframework.ui.binding.Bound;
import org.springframework.ui.binding.Model;
import org.springframework.ui.binding.support.WebBinderFactory;
import org.springframework.ui.format.number.CurrencyFormat;
public class WebBindAndValidateLifecycleTests {
public class BindAndValidateLifecycleTests {
private WebBindAndValidateLifecycle lifecycle;
private BindAndValidateLifecycle lifecycle;
private TestBean model;
@@ -29,7 +30,8 @@ public class WebBindAndValidateLifecycleTests {
public void setUp() {
model = new TestBean();
alertContext = new DefaultAlertContext();
lifecycle = new WebBindAndValidateLifecycle(new WebBinderFactory().getBinder(model), alertContext);
Binder binder = new WebBinderFactory().getBinder(model);
lifecycle = new BindAndValidateLifecycle(binder, alertContext);
}
@Test