org.httpobjects.jetty
Class IntegrationTest
java.lang.Object
org.httpobjects.jetty.IntegrationTest
public abstract class IntegrationTest
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegrationTest
public IntegrationTest()
serve
protected abstract void serve(int port,
HttpObject... objects)
stopServing
protected abstract void stopServing()
setup
public void setup()
supportsPatch
public void supportsPatch()
throws Exception
- Throws:
Exception
setCookieHeadersAreTranslated
public void setCookieHeadersAreTranslated()
throws Exception
- Throws:
Exception
requestCookiesAreTranslated
public void requestCookiesAreTranslated()
throws Exception
- Throws:
Exception
basicAuthentication
public void basicAuthentication()
nullResponsesAreTreatedAsNotFound
public void nullResponsesAreTreatedAsNotFound()
returnsNotFoundIfThereIsNoMatchingPattern
public void returnsNotFoundIfThereIsNoMatchingPattern()
happyPathForGet
public void happyPathForGet()
happyPathForPost
public void happyPathForPost()
happyPathForPut
public void happyPathForPut()
queryParameters
public void queryParameters()
urlToString
public void urlToString()
methodNotAllowed
public void methodNotAllowed()
redirectsAndSetsCookies
public void redirectsAndSetsCookies()
tearDown
public void tearDown()
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.