|
|||||||||
| Home >> All >> org >> apache >> cactus >> internal >> [ client overview ] | PREV NEXT | ||||||||
A
- AssertionFailedErrorWrapper - error org.apache.cactus.internal.client.AssertionFailedErrorWrapper.
- Same as
ServletExceptionWrapperexcept that this exception class extends JUnitAssertionFailedErrorso that JUnit will print a different message in it's runner console. - AssertionFailedErrorWrapper(String) - Constructor for class org.apache.cactus.internal.client.AssertionFailedErrorWrapper
- Standard throwable constructor.
- AssertionFailedErrorWrapper() - Constructor for class org.apache.cactus.internal.client.AssertionFailedErrorWrapper
- Standard throwable constructor.
- AssertionFailedErrorWrapper(String, String, String) - Constructor for class org.apache.cactus.internal.client.AssertionFailedErrorWrapper
- The constructor to use to simulate a real exception.
B
- BEGIN_METHOD_PREFIX - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- The prefix of a begin test method.
C
- CLIENT_GLOBAL_BEGIN_METHOD - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- The name of the method that is called before each test on the client side (if it exists).
- CLIENT_GLOBAL_END_METHOD - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- The name of the method that is called after each test on the client side (if it exists).
- ClientException - exception org.apache.cactus.internal.client.ClientException.
- A Cactus client side exception.
- ClientException(String) - Constructor for class org.apache.cactus.internal.client.ClientException
- ClientException(String, Throwable) - Constructor for class org.apache.cactus.internal.client.ClientException
- ClientException(Throwable) - Constructor for class org.apache.cactus.internal.client.ClientException
- ClientTestCaseCaller - class org.apache.cactus.internal.client.ClientTestCaseCaller.
- Provides the ability to run common code before and after each test on the client side.
- ClientTestCaseCaller(Test, Test, ProtocolHandler) - Constructor for class org.apache.cactus.internal.client.ClientTestCaseCaller
- callBeginMethod(Request) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Call the test case begin method.
- callEndMethod(Request, ResponseObjectFactory) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Call the test case end method
- callGenericBeginMethod(Request, String) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Call a begin method which takes Cactus WebRequest as parameter
- callGenericEndMethod(Request, ResponseObjectFactory, String, Object) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Call the global end method.
- callGlobalBeginMethod(Request) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Call the global begin method.
- callGlobalEndMethod(Request, ResponseObjectFactory, Object) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Call the client tear down up method if it exists.
- className - Variable in class org.apache.cactus.internal.client.AssertionFailedErrorWrapper
- The class name of the exception that was raised on the server side.
- className - Variable in class org.apache.cactus.internal.client.ServletExceptionWrapper
- The class name of the exception that was raised on the server side.
- connection - Variable in class org.apache.cactus.internal.client.WebResponseObjectFactory
- Connection object used to connect to the Cactus server side.
- createHttpUnitWebResponse(HttpURLConnection) - Method in class org.apache.cactus.internal.client.WebResponseObjectFactory
- Create a HttpUnit
WebResponseobject by reflection (so that we don't need the HttpUnit jar for users who are not using the HttpUnit endXXX() signature).
D
- delegatedTest - Variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- The test we are delegating for.
E
- END_METHOD_PREFIX - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- The prefix of an end test method.
- exceptionClassname - Variable in class org.apache.cactus.internal.client.WebTestResultParser
- Parsed exception class name
- exceptionMessage - Variable in class org.apache.cactus.internal.client.WebTestResultParser
- Parsed exception message
- exceptionStacktrace - Variable in class org.apache.cactus.internal.client.WebTestResultParser
- Parsed exception stack trace
F
- formatError(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
G
- getBaseMethodName() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- getBeginMethodName() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- getCurrentTestName() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- getDelegatedTest() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- getEndMethodName() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- getLogger() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- getResponseObject(String, Request) - Method in class org.apache.cactus.internal.client.WebResponseObjectFactory
- getTest() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- getWrappedClassName() - Method in class org.apache.cactus.internal.client.AssertionFailedErrorWrapper
- getWrappedClassName() - Method in class org.apache.cactus.internal.client.ServletExceptionWrapper
- getWrappedTest() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
L
- logger - Variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- The logger (only used on the client side).
O
- org.apache.cactus.internal.client - package org.apache.cactus.internal.client
P
- ParsingException - exception org.apache.cactus.internal.client.ParsingException.
- Thrown when parsing the Web Test result (XML) and trying to build a
WebTestResultobject. - ParsingException(String) - Constructor for class org.apache.cactus.internal.client.ParsingException
- ParsingException(Throwable) - Constructor for class org.apache.cactus.internal.client.ParsingException
- ParsingException(String, Throwable) - Constructor for class org.apache.cactus.internal.client.ParsingException
- parse(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
- Parse a string and transform it into a
WebTestResultobject. - printStackTrace(PrintStream) - Method in class org.apache.cactus.internal.client.AssertionFailedErrorWrapper
- Simulates a printing of a stack trace by printing the string stack trace
- printStackTrace(PrintWriter) - Method in class org.apache.cactus.internal.client.AssertionFailedErrorWrapper
- Simulates a printing of a stack trace by printing the string stack trace
- printStackTrace(PrintStream) - Method in class org.apache.cactus.internal.client.ServletExceptionWrapper
- Simulates a printing of a stack trace by printing the string stack trace
- printStackTrace(PrintWriter) - Method in class org.apache.cactus.internal.client.ServletExceptionWrapper
- Simulates a printing of a stack trace by printing the string stack trace
- protocolHandler - Variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- The protocol handler to use to execute the tests on the server side.
R
- readExceptionClassname(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
- Read the WebTestResult.XML_EXCEPTION_CLASSNAME_ATTRIBUTE>
WebTestResult.XML_EXCEPTION_CLASSNAME_ATTRIBUTE55 portion and extract the exception classname. - readExceptionMessage(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
- Read the WebTestResult.XML_EXCEPTION_MESSAGE_ELEMENT>
WebTestResult.XML_EXCEPTION_MESSAGE_ELEMENT55 portion and extract the exception message. - readExceptionStacktrace(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
- Read the WebTestResult.XML_EXCEPTION_STACKTRACE_ELEMENT>
WebTestResult.XML_EXCEPTION_STACKTRACE_ELEMENT55 portion and extract the exception stacktrace. - readRootElement(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
- Read the WebTestResult.XML_ROOT_ELEMENT>
WebTestResult.XML_ROOT_ELEMENT55 portion. - runBareInit() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Perform client side initializations before each test, such as re-initializating the logger and printing some logging information.
- runTest() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Execute begin and end methods and calls the different org.apache.cactus.spi.client.connector.ProtocolHandler lifecycle methods to execute the test on the server side.
S
- ServletExceptionWrapper - class org.apache.cactus.internal.client.ServletExceptionWrapper.
- Wrapper around a
Throwableobject. - ServletExceptionWrapper(String) - Constructor for class org.apache.cactus.internal.client.ServletExceptionWrapper
- Standard throwable constructor.
- ServletExceptionWrapper() - Constructor for class org.apache.cactus.internal.client.ServletExceptionWrapper
- Standard throwable constructor.
- ServletExceptionWrapper(String, String, String) - Constructor for class org.apache.cactus.internal.client.ServletExceptionWrapper
- The constructor to use to simulate a real exception.
- setDelegatedTest(Test) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- setWrappedTest(Test) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
- stackTrace - Variable in class org.apache.cactus.internal.client.AssertionFailedErrorWrapper
- The stack trace that was sent back from the servlet redirector as a string.
- stackTrace - Variable in class org.apache.cactus.internal.client.ServletExceptionWrapper
- The stack trace that was sent back from the servlet redirector as a string.
T
- TEST_METHOD_PREFIX - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- The prefix of a test method.
- TestWebTestResultParser - class org.apache.cactus.internal.client.TestWebTestResultParser.
- Unit tests of the
WebTestResultParserclass. - TestWebTestResultParser() - Constructor for class org.apache.cactus.internal.client.TestWebTestResultParser
- testParseNoException() - Method in class org.apache.cactus.internal.client.TestWebTestResultParser
- Verify parsing when the test result contains no exception.
- testParseWithException() - Method in class org.apache.cactus.internal.client.TestWebTestResultParser
- Verify parsing when the test result contains an exception.
- testReadExceptionClassName() - Method in class org.apache.cactus.internal.client.TestWebTestResultParser
- Verify the correct parsing behaviour to extract the exception classname.
- testReadExceptionMessage() - Method in class org.apache.cactus.internal.client.TestWebTestResultParser
- Verify the correct parsing behaviour to extract the exception message.
- testReadRootElementEmpty() - Method in class org.apache.cactus.internal.client.TestWebTestResultParser
- Verify the correct parsing behaviour to extract the ROOT element when there is no exception returned in the test result.
- testReadRootElementFull() - Method in class org.apache.cactus.internal.client.TestWebTestResultParser
- Verify the correct parsing behaviour to extract the ROOT element when there is an exception returned in the test result.
W
- WebResponseObjectFactory - class org.apache.cactus.internal.client.WebResponseObjectFactory.
- Constructs Web response objects.
- WebResponseObjectFactory(HttpURLConnection) - Constructor for class org.apache.cactus.internal.client.WebResponseObjectFactory
- WebTestResultParser - class org.apache.cactus.internal.client.WebTestResultParser.
- Parse a string representing a Test result and transform it into a
WebTestResultobject. - WebTestResultParser() - Constructor for class org.apache.cactus.internal.client.WebTestResultParser
- wrappedTest - Variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
- Pure JUnit Test Case that we are wrapping (if any)
A B C D E F G L O P R S T W
|
|||||||||
| Home >> All >> org >> apache >> cactus >> internal >> [ client overview ] | PREV NEXT | ||||||||