Author: abelevich
Date: 2009-03-13 09:33:17 -0400 (Fri, 13 Mar 2009)
New Revision: 12950
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java
Log:
add reset method
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java 2009-03-12
20:24:03 UTC (rev 12949)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java 2009-03-13
13:33:17 UTC (rev 12950)
@@ -27,7 +27,9 @@
public class BeanValidatorTest extends SeleniumTestBase {
- private static final String NAME = "name";
+ private static final String RESET_METHOD = "#{validationBean.reset}" ;
+
+ private static final String NAME = "name";
private static final String AGE = "age";
@@ -39,7 +41,7 @@
@Test
public void testBeanValidatorComponent(Template template) {
- renderPage(template);
+ renderPage(template, RESET_METHOD);
writeStatus("Check bean validator component with model-based constraints
defined using hibernate validator.");
Show replies by date