org.apache.tapestry.error
Class BaseErrorTestCase

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.error.BaseErrorTestCase
Direct Known Subclasses:
StaleSessionExceptionPresenterTest, TestExceptionPresenter

public abstract class BaseErrorTestCase
extends BaseComponentTestCase

Base class for tests of the various error reporting service implementations.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
BaseErrorTestCase()
           
 
Method Summary
protected  IRequestCycle newCycle(String pageName, IPage page)
           
protected  IPage newPage()
           
protected  ResponseRenderer newRenderer(IRequestCycle cycle, Throwable throwable)
           
protected  RequestExceptionReporter newReporter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseErrorTestCase

public BaseErrorTestCase()
Method Detail

newPage

protected IPage newPage()

newCycle

protected IRequestCycle newCycle(String pageName,
                                 IPage page)

newRenderer

protected ResponseRenderer newRenderer(IRequestCycle cycle,
                                       Throwable throwable)
                                throws Exception
Throws:
Exception

newReporter

protected RequestExceptionReporter newReporter()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.