[seam-commits] Seam SVN: r15080 - branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Aug 24 07:07:07 EDT 2012


Author: maschmid
Date: 2012-08-24 07:07:07 -0400 (Fri, 24 Aug 2012)
New Revision: 15080

Modified:
   branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces/SessionScopedOutjectionOverwriteTest.java
Log:
rename SessionScopedOutjectionOverwriteTest beans to avoid name conflict with other tests


Modified: branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces/SessionScopedOutjectionOverwriteTest.java
===================================================================
--- branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces/SessionScopedOutjectionOverwriteTest.java	2012-08-24 10:43:24 UTC (rev 15079)
+++ branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces/SessionScopedOutjectionOverwriteTest.java	2012-08-24 11:07:07 UTC (rev 15080)
@@ -35,7 +35,7 @@
    @ArquillianResource
    URL contextPath;
    
-   @Deployment(name="SessionScopedIdlingTest", testable=false)
+   @Deployment(name="SessionScopedOutjectionOverwriteTest", testable=false)
    @OverProtocol("Servlet 3.0") 
    public static Archive<?> createDeployment()
    {
@@ -51,8 +51,8 @@
                   "<h:body>" +
                      "<h:form id='form'>" +
                      "<h:outputText value='Output: #{output}.'/>" +
-                     "<h:commandButton id='foo' action='#{foo.foo}' value='foo' />" +
-                     "<h:commandButton id='bar' action='#{bar.bar}' value='bar' />" +
+                     "<h:commandButton id='foo' action='#{faces.foo.foo}' value='foo' />" +
+                     "<h:commandButton id='bar' action='#{faces.bar.bar}' value='bar' />" +
                      "<h:commandButton id='nop' action='test' value='nop' />" +
                      "</h:form>" +
                    "</h:body>" + 
@@ -75,7 +75,7 @@
    }
 
    @Scope(ScopeType.SESSION)
-   @Name("foo")
+   @Name("faces.foo")
    public static class Foo
    {
       @Out(scope=ScopeType.SESSION)
@@ -88,7 +88,7 @@
    }
    
    @Scope(ScopeType.EVENT)
-   @Name("bar")
+   @Name("faces.bar")
    public static class Bar
    {
       @Out(scope=ScopeType.SESSION)



More information about the seam-commits mailing list