Author: shane.bryzak(a)jboss.com
Date: 2009-10-08 01:21:09 -0400 (Thu, 08 Oct 2009)
New Revision: 3890
Added:
ri/trunk/tests/src/test/resources/org/jboss/weld/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/examples/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/examples/beans.xml
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/bootstrap/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/bootstrap/javax.enterprise.inject.spi.Extension
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/decorator/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/decorator/simple/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/decorator/simple/beans.xml
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/faces-config.xml
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/home.xhtml
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/web.xml
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/ejb/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/ejb/beans.xml
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/simple/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/simple/beans.xml
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/xml/
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/xml/parser/
Log:
add test resources
Added: ri/trunk/tests/src/test/resources/org/jboss/weld/test/examples/beans.xml
===================================================================
--- ri/trunk/tests/src/test/resources/org/jboss/weld/test/examples/beans.xml
(rev 0)
+++ ri/trunk/tests/src/test/resources/org/jboss/weld/test/examples/beans.xml 2009-10-08
05:21:09 UTC (rev 3890)
@@ -0,0 +1,5 @@
+<beans>
+ <alternatives>
+ <class>org.jboss.weld.test.examples.MockSentenceTranslator</class>
+ </alternatives>
+</beans>
Added:
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/bootstrap/javax.enterprise.inject.spi.Extension
===================================================================
---
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/bootstrap/javax.enterprise.inject.spi.Extension
(rev 0)
+++
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/bootstrap/javax.enterprise.inject.spi.Extension 2009-10-08
05:21:09 UTC (rev 3890)
@@ -0,0 +1 @@
+org.jboss.weld.test.unit.bootstrap.InitializedObserver
Added:
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/decorator/simple/beans.xml
===================================================================
--- ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/decorator/simple/beans.xml
(rev 0)
+++
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/decorator/simple/beans.xml 2009-10-08
05:21:09 UTC (rev 3890)
@@ -0,0 +1,6 @@
+<beans>
+ <decorators>
+
<class>org.jboss.weld.test.unit.decorator.simple.SimpleDecorator1</class>
+
<class>org.jboss.weld.test.unit.decorator.simple.SimpleDecorator2</class>
+ </decorators>
+</beans>
Added:
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/faces-config.xml
===================================================================
---
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/faces-config.xml
(rev 0)
+++
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/faces-config.xml 2009-10-08
05:21:09 UTC (rev 3890)
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<faces-config version="2.0"
+
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2.0.xsd">
+
+</faces-config>
\ No newline at end of file
Added:
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/home.xhtml
===================================================================
---
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/home.xhtml
(rev 0)
+++
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/home.xhtml 2009-10-08
05:21:09 UTC (rev 3890)
@@ -0,0 +1,33 @@
+<!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">
+
+ <h:head>
+ <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
+ <title>JSF 2.0 Web Beans Example</title>
+ </h:head>
+
+ <h:body>
+ <h:form id="NumberGuessMain">
+ <h:panelGrid styleClass="title-panel">
+ <h:outputText value="Guess Number"
styleClass="title-panel-text"/>
+ <h:outputText value="Powered By JavaServer Faces 2.0 and Web
Beans" styleClass="title-panel-subtext"/>
+ </h:panelGrid>
+
+ <div style="color: black; font-size: 20px;">
+ Transactional Services
+ </div>
+
+ <h:panelGrid border="1" columns="5"
style="font-size: 18px;">
+ <h:commandButton id="SaveButton" value="Save"
action="#{foo.save}" />
+ </h:panelGrid>
+
+ <div style="color: red; font-size: 14px;">
+ <h:messages id="messages" globalOnly="false"/>
+ </div>l
+ </h:form>
+ </h:body>
+
+</html>
Added:
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/web.xml
===================================================================
---
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/web.xml
(rev 0)
+++
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/implementation/event/tx/web.xml 2009-10-08
05:21:09 UTC (rev 3890)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.5"
+
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+
+ <display-name>Web Beans Test</display-name>
+
+
+ <!-- JSF -->
+
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+
+ <session-config>
+ <session-timeout>10</session-timeout>
+ </session-config>
+
+</web-app>
Added:
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/ejb/beans.xml
===================================================================
--- ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/ejb/beans.xml
(rev 0)
+++
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/ejb/beans.xml 2009-10-08
05:21:09 UTC (rev 3890)
@@ -0,0 +1,6 @@
+<beans>
+ <interceptors>
+ <class>org.jboss.weld.test.unit.interceptor.ejb.Goalkeeper</class>
+ <class>org.jboss.weld.test.unit.interceptor.ejb.Defender</class>
+ </interceptors>
+</beans>
Added:
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/simple/beans.xml
===================================================================
---
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/simple/beans.xml
(rev 0)
+++
ri/trunk/tests/src/test/resources/org/jboss/weld/test/unit/interceptor/simple/beans.xml 2009-10-08
05:21:09 UTC (rev 3890)
@@ -0,0 +1,9 @@
+<beans>
+ <interceptors>
+
<class>org.jboss.weld.test.unit.interceptor.simple.SimpleInterceptor</class>
+
<class>org.jboss.weld.test.unit.interceptor.simple.TwoBindingsInterceptor</class>
+ </interceptors>
+ <decorators>
+
<class>org.jboss.weld.test.unit.interceptor.simple.SimpleDecorator</class>
+ </decorators>
+</beans>