com.atlassian.core.filters
Class TestHeaderSanitisingResponseWrapper

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

public class TestHeaderSanitisingResponseWrapper
extends junit.framework.TestCase

Since:
v4.2

Constructor Summary
TestHeaderSanitisingResponseWrapper()
           
 
Method Summary
 void testAddCookie()
           
 void testAddCookieNull()
           
 void testAddDateHeader()
           
 void testAddHeader()
           
 void testAddIntHeader()
           
 void testCleanString()
           
 void testSendError()
           
 void testSendRedirect()
           
 void testSetContentType()
           
 void testSetDateHeader()
           
 void testSetHeader()
           
 void testSetIntHeader()
           
 void testSetStatus()
           
 
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, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestHeaderSanitisingResponseWrapper

public TestHeaderSanitisingResponseWrapper()
Method Detail

testCleanString

public void testCleanString()
                     throws Exception
Throws:
Exception

testAddCookie

public void testAddCookie()
                   throws Exception
Throws:
Exception

testAddCookieNull

public void testAddCookieNull()
                       throws Exception
Throws:
Exception

testSetContentType

public void testSetContentType()
                        throws Exception
Throws:
Exception

testSetDateHeader

public void testSetDateHeader()
                       throws Exception
Throws:
Exception

testAddDateHeader

public void testAddDateHeader()
                       throws Exception
Throws:
Exception

testSetHeader

public void testSetHeader()
                   throws Exception
Throws:
Exception

testAddHeader

public void testAddHeader()
                   throws Exception
Throws:
Exception

testSetIntHeader

public void testSetIntHeader()
                      throws Exception
Throws:
Exception

testAddIntHeader

public void testAddIntHeader()
                      throws Exception
Throws:
Exception

testSendRedirect

public void testSendRedirect()
                      throws Exception
Throws:
Exception

testSendError

public void testSendError()
                   throws Exception
Throws:
Exception

testSetStatus

public void testSetStatus()
                   throws Exception
Throws:
Exception


Copyright © 2015 Atlassian. All rights reserved.