| org.apache.cxf.systest.servlet.AbstractServletTest
All known Subclasses: org.apache.cxf.systest.servlet.HttpBindingServletTest, org.apache.cxf.systest.servlet.SpringServletTest, org.apache.cxf.systest.servlet.JsFrontEndServletTest, org.apache.cxf.systest.servlet.CXFServletTest, org.apache.cxf.systest.servlet.ExternalServicesServletTest,
AbstractServletTest | abstract public class AbstractServletTest extends AbstractCXFTest (Code) | | |
Method Summary | |
protected void | expectErrorCode(WebRequest request, int errorCode, String errorText) Here we expect an errorCode other than 200, and look for it checking for
text is omitted as it doesnt work. | protected String | getConfiguration() | protected ServletUnitClient | newClient() | public void | setUp() |
sr | protected ServletRunner sr(Code) | | |
expectErrorCode | protected void expectErrorCode(WebRequest request, int errorCode, String errorText) throws MalformedURLException, IOException, SAXException(Code) | | Here we expect an errorCode other than 200, and look for it checking for
text is omitted as it doesnt work. It would never work on java1.3, but
one may have expected java1.4+ to have access to the error stream in
responses. Clearly not.
Parameters: request - Parameters: errorCode - Parameters: errorText - optional text string to search for throws: MalformedURLException - throws: IOException - throws: SAXException - |
getConfiguration | protected String getConfiguration()(Code) | | The web.xml to use for testing. |
newClient | protected ServletUnitClient newClient()(Code) | | |
|
|