com.atlassian.core.filters.encoding
Class TestFixedHtmlEncodingResponseWrapper

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.core.filters.encoding.TestFixedHtmlEncodingResponseWrapper
All Implemented Interfaces:
junit.framework.Test

public class TestFixedHtmlEncodingResponseWrapper
extends junit.framework.TestCase


Constructor Summary
TestFixedHtmlEncodingResponseWrapper()
           
 
Method Summary
protected  void setUp()
           
 void testSetContentTypeHeaderIsAppliedWithoutChanges()
           
 void testSetHtmlContentTypeWithCharsetIsIgnored()
           
 void testSetNonHtmlContentTypeWithCharsetWorks()
           
 void testSetRawContentTypeAppendsEncoding()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestFixedHtmlEncodingResponseWrapper

public TestFixedHtmlEncodingResponseWrapper()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testSetRawContentTypeAppendsEncoding

public void testSetRawContentTypeAppendsEncoding()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testSetHtmlContentTypeWithCharsetIsIgnored

public void testSetHtmlContentTypeWithCharsetIsIgnored()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testSetNonHtmlContentTypeWithCharsetWorks

public void testSetNonHtmlContentTypeWithCharsetWorks()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testSetContentTypeHeaderIsAppliedWithoutChanges

public void testSetContentTypeHeaderIsAppliedWithoutChanges()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.