org.apache.cactus.server.runner
class WebappTestRunner
java.lang.Object
|
+--junit.runner.BaseTestRunner
|
+--org.apache.cactus.server.runner.WebappTestRunner
- All Implemented Interfaces:
- TestListener
- Known Advisors:
- LogAspect
- public class WebappTestRunner
- extends junit.runner.BaseTestRunner
JUnit Test Runner that can load test cases that are in the classpath of
a webapp. This test runner is supposed to be executed from within the
webapp.
- Version:
- $Id: WebappTestRunner.html,v 1.1 2003/04/14 12:27:28 sinisa Exp $
- Author:
- Vincent Massol
Fields inherited from class junit.runner.BaseTestRunner |
SUITE_METHODNAME |
Methods inherited from class junit.runner.BaseTestRunner |
elapsedTimeAsString, extractClassName, getFilteredTrace, getFilteredTrace, getPreference, getPreference, getTest, inVAJava, savePreferences, setLoading, setPreference, truncate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebappTestRunner
public WebappTestRunner()
addError
public void addError(Test theTest,
Throwable theThrowable)
Affected by: around() in LogAspect
.
addFailure
public void addFailure(Test theTest,
AssertionFailedError theAssertionFailedError)
Affected by: around() in LogAspect
.
endTest
public void endTest(Test theTest)
Affected by: around() in LogAspect
.
getErrorMessage
public String getErrorMessage()
getLoader
public TestSuiteLoader getLoader()
startTest
public void startTest(Test theTest)
Affected by: around() in LogAspect
.
testEnded
public void testEnded(String theTestName)
Affected by: around() in LogAspect
.
testFailed
public void testFailed(int theStatus,
Test theTest,
Throwable theThrowable)
Affected by: around() in LogAspect
.
testStarted
public void testStarted(String theTestName)
Affected by: around() in LogAspect
.
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.