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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
 
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 Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testSetRawContentTypeAppendsEncoding

public void testSetRawContentTypeAppendsEncoding()
                                          throws Exception
Throws:
Exception

testSetHtmlContentTypeWithCharsetIsIgnored

public void testSetHtmlContentTypeWithCharsetIsIgnored()
                                                throws Exception
Throws:
Exception

testSetNonHtmlContentTypeWithCharsetWorks

public void testSetNonHtmlContentTypeWithCharsetWorks()
                                               throws Exception
Throws:
Exception

testSetContentTypeHeaderIsAppliedWithoutChanges

public void testSetContentTypeHeaderIsAppliedWithoutChanges()
                                                     throws Exception
Throws:
Exception


Copyright © 2015 Atlassian. All rights reserved.