Class PageTesterModule
- java.lang.Object
-
- org.apache.tapestry5.internal.test.PageTesterModule
-
public class PageTesterModule extends Object
Used in conjunction withPageTester
to mock up and/or stub out portions of Tapestry that need to be handled differently when testing.
-
-
Constructor Summary
Constructors Constructor Description PageTesterModule()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
bind(ServiceBinder binder)
static void
contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter> configuration)
static void
contributeRequestHandler(OrderedConfiguration<RequestFilter> configuration)
static void
setupTestableOverrides(MappedConfiguration<Class,Object> configuration, TestableRequest request, TestableResponse response, ObjectLocator locator)
-
-
-
Field Detail
-
TEST_MODE
public static final String TEST_MODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PageTesterModule
public PageTesterModule()
-
-
Method Detail
-
bind
public static void bind(ServiceBinder binder)
-
setupTestableOverrides
@Contribute(ServiceOverride.class) public static void setupTestableOverrides(MappedConfiguration<Class,Object> configuration, @Local TestableRequest request, @Local TestableResponse response, ObjectLocator locator)
-
contributeRequestHandler
public static void contributeRequestHandler(OrderedConfiguration<RequestFilter> configuration)
-
contributeMarkupRenderer
public static void contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter> configuration)
-
-