Author: lfryc(a)redhat.com
Date: 2010-09-02 22:51:06 -0400 (Thu, 02 Sep 2010)
New Revision: 19101
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDataGrid/TestScrollerOutsideTable.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richExtendedDataTable/TestScroller.java
Log:
fixed tests for iteration components which can't be controlled by scroller outside of
another iteration component
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDataGrid/TestScrollerOutsideTable.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDataGrid/TestScrollerOutsideTable.java 2010-09-02
16:57:55 UTC (rev 19100)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richDataGrid/TestScrollerOutsideTable.java 2010-09-03
02:51:06 UTC (rev 19101)
@@ -28,11 +28,16 @@
import org.testng.annotations.Test;
/**
+ * <p>
+ * Templates: doesn't work inside iteration components.
+ * </p>
+ *
* @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
* @version $Revision$
*/
@Use(field = "dataScroller", value = "dataScroller1")
-@Templates(value = "plain")
+@Templates(exclude = { "a4jRepeat1", "a4jRepeat2",
"hDataTable1", "hDataTable2", "richDataTable1,redDiv",
+ "richDataTable2,redDiv", "uiRepeat1", "uiRepeat2" })
public class TestScrollerOutsideTable extends AbstractScrollerTest {
public TestScrollerOutsideTable() throws JAXBException {
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richExtendedDataTable/TestScroller.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richExtendedDataTable/TestScroller.java 2010-09-02
16:57:55 UTC (rev 19100)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richExtendedDataTable/TestScroller.java 2010-09-03
02:51:06 UTC (rev 19101)
@@ -29,6 +29,7 @@
import org.jboss.test.selenium.locator.IdLocator;
import org.richfaces.tests.metamer.ftest.AbstractMetamerTest;
+import org.richfaces.tests.metamer.ftest.annotations.Templates;
import org.richfaces.tests.metamer.ftest.model.AssertingDataScroller;
import org.richfaces.tests.metamer.ftest.model.DataScroller;
import org.richfaces.tests.metamer.ftest.model.DataTable;
@@ -66,11 +67,19 @@
}
/**
+ * <p>
* Tests row count for scroller outside of the EDT.
+ * </p>
*
+ * <p>
+ * Templates: doesn't work inside iteration components.
+ * </p>
+ *
* @see {@link #testRowCount(DataScroller)}
*/
@Test
+ @Templates(exclude = { "a4jRepeat1", "a4jRepeat2",
"hDataTable1", "hDataTable2", "richDataTable1,redDiv",
+ "richDataTable2,redDiv", "uiRepeat1", "uiRepeat2"
})
public void testRowCountOutsideTable() {
testRowCount(dataScroller1);
}