class.
| Method from org.apache.cactus.internal.TestAbstractCactusTestCase Detail: |
public void beginBeginMethodBadParamNumber(WebRequest theRequest,
String theString) {
}
|
public void beginBeginMethodBadParamType(String theDummy) {
}
|
public String beginBeginMethodBadReturnType(WebRequest theRequest) {
// Return anything just to make the compiler happy ...
return "";
}
|
public void beginBeginMethodOK(WebRequest theRequest) {
// We send an exception just to verify that this code has been reached
// The exception is intercepted in
// TestAbstractTestCaseInterceptorTestCase
fail("beginBeginMethodOK");
}
|
public void endEndMethodBadParamNumber(WebResponse theResponse,
String theDummy) {
}
|
public void endEndMethodBadParamType(String theDummy) {
}
|
public String endEndMethodBadReturnType(WebResponse theResponse) {
// Return anything just to make the compiler happy ...
return "";
}
|
public void endEndMethodOK1(WebResponse theResponse) {
// We send an exception just to verify that this code has been reached
// The exception is intercepted in
// TestAbstractTestCaseInterceptorTestCase
fail("endEndMethodOK1");
}
|
public void endEndMethodOK2(WebResponse theResponse) {
// We send an exception just to verify that this code has been reached
// The exception is intercepted in
// TestAbstractTestCaseInterceptorTestCase
fail("endEndMethodOK2");
}
|
public void endEndMethodOK3(HttpURLConnection theResponse) {
// We send an exception just to verify that this code has been reached
// The exception is intercepted in
// TestAbstractTestCaseInterceptorTestCase
fail("endEndMethodOK3");
}
|
public void testBeginMethodBadParamNumber() {
// This method only exist so that a test exist and thus the begin
// method for that test will be called.
// Should not reach this point
fail("Should not reach this point");
}
Test that when a begin method for a given test has the wrong number of
parameters, a AssertionFailedError exception is returned.
Note: the assert is done in the
TestAbstractTestCaseInterceptorTestCase class. |
public void testBeginMethodBadParamType() {
// This method only exist so that a test exist and thus the begin
// method for that test will be called.
// Should not reach this point
fail("Should not reach this point");
}
Test that when a begin method for a given test has the wrong type of
parameters, a AssertionFailedError exception is returned.
Note: the assert is done in the
TestAbstractTestCaseInterceptorTestCase class. |
public void testBeginMethodBadReturnType() {
// This method only exist so that a test exist and thus the begin
// method for that test will be called.
// Should not reach this point
fail("Should not reach this point");
}
Test that when a begin method for a given test does not have the correct
return type (i.e. void), a AssertionFailedError exception
is returned.
Note: the assert is done in the
TestAbstractTestCaseInterceptorTestCase class. |
public void testBeginMethodNotPublic() {
// This method only exist so that a test exist and thus the begin
// method for that test will be called.
// Should not reach this point
fail("Should not reach this point");
}
Test that when a begin method for a given test is not declared public
a AssertionFailedError exception is returned.
Note: the assert is done in the
TestAbstractTestCaseInterceptorTestCase class. |
public void testBeginMethodOK() {
}
Verify that the begin method with a
WebRequest parameter is called correctly. |
public void testEndMethodBadParamNumber() {
}
Test that when an end method for a given test has the wrong number of
parameters, a AssertionFailedError exception is returned.
Note: the assert is done in the
TestAbstractTestCaseInterceptorTestCase class. |
public void testEndMethodBadParamType() {
}
Test that when an end method for a given test has the wrong type of
parameters, a AssertionFailedError exception is returned.
Note: the assert is done in the
TestAbstractTestCaseInterceptorTestCase class. |
public void testEndMethodBadReturnType() {
// This method only exist so that a test exist and thus the begin
// method for that test will be called.
}
Test that when an end method for a given test does not have the correct
return type (i.e. void), a AssertionFailedError exception
is returned.
Note: the assert is done in the
TestAbstractTestCaseInterceptorTestCase class. |
public void testEndMethodNotPublic() {
}
Test that when an end method for a given test is not declared public
a AssertionFailedError exception is returned.
Note: the assert is done in the
TestAbstractTestCaseInterceptorTestCase class. |
public void testEndMethodOK1() {
}
Test that the end method is called correctly when it's signature
contains a org.apache.cactus.WebResponse parameter. |
public void testEndMethodOK2() {
}
Test that the end method is called correctly when it's signature
contains a com.meterware.httpunit.WebResponse parameter.
Note: We need the Httpunit jar and an XML parser jar on the classpath
for this test |
public void testEndMethodOK3() {
}
Test that the deprecated end method with the
HttpURLConnection parameter can still be called correctly. |