org.apache.tapestry5.internal.test
Class PageTesterModule
java.lang.Object
org.apache.tapestry5.internal.test.PageTesterModule
public class PageTesterModule
- extends Object
Used in conjunction with PageTester
to mock up and/or stub out portions of Tapestry that
need to be handled differently when testing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_MODE
public static final String TEST_MODE
- See Also:
- Constant Field Values
PageTesterModule
public PageTesterModule()
bind
public static void bind(ServiceBinder binder)
setupTestableOverrides
@Contribute(value=ServiceOverride.class)
public static void setupTestableOverrides(MappedConfiguration<Class,Object> configuration,
@Local
TestableRequest request,
@Local
TestableResponse response)
contributeRequestHandler
public static void contributeRequestHandler(OrderedConfiguration<RequestFilter> configuration)
contributeMarkupRenderer
public static void contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter> configuration)
Copyright © 2003-2012 The Apache Software Foundation.