Author: dmaliarevich
Date: 2008-10-24 09:53:00 -0400 (Fri, 24 Oct 2008)
New Revision: 11158
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml.xml
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataOrderedList.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataOrderedList.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2810, tests for rich:dataDefinitionList,
rich:dataOrderedList.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml 2008-10-24
13:52:52 UTC (rev 11157)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml 2008-10-24
13:53:00 UTC (rev 11158)
@@ -9,9 +9,13 @@
<head>
</head>
<body>
- <!-- DataDefenitionList -->
- <rich:dataDefinitionList rows="5">
- <h:outputText value="testDefinitionList" />
+<f:view>
+ <rich:dataDefinitionList id="dataDefinitionList" rows="5">
+ <h:outputText value="row=1" />
+ <h:outputText value="row=2" />
+ <h:outputText value="row=3" />
+ <h:outputText value="row=4" />
</rich:dataDefinitionList>
+</f:view>
</body>
</html>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml.xml 2008-10-24
13:53:00 UTC (rev 11158)
@@ -0,0 +1,18 @@
+<tests>
+ <test id="dataDefinitionList">
+ <DL CLASS="listClass">
+ <DD CLASS="columnClass">
+ <SPAN> row=1 </SPAN>
+ </DD>
+ <DD CLASS="columnClass">
+ <SPAN> row=2 </SPAN>
+ </DD>
+ <DD CLASS="columnClass">
+ <SPAN> row=3 </SPAN>
+ </DD>
+ <DD CLASS="columnClass">
+ <SPAN> row=4 </SPAN>
+ </DD>
+ </DL>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataDefinitionList.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataOrderedList.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataOrderedList.xhtml 2008-10-24
13:52:52 UTC (rev 11157)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataOrderedList.xhtml 2008-10-24
13:53:00 UTC (rev 11158)
@@ -9,9 +9,13 @@
<head>
</head>
<body>
- <!-- Data Ordered List -->
- <rich:dataOrderedList rows="5">
- <h:outputText value="testOrderedList" />
- </rich:dataOrderedList>
+ <rich:dataOrderedList id="dataOrderedList" value=""
rows="5" type="A">
+ <h:outputText value="row=1" />
+ <h:outputText value="row=2" />
+ <h:outputText value="row=3" />
+ <h:outputText value="row=4" />
+ <h:outputText value="row=5" />
+ <h:outputText value="row=6" />
+</rich:dataOrderedList>
</body>
</html>
\ No newline at end of file
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataOrderedList.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataOrderedList.xhtml.xml 2008-10-24
13:52:52 UTC (rev 11157)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataOrderedList.xhtml.xml 2008-10-24
13:53:00 UTC (rev 11158)
@@ -1,5 +1,30 @@
<tests>
- <test id="dataOrderedList">
-
- </test>
-</tests>
\ No newline at end of file
+ <test id="dataOrderedList">
+ <OL TYPE="A" VALUE="" ROWS="5" CLASS="dr-list
rich-orderedlist">
+ <LI CLASS="dr-list-item rich-list-item">
+ <SPAN> row=1 </SPAN>
+ <SPAN> row=2 </SPAN>
+ <SPAN> row=3 </SPAN>
+ <SPAN> row=4 </SPAN>
+ <SPAN> row=5 </SPAN>
+ <SPAN> row=6 </SPAN>
+ </LI>
+ <LI CLASS="dr-list-item rich-list-item">
+ <SPAN> row=1 </SPAN>
+ <SPAN> row=2 </SPAN>
+ <SPAN> row=3 </SPAN>
+ <SPAN> row=4 </SPAN>
+ <SPAN> row=5 </SPAN>
+ <SPAN> row=6 </SPAN>
+ </LI>
+ <LI CLASS="dr-list-item rich-list-item">
+ <SPAN> row=1 </SPAN>
+ <SPAN> row=2 </SPAN>
+ <SPAN> row=3 </SPAN>
+ <SPAN> row=4 </SPAN>
+ <SPAN> row=5 </SPAN>
+ <SPAN> row=6 </SPAN>
+ </LI>
+ </OL>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2008-10-24
13:52:52 UTC (rev 11157)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2008-10-24
13:53:00 UTC (rev 11158)
@@ -91,11 +91,11 @@
}
public void testDataOrderedList() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performContentTest("components/dataOrderedList.xhtml");//$NON-NLS-1$
}
public void testDataDefinitionList() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performContentTest("components/dataDefinitionList.xhtml");//$NON-NLS-1$
}
public void testDataTable() throws Throwable {