org.apache.tapestry.error
Class BaseErrorTestCase
java.lang.Object
BaseComponentTestCase
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
Method Summary |
protected org.apache.tapestry.IRequestCycle |
newCycle(String pageName,
org.apache.tapestry.IPage page)
|
protected org.apache.tapestry.IPage |
newPage()
|
protected org.apache.tapestry.services.ResponseRenderer |
newRenderer(org.apache.tapestry.IRequestCycle cycle,
Throwable throwable)
|
protected org.apache.tapestry.error.RequestExceptionReporter |
newReporter()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseErrorTestCase
public BaseErrorTestCase()
newPage
protected org.apache.tapestry.IPage newPage()
newCycle
protected org.apache.tapestry.IRequestCycle newCycle(String pageName,
org.apache.tapestry.IPage page)
newRenderer
protected org.apache.tapestry.services.ResponseRenderer newRenderer(org.apache.tapestry.IRequestCycle cycle,
Throwable throwable)
throws Exception
- Throws:
Exception
newReporter
protected org.apache.tapestry.error.RequestExceptionReporter newReporter()
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.