Author: dmaliarevich
Date: 2008-10-24 08:44:22 -0400 (Fri, 24 Oct 2008)
New Revision: 11147
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/changeExpandListener.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/nodeSelectListener.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/recursiveTreeNodesAdaptor.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/recursiveTreeNodesAdaptor.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/treeNodesAdaptor.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/treeNodesAdaptor.xhtml.xml
Modified:
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:changeExpandListener,
rich:nodeSelectListener, rich:recursiveTreeNodesAdaptor, rich:treeNodesAdaptor.
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/changeExpandListener.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/changeExpandListener.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/nodeSelectListener.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/nodeSelectListener.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/recursiveTreeNodesAdaptor.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/recursiveTreeNodesAdaptor.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/recursiveTreeNodesAdaptor.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/recursiveTreeNodesAdaptor.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/recursiveTreeNodesAdaptor.xhtml.xml 2008-10-24
12:44:22 UTC (rev 11147)
@@ -0,0 +1,97 @@
+<tests>
+ <test id="dir">
+ <DIV ID="treeNodesAdaptor" CLASS="dr-tree-h-ic-div">
+ <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"
+ CLASS="dr-tree-full-width">
+ <TBODY>
+ <TR>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/line.gif\); background-position:
center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconClosedNodeWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_EXPANDED_PARAM"/>
+ </TD>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/leftLine.gif\);
background-position: center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNodeWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_PARAM"/>
+ </TD>
+ <TD CLASS="treeNodeNameStyle">
+ <A>Directory: #{dir.name}</A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ <DIV ID="treeNodesAdaptor" CLASS="dr-tree-h-ic-div">
+ <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"
+ CLASS="dr-tree-full-width">
+ <TBODY>
+ <TR>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/line.gif\); background-position:
center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNotCollapsedWithAllLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_EXPANDED_PARAM"/>
+ </TD>
+ <TD>
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconLeafWithLines.gif/"
+ RICHFACESTREENODEPARAM="iconLeaf"/>
+ </TD>
+ <TD CLASS="treeNodeNameStyle">
+ <A>File: #{file.name}</A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </DIV>
+ <DIV ID="treeNodesAdaptor" CLASS="dr-tree-h-ic-div">
+ <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"
+ CLASS="dr-tree-full-width">
+ <TBODY>
+ <TR>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/line.gif\); background-position:
center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNotCollapsedWithAllLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_EXPANDED_PARAM"/>
+ </TD>
+ <TD>
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconLeafWithLines.gif/"
+ RICHFACESTREENODEPARAM="iconLeaf"/>
+ </TD>
+ <TD CLASS="treeNodeNameStyle">
+ <A>File1: #{file.name}</A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </DIV>
+ <DIV ID="treeNodesAdaptor" CLASS="dr-tree-h-ic-div">
+ <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"
+ CLASS="dr-tree-full-width">
+ <TBODY>
+ <TR>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/rightLine.gif\);
background-position: center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNotCollapsedWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_EXPANDED_PARAM"/>
+ </TD>
+ <TD>
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconLeafWithLines.gif/"
+ RICHFACESTREENODEPARAM="iconLeaf"/>
+ </TD>
+ <TD CLASS="treeNodeNameStyle">
+ <A>Archive entry: #{archiveEntry.name}</A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </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/recursiveTreeNodesAdaptor.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/treeNodesAdaptor.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/treeNodesAdaptor.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/treeNodesAdaptor.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/treeNodesAdaptor.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/treeNodesAdaptor.xhtml.xml 2008-10-24
12:44:22 UTC (rev 11147)
@@ -0,0 +1,101 @@
+<tests>
+ <test id="project">
+
+ <DIV ID="treeNodesAdaptor">
+ <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"
+ CLASS="dr-tree-full-width">
+ <TBODY>
+ <TR>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/line.gif\); background-position:
center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconClosedNodeWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_EXPANDED_PARAM"/>
+ </TD>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/leftLine.gif\);
background-position: center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNodeWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_PARAM"/>
+ </TD>
+ <TD CLASS="treeNodeNameStyle">
+ <A>Project: #{project.name}</A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ <DIV ID="treeNodesAdaptor" CLASS="dr-tree-h-ic-div">
+ <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"
+ CLASS="dr-tree-full-width">
+ <TBODY>
+ <TR>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/line.gif\); background-position:
center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconClosedNodeWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_EXPANDED_PARAM"/>
+ </TD>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/leftLine.gif\);
background-position: center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNodeWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_PARAM"/>
+ </TD>
+ <TD CLASS="treeNodeNameStyle">
+ <A>Source directory: #{srcDir.name}</A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ <DIV ID="treeNodesAdaptor" CLASS="dr-tree-h-ic-div">
+ <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"
+ CLASS="dr-tree-full-width">
+ <TBODY>
+ <TR>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/line.gif\); background-position:
center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconClosedNodeWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_EXPANDED_PARAM"/>
+ </TD>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/leftLine.gif\);
background-position: center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNodeWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_PARAM"/>
+ </TD>
+ <TD CLASS="treeNodeNameStyle">
+ <A>Package: #{pkg.name}</A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ <DIV ID="treeNodesAdaptor" CLASS="dr-tree-h-ic-div">
+ <TABLE CELLSPACING="0" CELLPADDING="0"
BORDER="0"
+ CLASS="dr-tree-full-width">
+ <TBODY>
+ <TR>
+ <TD
+ STYLE="/background-image:
url\(.*org.jboss.tools.jsf.vpe.richfaces/resources//tree/rightLine.gif\);
background-position: center; background-repeat: repeat-y;/">
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNotCollapsedWithLines.gif/"
+ RICHFACESTREENODEPARAM="DEFAULT_ICON_EXPANDED_PARAM"/>
+ </TD>
+ <TD>
+ <IMG CLASS="treePictureStyle"
+ SRC="/.*org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconLeafWithLines.gif/"
+ RICHFACESTREENODEPARAM="iconLeaf"/>
+ </TD>
+ <TD CLASS="treeNodeNameStyle">
+ <A>Class: #{class.name}</A>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </DIV>
+ </DIV>
+ </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/treeNodesAdaptor.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-24
12:32:37 UTC (rev 11146)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2008-10-24
12:44:22 UTC (rev 11147)
@@ -308,19 +308,19 @@
}
public void testChangeExpandListener() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performInvisibleTagTest("components/changeExpandListener.xhtml",
"changeExpandListener"); //$NON-NLS-1$ //$NON-NLS-2$
}
public void testNodeSelectListener() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performInvisibleTagTest("components/nodeSelectListener.xhtml",
"nodeSelectListener"); //$NON-NLS-1$ //$NON-NLS-2$
}
public void testRecursiveTreeNodesAdaptor() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performContentTest("components/recursiveTreeNodesAdaptor.xhtml");//$NON-NLS-1$
}
public void testTreeNodesAdaptor() throws Throwable {
- assertTrue("it is necessary to add a body of the test ",
false);//$NON-NLS-1$
+ performContentTest("components/treeNodesAdaptor.xhtml");//$NON-NLS-1$
}
protected String getTestProjectName() {