it.com.atlassian.gzipfilter
Class TestMimeTypeAndBrowserHandling

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by it.com.atlassian.gzipfilter.TestMimeTypeAndBrowserHandling
All Implemented Interfaces:
junit.framework.Test

public class TestMimeTypeAndBrowserHandling
extends junit.framework.TestCase


Constructor Summary
TestMimeTypeAndBrowserHandling()
           
 
Method Summary
 void testUTF8()
           
 void testWebappDoesGzipAndContentIsCorrect()
           
 void testWebappDoesNotGzipWhenClientDoesNotSupportIt()
           
 void testWebappOnlyGzipsCertainMimeTypes()
           
 void testWebappOnlyGzipsCertainMimeTypesForCertainBrowsers()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestMimeTypeAndBrowserHandling

public TestMimeTypeAndBrowserHandling()
Method Detail

testWebappDoesNotGzipWhenClientDoesNotSupportIt

public void testWebappDoesNotGzipWhenClientDoesNotSupportIt()
                                                     throws java.io.IOException
Throws:
java.io.IOException

testWebappDoesGzipAndContentIsCorrect

public void testWebappDoesGzipAndContentIsCorrect()
                                           throws java.io.IOException
Throws:
java.io.IOException

testWebappOnlyGzipsCertainMimeTypes

public void testWebappOnlyGzipsCertainMimeTypes()
                                         throws java.io.IOException
Throws:
java.io.IOException

testWebappOnlyGzipsCertainMimeTypesForCertainBrowsers

public void testWebappOnlyGzipsCertainMimeTypesForCertainBrowsers()
                                                           throws java.io.IOException
Throws:
java.io.IOException

testUTF8

public void testUTF8()
              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.