Author: dmaliarevich
Date: 2009-06-01 04:20:10 -0400 (Mon, 01 Jun 2009)
New Revision: 15620
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageAllFacets.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageAllFacets.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageEmpty.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageEmpty.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithLayout.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithLayout.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithNestedLayouts.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithNestedLayouts.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-4381, JUnits were added.
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageAllFacets.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageAllFacets.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageAllFacets.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageAllFacets.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageAllFacets.xhtml.xml 2009-06-01
08:20:10 UTC (rev 15620)
@@ -0,0 +1,42 @@
+<tests>
+ <test id="id1">
+
+ <DIV STYLE="background-color: white;"
CLASS="rich-pagesomeClass">
+ <DIV CLASS="rich-page-header">
+ <DIV CLASS="rich-page-header-content">
+ <SPAN STYLE="font-size: 2em;">
+ HEADER
+ </SPAN>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-subheader">
+ <SPAN STYLE="font-size: 2em;">
+ SUBHEADER
+ </SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-content">
+ <DIV CLASS="rich-page-sidebar">
+ <SPAN STYLE="font-size: 2em;">
+ SIDEBAR
+ </SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-main">
+ <DIV CLASS="rich-page-body">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ BODY START
+ </SPAN>
+ </H1>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-footer">
+ <DIV CLASS="rich-page-footer-content">
+ <SPAN STYLE="font-size: 2em;">
+ FOOTER
+ </SPAN>
+ </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/page/pageAllFacets.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/page/pageEmpty.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageEmpty.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageEmpty.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageEmpty.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageEmpty.xhtml.xml 2009-06-01
08:20:10 UTC (rev 15620)
@@ -0,0 +1,17 @@
+<tests>
+ <test id="id1">
+ <DIV CLASS="rich-page">
+ <DIV CLASS="rich-page-content">
+ <DIV CLASS="rich-page-main">
+ <DIV CLASS="rich-page-body">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ BODY START
+ </SPAN>
+ </H1>
+ </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/page/pageEmpty.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/page/pageWithLayout.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithLayout.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithLayout.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithLayout.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithLayout.xhtml.xml 2009-06-01
08:20:10 UTC (rev 15620)
@@ -0,0 +1,113 @@
+<tests>
+
+ <test id="id1">
+ <DIV STYLE="background-color: white;"
CLASS="rich-pagesomeClass">
+ <DIV CLASS="rich-page-header">
+ <DIV CLASS="rich-page-header-content">
+ <SPAN STYLE="font-size: 2em;">
+ HEADER
+ </SPAN>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-subheader">
+ <SPAN STYLE="font-size: 2em;">
+ SUBHEADER
+ </SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-content">
+ <DIV CLASS="rich-page-sidebar">
+ <SPAN STYLE="font-size: 2em;">
+ SIDEBAR
+ </SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-main">
+ <DIV CLASS="rich-page-body">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ BODY START
+ </SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+ </SPAN>
+ </DIV>
+ <DIV>
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-footer">
+ <DIV CLASS="rich-page-footer-content">
+ <SPAN STYLE="font-size: 2em;">
+ FOOTER
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </test>
+
+ <test id="id2">
+ <DIV STYLE="border: 1px solid black;" >
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+ </SPAN>
+ </DIV>
+ <DIV>
+ <DIV STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </DIV>
+ </DIV>
+ </test>
+
+ <test id="id3">
+ <DIV WIDTH="100%" STYLE="width: 100%;" >
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ </test>
+
+ <test id="id4">
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;" >
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+ </SPAN>
+ </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/page/pageWithLayout.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/page/pageWithNestedLayouts.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithNestedLayouts.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithNestedLayouts.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithNestedLayouts.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithNestedLayouts.xhtml.xml 2009-06-01
08:20:10 UTC (rev 15620)
@@ -0,0 +1,242 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="background-color: white;"
CLASS="rich-pagesomeClass">
+ <DIV CLASS="rich-page-header">
+ <DIV CLASS="rich-page-header-content">
+ <SPAN STYLE="font-size: 2em;">
+ HEADER
+ </SPAN>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-subheader">
+ <SPAN STYLE="font-size: 2em;">
+ SUBHEADER
+ </SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-content">
+ <DIV CLASS="rich-page-sidebar">
+ <SPAN STYLE="font-size: 2em;">
+ SIDEBAR
+ </SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-main">
+ <DIV CLASS="rich-page-body">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ BODY START
+ </SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black; background-color: white;"
+ >
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ CENTER PANEL 1
+ </SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="25%" STYLE="width: 25%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="75%" STYLE="width: 75%; float: left;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ CENTER PANEL 2
+ </SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL 3
+ </SPAN>
+ </DIV>
+ <DIV>
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV>
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV>
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-footer">
+ <DIV CLASS="rich-page-footer-content">
+ <SPAN STYLE="font-size: 2em;">
+ FOOTER
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </test>
+ <test id="id2">
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="25%" STYLE="width: 25%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="75%" STYLE="width: 75%; float: left;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ CENTER PANEL 2
+ </SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL 3
+ </SPAN>
+ </DIV>
+ <DIV>
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV>
+ <DIV STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </DIV>
+ </DIV>
+</test>
+ <test id="id3">
+
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;" >
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ CENTER PANEL 1
+ </SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;" >
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="25%" STYLE="width: 25%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="75%" STYLE="width: 75%; float: left;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ CENTER PANEL 2
+ </SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="width: 100%;">
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+ </SPAN>
+ </DIV>
+ <DIV WIDTH="50%" STYLE="width: 50%; float: left;">
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL 3
+ </SPAN>
+ </DIV>
+ <DIV>
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV>
+ <DIV STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+ </DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+ </SPAN>
+ </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/page/pageWithNestedLayouts.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 2009-05-31
09:54:14 UTC (rev 15619)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2009-06-01
08:20:10 UTC (rev 15620)
@@ -331,7 +331,23 @@
public void testDataTableSpacerDataScroller() throws Throwable {
performContentTest("components/dataTable&Spacer&DataScroller.xhtml");//$NON-NLS-1$
}
+
+ public void testPageEmpty() throws Throwable {
+ performContentTest("components/page/pageEmpty.xhtml");//$NON-NLS-1$
+ }
+ public void testPageAllFacets() throws Throwable {
+ performContentTest("components/page/pageAllFacets.xhtml");//$NON-NLS-1$
+ }
+
+ public void testPageWithLayout() throws Throwable {
+ performContentTest("components/page/pageWithLayout.xhtml");//$NON-NLS-1$
+ }
+
+ public void testPageWithNestedLayouts() throws Throwable {
+ performContentTest("components/page/pageWithNestedLayouts.xhtml");//$NON-NLS-1$
+ }
+
@Override
protected String getTestProjectName() {
return RichFacesAllTests.IMPORT_PROJECT_NAME;