Author: dmaliarevich
Date: 2010-11-05 14:11:36 -0400 (Fri, 05 Nov 2010)
New Revision: 26310
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordion.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordion.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordionItem.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordionItem.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/collapsiblePanel.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/collapsiblePanel.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/itemChangeListener.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/popupPanel.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/togglePanelItem.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/togglePanelItem.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/toolBarSeparator.xhtml
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelBarTemplate.java
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/RichFacesComponentTest.java
Log:
https://jira.jboss.org/browse/JBIDE-7451 , JUnits were added, small code adjustment.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelBarTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelBarTemplate.java 2010-11-05
17:45:07 UTC (rev 26309)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelBarTemplate.java 2010-11-05
18:11:36 UTC (rev 26310)
@@ -36,6 +36,7 @@
VpeTemplate {
private static final String PERCENT_100 = "100%"; //$NON-NLS-1$
private static final String PANEL_BAR_ITEM = ":panelBarItem";
//$NON-NLS-1$
+ private static final String ACCORDION_BAR_ITEM = ":accordionItem";
//$NON-NLS-1$
private static final String DR_PNLBAR_RICH_PANELBAR_DR_PNLBAR_B = "dr-pnlbar
rich-panelbar dr-pnlbar-b"; //$NON-NLS-1$
private static final String PANEL_BAR_PANEL_BAR_CSS =
"panelBar/panelBar.css"; //$NON-NLS-1$
private static Map<Node, String> toggleMap = new HashMap<Node,
String>();
@@ -85,7 +86,8 @@
for (Node child : children) {
boolean active = (i == activeId);
- if (child.getNodeName().endsWith(PANEL_BAR_ITEM)) {
+ if (child.getNodeName().endsWith(PANEL_BAR_ITEM)
+ || child.getNodeName().endsWith(ACCORDION_BAR_ITEM)) {
RichFacesPanelItemTemplate.encode(creationData, pageContext, (Element)
child,
visualDocument, table, active,
ComponentUtil.getAttribute(sourceElement,
RichFaces.ATTR_STYLE_CLASS),
@@ -214,7 +216,8 @@
int count = 0;
for (Node child : children) {
- if (child.getNodeName().endsWith(PANEL_BAR_ITEM)) {
+ if (child.getNodeName().endsWith(PANEL_BAR_ITEM)
+ || child.getNodeName().endsWith(ACCORDION_BAR_ITEM)) {
count++;
}
}
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordion.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordion.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordion.xhtml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+<head>
+</head>
+
+<body>
+ <rich:accordion id="accordion" height="50"
width="500">
+ <rich:accordionItem label="Panel bar item 1">
+ Test panel bar item component 1
+ </rich:accordionItem>
+ <rich:accordionItem label="Panel bar item 2">
+ Test panel bar item component 2
+ </rich:accordionItem>
+ </rich:accordion>
+</body>
+</html>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordion.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordion.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordion.xhtml.xml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,31 @@
+<tests>
+ <test id="accordion">
+ <DIV>
+ <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>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordionItem.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordionItem.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordionItem.xhtml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+<head>
+</head>
+
+<body>
+ <rich:accordion height="50" width="500">
+ <rich:accordionItem id="accordionItem" label="Panel bar item
1">
+ Test panel bar item component 1
+ </rich:accordionItem>
+ <rich:accordionItem label="Panel bar item 2">
+ Test panel bar item component 2
+ </rich:accordionItem>
+ </rich:accordion>
+</body>
+</html>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordionItem.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordionItem.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/accordionItem.xhtml.xml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="accordionItem">
+ <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
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/collapsiblePanel.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/collapsiblePanel.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/collapsiblePanel.xhtml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+<head>
+</head>
+
+<body>
+<f:view>
+ <rich:panel id="panel">
+ <f:facet name="header">
+ Panel Header
+ </f:facet>
+ 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/collapsiblePanel.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/collapsiblePanel.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/collapsiblePanel.xhtml.xml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,17 @@
+<tests>
+ <test id="panel">
+ <DIV CLASS="dr-pnl rich-panel ">
+ <DIV VPE-FACET="header" CLASS="dr-pnl-h rich-panel-header "
+ STYLE="display: none;">
+ </DIV>
+ <DIV CLASS="dr-pnl-b rich-panel-body ">
+ <SPAN CLASS="vpe-text">
+ Panel Header
+ </SPAN>
+ <SPAN CLASS="vpe-text">
+ Panel Content
+ </SPAN>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/itemChangeListener.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/itemChangeListener.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/itemChangeListener.xhtml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+<head>
+</head>
+
+<body>
+<f:view>
+ <rich:tree switchType="client" style="width:300px"
+ value="#{library.data}" var="item"
nodeFace="#{item.type}">
+ <rich:itemChangeListener id="itemChangeListener"
binding="demo.ListenerBean" />
+ <rich:treeNode type="artist">
+ <h:outputText value="#{item.name}" />
+ </rich:treeNode>
+ <rich:treeNode type="album">
+ <h:outputText value="#{item.title}" />
+ </rich:treeNode>
+ <rich:treeNode type="song">
+ <h:outputText value="#{item.title}" />
+ </rich:treeNode>
+ </rich:tree>
+</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/popupPanel.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/popupPanel.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/popupPanel.xhtml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,17 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+<head>
+</head>
+<body>
+<f:view>
+ <rich:popupPanel id="popupPanel">
+ </rich:popupPanel>
+</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/togglePanelItem.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/togglePanelItem.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/togglePanelItem.xhtml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+<head>
+</head>
+<body>
+<f:view>
+ <rich:togglePanel>
+ <rich:togglePanelItem id="togglePanelItem">
+ abcdef
+ <div>
+ 111111111111
+ </div>
+ <h:outputText value="2222222222222" />
+ </rich:togglePanelItem>
+ </rich:togglePanel>
+</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/togglePanelItem.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/togglePanelItem.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/togglePanelItem.xhtml.xml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,17 @@
+<tests>
+ <test id="togglePanelItem">
+<DIV>
+<SPAN CLASS="vpe-text">
+abcdef
+</SPAN>
+<DIV STYLE="-moz-user-modify: read-write;">
+<SPAN CLASS="vpe-text">
+111111111111
+</SPAN>
+</DIV>
+<SPAN CLASS="vpe-text">
+2222222222222
+</SPAN>
+</DIV>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/toolBarSeparator.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/toolBarSeparator.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/toolBarSeparator.xhtml 2010-11-05
18:11:36 UTC (rev 26310)
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+<head>
+</head>
+
+<body>
+<f:view>
+<rich:toolBar>
+ <rich:toolBarGroup>
+ <h:graphicImage id="edit" value="images/img12.gif"
style="width : 16px; height : 14px;"/>
+ <h:outputLabel value="Edit" for="edit" />
+ </rich:toolBarGroup>
+ <rich:toolBarSeparator id="toolBarSeparator"/>
+</rich:toolBar>
+</f:view>
+</body>
+</html>
\ 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 2010-11-05
17:45:07 UTC (rev 26309)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2010-11-05
18:11:36 UTC (rev 26310)
@@ -389,6 +389,30 @@
performContentTest("components/select.xhtml");//$NON-NLS-1$
}
+ public void testCollapsiblePanel() throws Throwable {
+ performContentTest("components/collapsiblePanel.xhtml");//$NON-NLS-1$
+ }
+
+ public void testToolBarSeparator() throws Throwable {
+ performInvisibleTagTest("components/toolBarSeparator.xhtml",
"toolBarSeparator"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testChangeExpandListener() throws Throwable {
+ performInvisibleTagTest("components/changeExpandListener.xhtml",
"changeExpandListener"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testPopupPanel() throws Throwable {
+ performInvisibleTagTest("components/popupPanel.xhtml",
"popupPanel"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testAccordion() throws Throwable {
+ performContentTest("components/accordion.xhtml");//$NON-NLS-1$
+ }
+
+ public void testTogglePanelItem() throws Throwable {
+ performContentTest("components/togglePanelItem.xhtml");//$NON-NLS-1$
+ }
+
@Override
protected String getTestProjectName() {
return RichFacesAllTests.IMPORT_PROJECT_NAME;
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2010-11-05
17:45:07 UTC (rev 26309)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2010-11-05
18:11:36 UTC (rev 26310)
@@ -28,12 +28,12 @@
setCheckWarning(false);
}
+
public void testAllComponentsOnSinglePage() throws PartInitException,
Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
"components/richFacesTest.xhtml", RichFacesAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
-
public void testCalendar() throws PartInitException, Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
"components/calendar.xhtml", RichFacesAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
@@ -218,4 +218,19 @@
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
"components/subTable.xhtml", RichFacesAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
+
+ public void collapsiblePanel() throws PartInitException, Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/collapsiblePanel.xhtml",
RichFacesAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ }
+
+ public void testAccordion() throws PartInitException, Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/accordion.xhtml", RichFacesAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
+ }
+
+ public void testAccordionItem() throws PartInitException, Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/accordionItem.xhtml",
RichFacesAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ }
}