Author: lfryc(a)redhat.com
Date: 2010-11-17 04:21:53 -0500 (Wed, 17 Nov 2010)
New Revision: 20064
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestMatrix.java
Log:
a4j:repeat - TestMatrix - renamed methods to be obvious, extended by
testMatrixAfterRefresh
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestMatrix.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestMatrix.java 2010-11-17
04:50:22 UTC (rev 20063)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestMatrix.java 2010-11-17
09:21:53 UTC (rev 20064)
@@ -123,11 +123,22 @@
}
@Test
+ public void testMatrixAfterRerender() {
+ testChanging();
+
+ rerenderAll();
+
+ checkMatrix();
+ }
+
+ @Test
public void testMatrixAfterRefresh() {
testChanging();
- refreshAll();
+ selenium.refresh();
+ selenium.waitForPageToLoad();
+ initializeMatrix();
checkMatrix();
}
@@ -160,7 +171,7 @@
}
}
- private void refreshAll() {
+ private void rerenderAll() {
waitXhr(selenium).click(jq("img#controlsForm\\:reRenderAllImage"));
}
Show replies by date