Author: nbelaevski
Date: 2009-03-17 10:11:16 -0400 (Tue, 17 Mar 2009)
New Revision: 12979
Added:
trunk/test-applications/regressionArea/regressionArea-tests/src/main/
trunk/test-applications/regressionArea/regressionArea-tests/src/main/resources/
trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6267/
trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6267/Test.java
Modified:
trunk/test-applications/regressionArea/regressionArea-tests/src/test/resources/testng.xml
Log:
https://jira.jboss.org/jira/browse/RF-6267
Copied:
trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6267/Test.java
(from rev 12931,
trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6035/Test.java)
===================================================================
---
trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6267/Test.java
(rev 0)
+++
trunk/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6267/Test.java 2009-03-17
14:11:16 UTC (rev 12979)
@@ -0,0 +1,50 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+package org.richfaces.testng.rf6267;
+
+import org.richfaces.SeleniumTestBase;
+
+/**
+ * @author Nick Belaevski
+ * @since 3.3.1
+ */
+public class Test extends SeleniumTestBase {
+
+ @org.testng.annotations.Test
+ public void testExecute() throws Exception {
+ renderPage();
+
+ AssertPresent("form:table:5:columns0");
+ AssertNotPresent("form:table:5:columns1");
+ AssertPresent("form:table:5:columns2");
+ AssertPresent("form:table:5:columns3");
+ AssertPresent("form:table:5:columns4");
+ AssertPresent("form:table:5:columns5");
+ }
+
+
+ @Override
+ public String getTestUrl() {
+ return "pages/rf6267.xhtml";
+ }
+}
Modified:
trunk/test-applications/regressionArea/regressionArea-tests/src/test/resources/testng.xml
===================================================================
---
trunk/test-applications/regressionArea/regressionArea-tests/src/test/resources/testng.xml 2009-03-17
14:10:58 UTC (rev 12978)
+++
trunk/test-applications/regressionArea/regressionArea-tests/src/test/resources/testng.xml 2009-03-17
14:11:16 UTC (rev 12979)
@@ -29,6 +29,7 @@
<package name="org.richfaces.testng.rf5948" />
<package name="org.richfaces.testng.rf5933" />
<package name="org.richfaces.testng.rf6035" />
+ <package name="org.richfaces.testng.rf6267" />
</packages>
</test>
</suite>