Author: dmaliarevich
Date: 2009-06-12 08:37:07 -0400 (Fri, 12 Jun 2009)
New Revision: 15922
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsTest/WebContent/pages/components/customFaceletComponent.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsTest/WebContent/pages/components/customFaceletComponent.xhtml.xml
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test/FaceletsComponentContentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4398, JUnit for ui:component was added.
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsTest/WebContent/pages/components/customFaceletComponent.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsTest/WebContent/pages/components/customFaceletComponent.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsTest/WebContent/pages/components/customFaceletComponent.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsTest/WebContent/pages/components/customFaceletComponent.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsTest/WebContent/pages/components/customFaceletComponent.xhtml.xml 2009-06-12
12:37:07 UTC (rev 15922)
@@ -0,0 +1,17 @@
+<tests>
+ <test id="id1">
+ <SPAN>
+ THIS SHOULD BE VISIBLE:
+ </SPAN>
+ </test>
+ <test id="id2">
+ <DIV CLASS="__any__tag__caption" STYLE="border: 1px solid green;
-moz-user-modify: read-only;">
+ component
+ </DIV>
+ </test>
+ <test id="id3">
+ <SPAN>
+ OUTPUT TEXT OUTSIDE THE UI:COMPONENT
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsTest/WebContent/pages/components/customFaceletComponent.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test/FaceletsComponentContentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test/FaceletsComponentContentTest.java 2009-06-12
11:32:24 UTC (rev 15921)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test/FaceletsComponentContentTest.java 2009-06-12
12:37:07 UTC (rev 15922)
@@ -21,6 +21,10 @@
performContentTest("components/compositionWithoutTaglibs.xhtml");//$NON-NLS-1$
}
+ public void testCustomFaceletComponent() throws Throwable {
+ performContentTest("components/customFaceletComponent.xhtml");//$NON-NLS-1$
+ }
+
@Override
protected String getTestProjectName() {
return FaceletsAllTests.IMPORT_PROJECT_NAME;