Author: dmaliarevich
Date: 2008-10-27 06:47:32 -0400 (Mon, 27 Oct 2008)
New Revision: 11198
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2810, test for rich:dataTable was updated, check
for not existed node was added to TestDomUtil.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml 2008-10-27
10:47:21 UTC (rev 11197)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml 2008-10-27
10:47:32 UTC (rev 11198)
@@ -10,7 +10,7 @@
</head>
<body>
<h1>dataTable</h1>
-
+<f:view>
<rich:dataTable cellpadding="0" cellspacing="0"
width="700" border="0"
var="row" value="#{bean.dtList}" rowKeyVar="rowKey"
id="dataTable">
@@ -74,6 +74,6 @@
</f:facet>
</rich:dataTable>
-
+<f:view>
</body>
</html>
\ No newline at end of file
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml 2008-10-27
10:47:21 UTC (rev 11197)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml 2008-10-27
10:47:32 UTC (rev 11198)
@@ -1,22 +1,22 @@
<tests>
<test id="dataTable">
<TABLE WIDTH="700" CELLSPACING="0" CELLPADDING="0"
BORDER="0"
- VAR="row" VALUE="#{bean.dtList}" ROWKEYVAR="rowKey"
ID="dataTable"
- CLASS="dr-table rich-table">
+ VAR="row" VALUE="#{bean.dtList}" ROWKEYVAR="rowKey"
CLASS="dr-table rich-table">
<COLGROUP SPAN="1">
</COLGROUP>
<THEAD>
- <TR CLASS="dr-table-header rich-table-header">
- <TD CLASS="dr-table-headercell rich-table-headercell"
ROWSPAN="2">
- <IMG WIDTH="1" HEIGHT="1" />
+ <TR CLASS="dr-table-header rich-table-header"
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources/common/background.gif\);/">
+ <TD ROWSPAN="2" CLASS="dr-table-headercell
rich-table-headercell">
+ <IMG WIDTH="1" HEIGHT="1"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/spacer/spacer.gif/"/>
</TD>
- <TD CLASS="dr-table-headercell rich-table-headercell"
COLSPAN="3">
+ <TD COLSPAN="3" CLASS="dr-table-headercell
rich-table-headercell">
<SPAN> FIELDS</SPAN>
</TD>
</TR>
<TR CLASS="dr-table-header-continue rich-table-header-continue">
- <TD CLASS="dr-table-headercell rich-table-headercell"
- BREAKBEFORE="true">
+ <TD BREAKBEFORE="true" CLASS="dr-table-headercell
rich-table-headercell">
<SPAN> field1</SPAN>
</TD>
<TD CLASS="dr-table-headercell rich-table-headercell">
@@ -30,7 +30,7 @@
<TFOOT>
<TR CLASS="dr-table-footer rich-table-footer">
<TD CLASS="dr-table-footercell rich-table-footercell">
- <BR />
+ <BR _MOZ_DIRTY="" TYPE="_moz"/>
</TD>
<TD CLASS="dr-table-footercell rich-table-footercell">
<SPAN> footer1</SPAN>
@@ -44,17 +44,21 @@
</TR>
</TFOOT>
<TBODY>
- <TR CLASS="dr-table-cell rich-table-cell">
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TR CLASS="dr-subtable-cell rich-subtable-cell">
+ <TD
+ CLASS="dr-table-cell rich-table-cell dr-subtable-cell rich-subtable-cell
dr-subtable-cell rich-subtable-cell dr-subtable-cell rich-subtable-cell dr-subtable-cell
rich-subtable-cell">
<SPAN> #{rowKey}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD
+ CLASS="dr-table-cell rich-table-cell dr-subtable-cell rich-subtable-cell
dr-subtable-cell rich-subtable-cell dr-subtable-cell rich-subtable-cell dr-subtable-cell
rich-subtable-cell">
<SPAN> #{row.field1}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD
+ CLASS="dr-table-cell rich-table-cell dr-subtable-cell rich-subtable-cell
dr-subtable-cell rich-subtable-cell dr-subtable-cell rich-subtable-cell dr-subtable-cell
rich-subtable-cell">
<SPAN> #{row.field2}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD
+ CLASS="dr-table-cell rich-table-cell dr-subtable-cell rich-subtable-cell
dr-subtable-cell rich-subtable-cell dr-subtable-cell rich-subtable-cell dr-subtable-cell
rich-subtable-cell">
<SPAN> #{row.field3}</SPAN>
</TD>
</TR>
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-10-27
10:47:21 UTC (rev 11197)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-10-27
10:47:32 UTC (rev 11198)
@@ -45,25 +45,25 @@
TestSuite suite = new TestSuite("Tests for Vpe RichFaces components"); //
$NON //$NON-NLS-1$
// $JUnit-BEGIN$
-// suite.addTestSuite(RichFacesComponentTest.class);
-// suite.addTestSuite(JBIDE1579Test.class);
-// suite.addTestSuite(Jbide1580Test.class);
-// suite.addTestSuite(JBIDE1613Test.class);
-// suite.addTestSuite(Jbide1614Test.class);
-// suite.addTestSuite(Jbide1639Test.class);
-// suite.addTestSuite(Jbide1682Test.class);
-// suite.addTestSuite(Jbide1548Test.class);
-// suite.addTestSuite(JBIDE1713Test.class);
-// suite.addTestSuite(RichFacesJBIDE1169Test.class);
-// suite.addTestSuite(RichFacesComboBoxTemplateTestCase.class);
-// suite.addTestSuite(RichFacesInplaceInputTemplateTestCase.class);
-// suite.addTestSuite(RichFacesInplaceSelectTemplateTestCase.class);
-// suite.addTestSuite(RichFacesProgressBarTemplateTestCase.class);
-// suite.addTestSuite(RichFacesFileUploadTemplateTestCase.class);
-// suite.addTestSuite(RichFacesColumnsTemplateTestCase.class);
-// suite.addTestSuite(RichFacesPickListTemplateTestCase.class);
-// suite.addTestSuite(JBIDE1605Test.class);
-// suite.addTestSuite(JBIDE1606Test.class);
+ suite.addTestSuite(RichFacesComponentTest.class);
+ suite.addTestSuite(JBIDE1579Test.class);
+ suite.addTestSuite(Jbide1580Test.class);
+ suite.addTestSuite(JBIDE1613Test.class);
+ suite.addTestSuite(Jbide1614Test.class);
+ suite.addTestSuite(Jbide1639Test.class);
+ suite.addTestSuite(Jbide1682Test.class);
+ suite.addTestSuite(Jbide1548Test.class);
+ suite.addTestSuite(JBIDE1713Test.class);
+ suite.addTestSuite(RichFacesJBIDE1169Test.class);
+ suite.addTestSuite(RichFacesComboBoxTemplateTestCase.class);
+ suite.addTestSuite(RichFacesInplaceInputTemplateTestCase.class);
+ suite.addTestSuite(RichFacesInplaceSelectTemplateTestCase.class);
+ suite.addTestSuite(RichFacesProgressBarTemplateTestCase.class);
+ suite.addTestSuite(RichFacesFileUploadTemplateTestCase.class);
+ suite.addTestSuite(RichFacesColumnsTemplateTestCase.class);
+ suite.addTestSuite(RichFacesPickListTemplateTestCase.class);
+ suite.addTestSuite(JBIDE1605Test.class);
+ suite.addTestSuite(JBIDE1606Test.class);
suite.addTestSuite(RichFacesComponentContentTest.class);
// $JUnit-END$