Author: scabanovich
Date: 2010-01-29 11:37:34 -0500 (Fri, 29 Jan 2010)
New Revision: 20020
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config-2.xml
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/testCases.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-5471
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config-2.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config-2.xml 2010-01-29
16:01:06 UTC (rev 20019)
+++
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config-2.xml 2010-01-29
16:37:34 UTC (rev 20020)
@@ -19,7 +19,7 @@
<behavior-extension/>
<behavior-extension/>
</behavior>
- <managed-bean>
+ <managed-bean eager="true">
<managed-bean-name>a</managed-bean-name>
<managed-bean-class>A</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
@@ -28,6 +28,7 @@
<from-view-id>cc</from-view-id>
<navigation-case>
<from-outcome>aaa</from-outcome>
+ <if>#{a.b}</if>
<to-view-id>/c2.jsp</to-view-id>
<redirect include-view-params="true">
<view-param>
@@ -38,11 +39,14 @@
</navigation-case>
</navigation-rule>
<absolute-ordering>
- <name>name1</name>
+ <name>n1</name>
</absolute-ordering>
<ordering>
+ <after>
+ <others/>
+ </after>
<before>
- <name>n3</name>
+ <name>n2</name>
</before>
</ordering>
<render-kit>
@@ -53,6 +57,7 @@
</client-behavior-renderer>
</render-kit>
<application>
+ <default-render-kit-id>kit</default-render-kit-id>
<resource-handler>MyResourceHandler</resource-handler>
<system-event-listener>
<system-event-listener-class>MySystemEventListener</system-event-listener-class>
@@ -63,4 +68,12 @@
<validator-id id="MyDefaultValidator">validator1</validator-id>
</default-validators>
</application>
+ <factory>
+
<exception-handler-factory>MyExceptionHandlerFactory</exception-handler-factory>
+
<external-context-factory>MyExternalContextFactory</external-context-factory>
+
<partial-view-context-factory>MyPartialViewContextFactory</partial-view-context-factory>
+
<view-declaration-language-factory>MyViewDeclarationLanguageFactory</view-declaration-language-factory>
+
<tag-handler-delegate-factory>MyTagHandlerDelegateFactory</tag-handler-delegate-factory>
+ <visit-context-factory>MyVisitContextFactory</visit-context-factory>
+ </factory>
</faces-config>
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/testCases.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/testCases.xml 2010-01-29
16:01:06 UTC (rev 20019)
+++
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/testCases.xml 2010-01-29
16:37:34 UTC (rev 20020)
@@ -587,4 +587,96 @@
<property name="attributeValue" value="MyDefaultValidator"/>
</test>
+ <!-- <client-behavior-renderer> -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/Render
Kits/kit/MyClientBehaviorRendererType"/>
+ <property name="attributeName" value="renderer-class"/>
+ <property name="attributeValue" value="MyRenderer"/>
+ </test>
+
+ <!-- @include-view-params -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/Navigation
Rules/rules:cc:0/aaa::#c2.jsp/Redirect"/>
+ <property name="attributeName" value="include-view-params"/>
+ <property name="attributeValue" value="true"/>
+ </test>
+ <!-- <view-param -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/Navigation
Rules/rules:cc:0/aaa::#c2.jsp/Redirect/p1"/>
+ <property name="attributeName" value="value"/>
+ <property name="attributeValue" value="v1"/>
+ </test>
+
+ <!-- @if -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/Navigation
Rules/rules:cc:0/aaa::#c2.jsp"/>
+ <property name="attributeName" value="if"/>
+ <property name="attributeValue" value="#{a.b}"/>
+ </test>
+
+ <!-- <exception-handler-factory> -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/factory"/>
+ <property name="attributeName"
value="exception-handler-factory"/>
+ <property name="attributeValue"
value="MyExceptionHandlerFactory"/>
+ </test>
+
+ <!-- <external-context-factory> -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/factory"/>
+ <property name="attributeName"
value="external-context-factory"/>
+ <property name="attributeValue"
value="MyExternalContextFactory"/>
+ </test>
+
+ <!-- <partial-view-context-factory> -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/factory"/>
+ <property name="attributeName"
value="partial-view-context-factory"/>
+ <property name="attributeValue"
value="MyPartialViewContextFactory"/>
+ </test>
+
+ <!-- <view-declaration-language-factory> -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/factory"/>
+ <property name="attributeName"
value="view-declaration-language-factory"/>
+ <property name="attributeValue"
value="MyViewDeclarationLanguageFactory"/>
+ </test>
+
+ <!-- <tag-handler-delegate-factory> -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/factory"/>
+ <property name="attributeName"
value="tag-handler-delegate-factory"/>
+ <property name="attributeValue"
value="MyTagHandlerDelegateFactory"/>
+ </test>
+
+ <!-- <visit-context-factory> -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/factory"/>
+ <property name="attributeName"
value="visit-context-factory"/>
+ <property name="attributeValue"
value="MyVisitContextFactory"/>
+ </test>
+
+ <!-- @eager -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path" value="/faces-config-2.xml/Managed
Beans/a"/>
+ <property name="attributeName" value="eager"/>
+ <property name="attributeValue" value="true"/>
+ </test>
+
+ <!-- <absolute-ordering> -->
+ <test name="JSFModelTest:testPaths">
+ <property name="path" value="/faces-config-2.xml/Orderings/Absolute
Ordering/n1"/>
+ </test>
+
+ <!-- <after> <others> -->
+ <test name="JSFModelTest:testPaths:attribute">
+ <property name="path"
value="/faces-config-2.xml/Orderings/ordering/After"/>
+ <property name="attributeName" value="others"/>
+ <property name="attributeValue" value="true"/>
+ </test>
+ <!-- <before> -->
+ <test name="JSFModelTest:testPaths">
+ <property name="path"
value="/faces-config-2.xml/Orderings/ordering/Before/n2"/>
+ </test>
+
</tests>
\ No newline at end of file