public class HttpListenerTestCase extends AbstractMuleTestCase
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expectedException |
static String |
URI_PARAM_NAME |
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
HttpListenerTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertResponse(HttpResponseReadyCallback responseCallback,
int statusCode) |
protected void |
assertResponse(HttpResponseReadyCallback responseCallback,
int statusCode,
String reason,
String body) |
protected HttpRequest |
buildGetRootRequest(HttpProtocol protocol) |
protected HttpRequestContext |
buildRequestContext(HttpRequest request) |
void |
cannotHaveTwoUriParamsWithSameName() |
void |
cannotHaveWildcardWithOtherCharacters() |
void |
eventCreation() |
void |
eventCreationWithInvalidPath() |
void |
noHostHeaderOn10Request()
host header is not specified in HTTP 1.0 |
void |
noHostHeaderOn11Request() |
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public static final String URI_PARAM_NAME
public org.junit.rules.ExpectedException expectedException
public void cannotHaveTwoUriParamsWithSameName() throws Exception
Exception
public void cannotHaveWildcardWithOtherCharacters() throws Exception
Exception
public void eventCreationWithInvalidPath() throws Exception
Exception
public void noHostHeaderOn10Request() throws Exception
host
header is not specified in HTTP 1.0Exception
protected HttpRequest buildGetRootRequest(HttpProtocol protocol)
protected HttpRequestContext buildRequestContext(HttpRequest request)
protected void assertResponse(HttpResponseReadyCallback responseCallback, int statusCode)
protected void assertResponse(HttpResponseReadyCallback responseCallback, int statusCode, String reason, String body)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.