org.httpobjects.jetty
Class IntegrationTest

java.lang.Object
  extended by org.httpobjects.jetty.IntegrationTest

public abstract class IntegrationTest
extends Object


Constructor Summary
IntegrationTest()
           
 
Method Summary
 void basicAuthentication()
           
 void happyPathForGet()
           
 void happyPathForPost()
           
 void happyPathForPut()
           
 void methodNotAllowed()
           
 void nullResponsesAreTreatedAsNotFound()
           
 void queryParameters()
           
 void redirectsAndSetsCookies()
           
 void requestCookiesAreTranslated()
           
 void returnsNotFoundIfThereIsNoMatchingPattern()
           
protected abstract  void serve(int port, HttpObject... objects)
           
 void setCookieHeadersAreTranslated()
           
 void setup()
           
protected abstract  void stopServing()
           
 void supportsPatch()
           
 void tearDown()
           
 void urlToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrationTest

public IntegrationTest()
Method Detail

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.