Author: dsvyatobatsko
Date: 2008-10-31 12:48:31 -0400 (Fri, 31 Oct 2008)
New Revision: 10993
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java
Log:
https://jira.jboss.org/jira/browse/RF-4740
https://jira.jboss.org/jira/browse/RF-4741
https://jira.jboss.org/jira/browse/RF-4742
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java 2008-10-31
16:28:18 UTC (rev 10992)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java 2008-10-31
16:48:31 UTC (rev 10993)
@@ -113,6 +113,30 @@
tester.testAjaxSingleWithInternalValidationFailed();
}
+ @Test
+ public void testImmediate(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESTART_RESET);
+ writeStatus("Test immediate attribute");
+ tester.testImmediate();
+ }
+
+ @Test
+ public void testImmediateWithExternalValidationFailed(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESTART_RESET);
+ writeStatus("Test immediate attribute with external validation
failed");
+ tester.testImmediateWithExternalValidationFailed();
+ }
+
+ @Test
+ public void testListenersAreNotInvokedInCaseOfExternalValidationFailure(Template
template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESTART_RESET);
+ writeStatus("Test listeners aren't invoked in case of external
validation failure");
+ tester.testExtrenalValidationFailure();
+ }
+
@Override
public void sendAjax() {
delay(1500);