Author: dmaliarevich
Date: 2008-10-22 11:43:08 -0400 (Wed, 22 Oct 2008)
New Revision: 11084
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panel.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBar.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBarItem.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBarItem.xhtml.xml
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panel.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBar.xhtml
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:panel, rich:panelBar,
rich:panelBarItem.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panel.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panel.xhtml 2008-10-22
15:40:40 UTC (rev 11083)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panel.xhtml 2008-10-22
15:43:08 UTC (rev 11084)
@@ -10,12 +10,13 @@
</head>
<body>
-<!-- Panel component -->
- <rich:panel>
+<f:view>
+ <rich:panel id="panel">
<f:facet name="header">
- This rich panel component
+ Panel Header
</f:facet>
- Test rich panel component
+ Panel Content
</rich:panel>
+</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/panel.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panel.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panel.xhtml.xml 2008-10-22
15:43:08 UTC (rev 11084)
@@ -0,0 +1,13 @@
+<tests>
+ <test id="panel">
+ <DIV CLASS="dr-pnl rich-panel">
+ <DIV CLASS="dr-pnl-h rich-panel-header"
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources/common/background.gif\);/">
+ <SPAN> Panel Header </SPAN>
+ </DIV>
+ <DIV CLASS="dr-pnl-b rich-panel-body">
+ <SPAN> Panel Content </SPAN>
+ </DIV>
+ </DIV>
+ </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/panel.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/panelBar.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBar.xhtml 2008-10-22
15:40:40 UTC (rev 11083)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBar.xhtml 2008-10-22
15:43:08 UTC (rev 11084)
@@ -10,13 +10,12 @@
</head>
<body>
-<!-- Panel bar component -->
- <rich:panelBar height="50" width="500">
+ <rich:panelBar id="panelBar" height="50"
width="500">
<rich:panelBarItem label="Panel bar item 1">
- Test panel bar item component
+ Test panel bar item component 1
</rich:panelBarItem>
<rich:panelBarItem label="Panel bar item 2">
- Test panel bar item component
+ Test panel bar item component 2
</rich:panelBarItem>
</rich:panelBar>
</body>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBar.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBar.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBar.xhtml.xml 2008-10-22
15:43:08 UTC (rev 11084)
@@ -0,0 +1,29 @@
+<tests>
+ <test id="panelBar">
+ <TABLE CLASS="dr-pnlbar rich-panelbar dr-pnlbar-b" STYLE="padding:
0px; height: 50px; width: 500px;">
+ <DIV CLASS="dr-pnlbar rich-panelbar dr-pnlbar-ext" STYLE=""
+ VPE-USER-TOGGLE-ID="0">
+ <DIV CLASS="dr-pnlbar-h rich-panelbar-header" STYLE=""
+ VPE-USER-TOGGLE-ID="0"> Panel bar item 1 </DIV>
+ </DIV>
+ <TR HEIGHT="100%" WIDTH="100%">
+ <TD>
+ <TABLE WIDTH="100%" HEIGHT="100%"
CELLPADDING="0">
+ <TBODY>
+ <TR>
+ <TD CLASS="dr-pnlbar-c rich-panelbar-content"
STYLE="">
+ <SPAN> Test panel bar item component 1 </SPAN>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+ </TR>
+ <DIV CLASS="dr-pnlbar rich-panelbar dr-pnlbar-ext" STYLE=""
+ VPE-USER-TOGGLE-ID="1">
+ <DIV CLASS="dr-pnlbar-h rich-panelbar-header" STYLE=""
+ VPE-USER-TOGGLE-ID="1"> Panel bar item 2 </DIV>
+ </DIV>
+ </TABLE>
+ </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/panelBar.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBarItem.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBarItem.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBarItem.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBarItem.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/panelBarItem.xhtml.xml 2008-10-22
15:43:08 UTC (rev 11084)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="panelBarItem">
+ <DIV CLASS="dr-pnlbar rich-panelbar dr-pnlbar-ext" STYLE=""
+ VPE-USER-TOGGLE-ID="0">
+ <DIV CLASS="dr-pnlbar-h rich-panelbar-header" STYLE=""
+ VPE-USER-TOGGLE-ID="0"> Panel bar item 1</DIV>
+ </DIV>
+ </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/panelBarItem.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
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-22
15:40:40 UTC (rev 11083)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2008-10-22
15:43:08 UTC (rev 11084)
@@ -220,15 +220,15 @@
}
public void testPanel() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performContentTest("components/panel.xhtml");//$NON-NLS-1$
}
public void testPanelBar() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performContentTest("components/panelBar.xhtml");//$NON-NLS-1$
}
public void testPanelBarItem() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performContentTest("components/panelBarItem.xhtml");//$NON-NLS-1$
}
public void testPanelMenu() throws Throwable {