Method Summary |
|
protected void | setUp() |
public void | testAddParameterInvalidMethod() Verify that an exception is thrown when an invalid HTTP METHOD is used
when adding an HTTP parameter. |
public void | testGetHeaderNull() Verify that getHeader returns null if no header
of a given name was added to the request. |
public void | testGetHeaderOk() Verify that getHeader returns the first header
that was added to the request. |
public void | testGetParameterGetNull() Verify that getParameterGet returns null if no parameter
of a given name was added to the request. |
public void | testGetParameterPostNull() Verify that getParameterPost returns null if no parameter
of a given name was added to the request. |
public void | testGetParametersGetOk() Verify that getParameterGet returns the first parameter
that was added to the request. |
public void | testGetParametersPostOk() Verify that getParameterPost returns the first parameter
that was added to the request. |
public void | testGetPostParametersSeveral() Verify that we can retrieve several POST parameters. |
public void | testSetURLBadQueryString() Verify that an error in the query string of setURL()
raises an exception. |
public void | testToString() Verify that toString() returns a nice string representation
of the WebRequest . |