Home
last modified time | relevance | path

Searched refs:MockHttpSession (Results 1 – 25 of 26) sorted by relevance

12

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web/src/test/java/org/springframework/web/context/request/
H A DServletRequestAttributesTests.java27 import org.springframework.mock.web.MockHttpSession;
47 MockHttpSession session = new MockHttpSession(); in updateAccessedAttributes()
82 MockHttpSession session = new MockHttpSession(); in setSessionScopedAttribute()
94 MockHttpSession session = new MockHttpSession(); in setSessionScopedAttributeAfterCompletion()
108 MockHttpSession session = new MockHttpSession(); in setGlobalSessionScopedAttribute()
120 MockHttpSession session = new MockHttpSession(); in setGlobalSessionScopedAttributeAfterCompletion()
149 MockHttpSession session = new MockHttpSession(); in removeSessionScopedAttribute()
H A DSessionScopeTests.java32 import org.springframework.mock.web.MockHttpSession;
51 MockHttpSession session = new MockHttpSession(); in testGetFromScope()
70 MockHttpSession session = new MockHttpSession(); in testDestructionAtSessionTermination()
109 MockHttpSession session = new MockHttpSession(); in doTestDestructionWithSessionSerialization()
132 session = new MockHttpSession(); in doTestDestructionWithSessionSerialization()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.integration-tests/src/test/java/org/springframework/aop/config/
H A DAopNamespaceHandlerScopeIntegrationTests.java32 import org.springframework.mock.web.MockHttpSession;
107 MockHttpSession oldSession = new MockHttpSession(); in testSessionScoping()
108 MockHttpSession newSession = new MockHttpSession(); in testSessionScoping()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.portlet/src/test/java/org/springframework/mock/web/
H A DMockHttpSession.java46 public class MockHttpSession implements HttpSession { class
74 public MockHttpSession() { in MockHttpSession() method in MockHttpSession
82 public MockHttpSession(ServletContext servletContext) { in MockHttpSession() method in MockHttpSession
91 public MockHttpSession(ServletContext servletContext, String id) { in MockHttpSession() method in MockHttpSession
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.test/src/main/java/org/springframework/mock/web/
H A DMockHttpSession.java45 public class MockHttpSession implements HttpSession { class
71 public MockHttpSession() { in MockHttpSession() method in MockHttpSession
80 public MockHttpSession(ServletContext servletContext) { in MockHttpSession() method in MockHttpSession
90 public MockHttpSession(ServletContext servletContext, String id) { in MockHttpSession() method in MockHttpSession
H A DMockHttpServletRequest.java835 if (session instanceof MockHttpSession) { in setSession()
836 MockHttpSession mockSession = ((MockHttpSession) session); in setSession()
844 if (this.session instanceof MockHttpSession && ((MockHttpSession) this.session).isInvalid()) { in getSession()
849 this.session = new MockHttpSession(this.servletContext); in getSession()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.servlet/src/test/java/org/springframework/mock/web/
H A DMockHttpSession.java46 public class MockHttpSession implements HttpSession { class
74 public MockHttpSession() { in MockHttpSession() method in MockHttpSession
82 public MockHttpSession(ServletContext servletContext) { in MockHttpSession() method in MockHttpSession
91 public MockHttpSession(ServletContext servletContext, String id) { in MockHttpSession() method in MockHttpSession
H A DMockHttpServletRequest.java844 if (session instanceof MockHttpSession) { in setSession()
845 MockHttpSession mockSession = ((MockHttpSession) session); in setSession()
853 if (this.session instanceof MockHttpSession && ((MockHttpSession) this.session).isInvalid()) { in getSession()
858 this.session = new MockHttpSession(this.servletContext); in getSession()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.orm/src/test/java/org/springframework/mock/web/
H A DMockHttpSession.java45 public class MockHttpSession implements HttpSession { class
71 public MockHttpSession() { in MockHttpSession() method in MockHttpSession
80 public MockHttpSession(ServletContext servletContext) { in MockHttpSession() method in MockHttpSession
90 public MockHttpSession(ServletContext servletContext, String id) { in MockHttpSession() method in MockHttpSession
H A DMockHttpServletRequest.java839 if (session instanceof MockHttpSession) { in setSession()
840 MockHttpSession mockSession = ((MockHttpSession) session); in setSession()
848 if (this.session instanceof MockHttpSession && ((MockHttpSession) this.session).isInvalid()) { in getSession()
853 this.session = new MockHttpSession(this.servletContext); in getSession()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web/src/test/java/org/springframework/mock/web/
H A DMockHttpSession.java46 public class MockHttpSession implements HttpSession { class
74 public MockHttpSession() { in MockHttpSession() method in MockHttpSession
82 public MockHttpSession(ServletContext servletContext) { in MockHttpSession() method in MockHttpSession
91 public MockHttpSession(ServletContext servletContext, String id) { in MockHttpSession() method in MockHttpSession
H A DMockHttpServletRequest.java844 if (session instanceof MockHttpSession) { in setSession()
845 MockHttpSession mockSession = ((MockHttpSession) session); in setSession()
853 if (this.session instanceof MockHttpSession && ((MockHttpSession) this.session).isInvalid()) { in getSession()
858 this.session = new MockHttpSession(this.servletContext); in getSession()
/dports/www/grails/grails-1.3.6/src/java/org/codehaus/groovy/grails/plugins/testing/
H A DGrailsMockHttpSession.groovy17 import org.springframework.mock.web.MockHttpSession
20 * Simple sub-class of Spring's MockHttpSession that adds support for
23 class GrailsMockHttpSession extends MockHttpSession {
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/method/annotation/
H A DServletRequestMethodArgumentResolverTests.java33 import org.springframework.mock.web.MockHttpSession;
83 MockHttpSession session = new MockHttpSession(); in session()
/dports/www/grails/grails-1.3.6/src/test/org/codehaus/groovy/grails/web/servlet/
H A DGrailsHttpSessionTests.groovy21 import org.springframework.mock.web.MockHttpSession
42 def mock = new MockHttpSession()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.test/src/main/java/org/springframework/mock/web/portlet/
H A DMockPortletSession.java30 import org.springframework.mock.web.MockHttpSession;
145 new HttpSessionBindingEvent(new MockHttpSession(), name, value)); in doClearAttributes()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.portlet/src/test/java/org/springframework/mock/web/portlet/
H A DMockPortletSession.java29 import org.springframework.mock.web.MockHttpSession;
144 new HttpSessionBindingEvent(new MockHttpSession(), name, value)); in doClearAttributes()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.integration-tests/src/test/java/org/springframework/context/annotation/scope/
H A DClassPathBeanDefinitionScannerScopeIntegrationTests.java33 import org.springframework.mock.web.MockHttpSession;
65 oldRequestWithSession.setSession(new MockHttpSession()); in setUp()
69 newRequestWithSession.setSession(new MockHttpSession()); in setUp()
/dports/www/grails/grails-1.3.6/src/test/org/codehaus/groovy/grails/plugins/web/
H A DServletsGrailsPluginTests.groovy20 remove MockHttpSession
51 def session = new MockHttpSession()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.integration-tests/src/test/java/org/springframework/context/annotation/jsr330/
H A DClassPathBeanDefinitionScannerJsr330ScopeIntegrationTests.java40 import org.springframework.mock.web.MockHttpSession;
71 oldRequestWithSession.setSession(new MockHttpSession()); in setUp()
75 newRequestWithSession.setSession(new MockHttpSession()); in setUp()
/dports/www/grails/grails-1.3.6/src/java/grails/test/
H A DMvcUnitTestCase.groovy28 import org.springframework.mock.web.MockHttpSession
44 protected MockHttpSession mockSession
H A DMockUtils.groovy39 import org.springframework.mock.web.MockHttpSession
302 mockAttributeAccess(MockHttpSession)
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/multiaction/
H A DMultiActionControllerTests.java37 import org.springframework.mock.web.MockHttpSession;
261 request.setSession(new MockHttpSession(null)); in testInvokesCorrectMethodWithSession()
297 request.setSession(new MockHttpSession(null)); in testInvokesCommandMethodWithSession()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/
H A DCommandControllerTests.java38 import org.springframework.mock.web.MockHttpSession;
136 request.setSession(new MockHttpSession(null)); in testRequireSessionWithSession()
/dports/www/grails/grails-1.3.6/src/test/grails/test/
H A DMockUtilsTests.groovy23 import org.springframework.mock.web.MockHttpSession
1223 assertTrue taglib.session instanceof MockHttpSession

12