[jboss-cvs] JBossAS SVN: r95876 - trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Oct 30 21:24:39 EDT 2009
Author: remy.maucherat at jboss.com
Date: 2009-10-30 21:24:39 -0400 (Fri, 30 Oct 2009)
New Revision: 95876
Modified:
trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/ClusteredSessionNotificationPolicyTestCase.java
trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/PersistentStoreSessionNotificationPolicyTestCase.java
Log:
- Fix tests: session listeners had to be moved a different, dedicated structure.
Modified: trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/ClusteredSessionNotificationPolicyTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/ClusteredSessionNotificationPolicyTestCase.java 2009-10-31 01:23:33 UTC (rev 95875)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/ClusteredSessionNotificationPolicyTestCase.java 2009-10-31 01:24:39 UTC (rev 95876)
@@ -184,13 +184,13 @@
MockHttpSessionListener hsl0 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal0 = new MockHttpSessionAttributeListener();
Context ctx = (Context) jbcm0.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl0 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl0 });
ctx.setApplicationEventListeners(new Object[]{ hsal0 });
MockHttpSessionListener hsl1 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal1 = new MockHttpSessionAttributeListener();
ctx = (Context) jbcm1.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl1 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl1 });
ctx.setApplicationEventListeners(new Object[]{ hsal1 });
// Initial request
@@ -379,13 +379,13 @@
MockHttpSessionListener hsl0 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal0 = new MockHttpSessionAttributeListener();
Context ctx = (Context) jbcm0.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl0 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl0 });
ctx.setApplicationEventListeners(new Object[]{ hsal0 });
MockHttpSessionListener hsl1 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal1 = new MockHttpSessionAttributeListener();
ctx = (Context) jbcm1.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl1 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl1 });
ctx.setApplicationEventListeners(new Object[]{ hsal1 });
// Initial request
@@ -523,13 +523,13 @@
MockHttpSessionListener hsl0 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal0 = new MockHttpSessionAttributeListener();
Context ctx = (Context) jbcm0.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl0 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl0 });
ctx.setApplicationEventListeners(new Object[]{ hsal0 });
MockHttpSessionListener hsl1 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal1 = new MockHttpSessionAttributeListener();
ctx = (Context) jbcm1.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl1 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl1 });
ctx.setApplicationEventListeners(new Object[]{ hsal1 });
// Initial request
Modified: trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/PersistentStoreSessionNotificationPolicyTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/PersistentStoreSessionNotificationPolicyTestCase.java 2009-10-31 01:23:33 UTC (rev 95875)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/PersistentStoreSessionNotificationPolicyTestCase.java 2009-10-31 01:24:39 UTC (rev 95876)
@@ -176,13 +176,13 @@
MockHttpSessionListener hsl0 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal0 = new MockHttpSessionAttributeListener();
Context ctx = (Context) mgr0.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl0 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl0 });
ctx.setApplicationEventListeners(new Object[]{ hsal0 });
MockHttpSessionListener hsl1 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal1 = new MockHttpSessionAttributeListener();
ctx = (Context) mgr1.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl1 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl1 });
ctx.setApplicationEventListeners(new Object[]{ hsal1 });
// Initial request
@@ -371,13 +371,13 @@
MockHttpSessionListener hsl0 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal0 = new MockHttpSessionAttributeListener();
Context ctx = (Context) mgr0.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl0 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl0 });
ctx.setApplicationEventListeners(new Object[]{ hsal0 });
MockHttpSessionListener hsl1 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal1 = new MockHttpSessionAttributeListener();
ctx = (Context) mgr1.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl1 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl1 });
ctx.setApplicationEventListeners(new Object[]{ hsal1 });
// Initial request
@@ -526,13 +526,13 @@
MockHttpSessionListener hsl0 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal0 = new MockHttpSessionAttributeListener();
Context ctx = (Context) mgr0.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl0 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl0 });
ctx.setApplicationEventListeners(new Object[]{ hsal0 });
MockHttpSessionListener hsl1 = new MockHttpSessionListener();
MockHttpSessionAttributeListener hsal1 = new MockHttpSessionAttributeListener();
ctx = (Context) mgr1.getContainer();
- ctx.setApplicationLifecycleListeners(new Object[]{ hsl1 });
+ ctx.setApplicationSessionLifecycleListeners(new Object[]{ hsl1 });
ctx.setApplicationEventListeners(new Object[]{ hsal1 });
// Initial request
More information about the jboss-cvs-commits
mailing list