public class PageTesterModule extends Object
PageTester
to mock up and/or stub out portions of Tapestry that
need to be handled differently when testing.Constructor and Description |
---|
PageTesterModule() |
Modifier and Type | Method and 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) |
public static final String TEST_MODE
public PageTesterModule()
public static void bind(ServiceBinder binder)
@Contribute(value=ServiceOverride.class) public static void setupTestableOverrides(MappedConfiguration<Class,Object> configuration, @Local TestableRequest request, @Local TestableResponse response, ObjectLocator locator)
public static void contributeRequestHandler(OrderedConfiguration<RequestFilter> configuration)
public static void contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter> configuration)
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.