org.mule.providers.http.transformers
Class HttpResponseToStringTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.providers.http.transformers.HttpResponseToStringTestCase
All Implemented Interfaces:
Test

public class HttpResponseToStringTestCase
extends org.mule.tck.AbstractMuleTestCase


Nested Class Summary
 
Nested classes inherited from class org.mule.tck.AbstractMuleTestCase
org.mule.tck.AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
logger
 
Constructor Summary
HttpResponseToStringTestCase()
           
 
Method Summary
protected  void doSetUp()
           
 void testTransformChunked()
          Check consistency of the transformed HttpResponse string when HTTP transfer encoding is chunked
 void testTransformException()
          Expect a TransformerException when the encoding is not supported.
 void testTransformNotChunked()
          Check consistency of the transformed HttpResponse string when HTTP transfer encoding is chunked
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
addTest, disposeManager, doTearDown, finalize, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreSetUp, suitePreTearDown, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpResponseToStringTestCase

public HttpResponseToStringTestCase()
Method Detail

doSetUp

protected void doSetUp()
                throws Exception
Throws:
Exception

testTransformChunked

public void testTransformChunked()
                          throws Exception
Check consistency of the transformed HttpResponse string when HTTP transfer encoding is chunked

Throws:
Exception

testTransformNotChunked

public void testTransformNotChunked()
                             throws Exception
Check consistency of the transformed HttpResponse string when HTTP transfer encoding is chunked

Throws:
Exception

testTransformException

public void testTransformException()
Expect a TransformerException when the encoding is not supported.



Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.