/** * Creates a set of mock objects based on another one. * The created mock objects will have their own * request and session objects, but they will share * one <code>ServletContext</code>. * @param factory the other factory */ public ActionMockObjectFactory(WebMockObjectFactory factory) { super(factory); createMockObjects(); }
/** * Creates a new set of mock objects. */ public ActionMockObjectFactory() { createMockObjects(); }
/** * Creates a new set of mock objects. */ public ActionMockObjectFactory() { createMockObjects(); }
/** * Creates a new set of mock objects. */ public ActionMockObjectFactory() { createMockObjects(); }
/** * Creates a set of mock objects based on another one. * The created mock objects will have their own * request and session objects, but they will share * one <code>ServletContext</code>. * @param factory the other factory * @see com.mockrunner.base.BaseTestCase#createWebMockObjectFactory(WebMockObjectFactory) */ public ActionMockObjectFactory(WebMockObjectFactory factory) { super(factory); createMockObjects(); }
/** * Creates a set of mock objects based on another one. * The created mock objects will have their own * request and session objects, but they will share * one <code>ServletContext</code>. * @param factory the other factory * @see com.mockrunner.base.BaseTestCase#createWebMockObjectFactory(WebMockObjectFactory) */ public ActionMockObjectFactory(WebMockObjectFactory factory) { super(factory); createMockObjects(); }
/** * Creates a set of mock objects based on another one. * You can specify, if the created mock objects should * share the same session. They will share one * <code>ServletContext</code> anyway. * @param factory the other factory * @param createNewSession <code>true</code> creates a new session, * <code>false</code> uses the session from factory */ public ActionMockObjectFactory(WebMockObjectFactory factory, boolean createNewSession) { super(factory, createNewSession); createMockObjects(); }
/** * Creates a set of mock objects based on another one. * You can specify, if the created mock objects should * share the same session. They will share one * <code>ServletContext</code> anyway. * @param factory the other factory * @param createNewSession <code>true</code> creates a new session, * <code>false</code> uses the session from factory * @see com.mockrunner.base.BaseTestCase#createWebMockObjectFactory(WebMockObjectFactory, boolean) */ public ActionMockObjectFactory(WebMockObjectFactory factory, boolean createNewSession) { super(factory, createNewSession); createMockObjects(); }
/** * Creates a set of mock objects based on another one. * You can specify, if the created mock objects should * share the same session. They will share one * <code>ServletContext</code> anyway. * @param factory the other factory * @param createNewSession <code>true</code> creates a new session, * <code>false</code> uses the session from factory * @see com.mockrunner.base.BaseTestCase#createWebMockObjectFactory(WebMockObjectFactory, boolean) */ public ActionMockObjectFactory(WebMockObjectFactory factory, boolean createNewSession) { super(factory, createNewSession); createMockObjects(); }