testBeginMethodBadParamNumber() Test that when a begin method for a given test has the wrong number of
parameters, a AssertionFailedError exception is returned.
public void
testBeginMethodBadParamType() Test that when a begin method for a given test has the wrong type of
parameters, a AssertionFailedError exception is returned.
public void
testBeginMethodBadReturnType() Test that when a begin method for a given test does not have the correct
return type (i.e.
public void
testBeginMethodNotPublic() Test that when a begin method for a given test is not declared public
a AssertionFailedError exception is returned.
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.
public void
testEndMethodBadParamType() Test that when an end method for a given test has the wrong type of
parameters, a AssertionFailedError exception is returned.
public void
testEndMethodBadReturnType() Test that when an end method for a given test does not have the correct
return type (i.e.
public void
testEndMethodNotPublic() Test that when an end method for a given test is not declared public
a AssertionFailedError exception is returned.
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.
public void
testEndMethodOK3() Test that the deprecated end method with the
HttpURLConnection parameter can still be called correctly.
Method Detail
beginBeginMethodBadParamNumber
public void beginBeginMethodBadParamNumber(WebRequest theRequest, String theString)(Code)
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.
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.
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.
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.
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.
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.
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.
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.
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