Author: lfryc(a)redhat.com
Date: 2010-10-01 10:09:38 -0400 (Fri, 01 Oct 2010)
New Revision: 19405
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestSimple.java
Log:
excludes ui:repeat template from a4j:repeat simple testing since it causes skipping all
subsequent test invocations (caused by RF-9396, incorporates RFPL-865)
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestSimple.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestSimple.java 2010-10-01
13:52:44 UTC (rev 19404)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jRepeat/TestSimple.java 2010-10-01
14:09:38 UTC (rev 19405)
@@ -33,6 +33,7 @@
import org.richfaces.tests.metamer.ftest.annotations.IssueTracking;
import org.richfaces.tests.metamer.ftest.annotations.Templates;
import org.richfaces.tests.metamer.ftest.annotations.Use;
+import org.testng.SkipException;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
@@ -40,6 +41,7 @@
* @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
* @version $Revision$
*/
+@Templates(exclude = { "uiRepeat1", "uiRepeat2" })
public class TestSimple extends AbstractMetamerTest {
protected static final int ELEMENTS_TOTAL = 20;
@@ -63,7 +65,7 @@
return buildUrl(contextPath,
"faces/components/a4jRepeat/simple.xhtml");
}
- @BeforeMethod
+ @BeforeMethod(alwaysRun = true)
public void prepareAttributes() {
model = new SimpleModel();
Show replies by date