Author: manaRH
Date: 2009-06-25 10:55:53 -0400 (Thu, 25 Jun 2009)
New Revision: 11208
Modified:
branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/ContextTest.java
Log:
JBSEAM-3119 - fixed unit test ContextTest.testContextManagement
Modified:
branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/ContextTest.java
===================================================================
---
branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/ContextTest.java 2009-06-25
14:01:27 UTC (rev 11207)
+++
branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/ContextTest.java 2009-06-25
14:55:53 UTC (rev 11208)
@@ -118,7 +118,7 @@
assert ((MockHttpSession) externalContext.getSession(false))
.getAttributes().size() == 4;
assert ((MockServletContext) externalContext.getContext())
- .getAttributes().size() == 11;
+ .getAttributes().size() == 12;
FacesLifecycle.beginRequest(externalContext);
@@ -151,7 +151,7 @@
assert Contexts.getSessionContext().get("foo") == foo;
assert Contexts.getConversationContext().getNames().length == 2;
- assert Contexts.getApplicationContext().getNames().length == 11;
+ assert Contexts.getApplicationContext().getNames().length == 12;
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() == 11;
+ .getAttributes().size() == 12;
ServletLifecycle.endSession(((HttpServletRequest) externalContext
.getRequest()).getSession());
Show replies by date