[seam-commits] Seam SVN: r10310 - trunk/src/test/unit/org/jboss/seam/test/unit.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Apr 6 08:13:57 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-04-06 08:13:57 -0400 (Mon, 06 Apr 2009)
New Revision: 10310

Modified:
   trunk/src/test/unit/org/jboss/seam/test/unit/ContextTest.java
Log:
Fix test

Modified: trunk/src/test/unit/org/jboss/seam/test/unit/ContextTest.java
===================================================================
--- trunk/src/test/unit/org/jboss/seam/test/unit/ContextTest.java	2009-04-06 07:20:49 UTC (rev 10309)
+++ trunk/src/test/unit/org/jboss/seam/test/unit/ContextTest.java	2009-04-06 12:13:57 UTC (rev 10310)
@@ -118,7 +118,7 @@
         assert ((MockHttpSession) externalContext.getSession(false))
                 .getAttributes().size() == 4;
         assert ((MockServletContext) externalContext.getContext())
-                .getAttributes().size() == 10;
+                .getAttributes().size() == 11;
 
         FacesLifecycle.beginRequest(externalContext);
 
@@ -151,7 +151,7 @@
         assert Contexts.getSessionContext().get("foo") == foo;
 
         assert Contexts.getConversationContext().getNames().length == 2;
-        assert Contexts.getApplicationContext().getNames().length == 10;
+        assert Contexts.getApplicationContext().getNames().length == 11;
         assert Contexts.getSessionContext().getNames().length == 2;
 
         assert seamVariableResolver.getValue(elContext, null, "zzz").equals(
@@ -186,7 +186,7 @@
         assert ((MockHttpSession) externalContext.getSession(false))
                 .getAttributes().size() == 3; // foo, zzz, org.jboss.seam.core.conversationEntries
         assert ((MockServletContext) externalContext.getContext())
-                .getAttributes().size() == 10;
+                .getAttributes().size() == 11;
 
         ServletLifecycle.endSession(((HttpServletRequest) externalContext
                 .getRequest()).getSession());




More information about the seam-commits mailing list