net.grinder.plugin.http.tcpproxyfilter
Class TestConnectionHandlerImplementation

java.lang.Object
  extended by net.grinder.testutility.AbstractJUnit4FileTestCase
      extended by net.grinder.plugin.http.tcpproxyfilter.TestConnectionHandlerImplementation

public class TestConnectionHandlerImplementation
extends AbstractJUnit4FileTestCase

Unit tests for ConnectionHandlerImplementation.

Author:
Philip Aston

Constructor Summary
TestConnectionHandlerImplementation()
           
 
Method Summary
 void setUp()
           
 void testAuthorization()
           
 void testOverflowBuffer()
           
 void testPartitionedRequest()
           
 void testRequestBinaryBody()
           
 void testRequestFileBody()
           
 void testRequestFileBody2()
           
 void testRequestFormBody()
           
 void testRequestMultipartFormBody()
           
 void testRequestStringBody()
           
 void testRequestWithGet()
           
 void testRequestWithPost()
           
 void testRequestWithUserComment()
           
 void testResponseMessage1()
           
 void testResponseMessage2()
           
 void testResponseMessage3()
           
 void testResponseMessageWithTokensInHiddenParameters()
           
 void testResponseMessageWithTokensInLinks()
           
 void testWithBadResponseMessages()
           
 
Methods inherited from class net.grinder.testutility.AbstractJUnit4FileTestCase
getDirectory, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestConnectionHandlerImplementation

public TestConnectionHandlerImplementation()
Method Detail

setUp

public void setUp()

testRequestWithGet

public void testRequestWithGet()
                        throws Exception
Throws:
Exception

testAuthorization

public void testAuthorization()
                       throws Exception
Throws:
Exception

testRequestWithPost

public void testRequestWithPost()
                         throws Exception
Throws:
Exception

testResponseMessage1

public void testResponseMessage1()
                          throws Exception
Throws:
Exception

testResponseMessage2

public void testResponseMessage2()
                          throws Exception
Throws:
Exception

testResponseMessage3

public void testResponseMessage3()
                          throws Exception
Throws:
Exception

testResponseMessageWithTokensInLinks

public void testResponseMessageWithTokensInLinks()
                                          throws Exception
Throws:
Exception

testResponseMessageWithTokensInHiddenParameters

public void testResponseMessageWithTokensInHiddenParameters()
                                                     throws Exception
Throws:
Exception

testRequestStringBody

public void testRequestStringBody()
                           throws Exception
Throws:
Exception

testRequestWithUserComment

public void testRequestWithUserComment()
                                throws Exception
Throws:
Exception

testRequestBinaryBody

public void testRequestBinaryBody()
                           throws Exception
Throws:
Exception

testRequestFormBody

public void testRequestFormBody()
                         throws Exception
Throws:
Exception

testRequestMultipartFormBody

public void testRequestMultipartFormBody()
                                  throws Exception
Throws:
Exception

testRequestFileBody

public void testRequestFileBody()
                         throws Exception
Throws:
Exception

testRequestFileBody2

public void testRequestFileBody2()
                          throws Exception
Throws:
Exception

testPartitionedRequest

public void testPartitionedRequest()
                            throws Exception
Throws:
Exception

testOverflowBuffer

public void testOverflowBuffer()

testWithBadResponseMessages

public void testWithBadResponseMessages()
                                 throws Exception
Throws:
Exception


Copyright © 2000-2013. All Rights Reserved.