org.apache.tapestry5.internal.test
Class PageTesterModule

java.lang.Object
  extended by 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.


Field Summary
static String TEST_MODE
           
 
Constructor Summary
PageTesterModule()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(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.