public class

GzipFilterAcceptanceTest

extends AbstractConfluenceAcceptanceTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ThreadLocalWebTestCase
         ↳ com.atlassian.confluence.AbstractAtlassianWebTestCase
           ↳ com.atlassian.confluence.AbstractConfluenceAcceptanceTest
             ↳ com.atlassian.confluence.GzipFilterAcceptanceTest

Class Overview

Test that the Gzip filter acts appropriately according to the general configuration setting. It is assumed that if the response header includes the gzip compression header, and jwebunit understands the page, then the compression has worked correctly.

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
[Expand]
Inherited Fields
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
Public Constructors
GzipFilterAcceptanceTest()
Public Methods
void testCssFilesAreNotZippedInIE6WhenGzipEnabled()
void testCssFilesAreZippedWhenGzipEnabled()
void testDashboardByRedirectionWhenGzipEnabled()
void testDashboardWhenGzipEnabled()
void testGzipDisabledBySetting()
void testGzipWorksWhenEnabled()
void testImagesAreNotZippedWhenGzipEnabled()
void testTxtFilesAreNotZippedWhenGzipEnabled()
void testZipFilesAreNotZippedWhenGzipEnabled()
Protected Methods
void setUp()
void tearDown()
Default tearDown method.
[Expand]
Inherited Methods
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
From class com.atlassian.confluence.ThreadLocalWebTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public GzipFilterAcceptanceTest ()

Public Methods

public void testCssFilesAreNotZippedInIE6WhenGzipEnabled ()

Throws
Exception

public void testCssFilesAreZippedWhenGzipEnabled ()

Throws
Exception

public void testDashboardByRedirectionWhenGzipEnabled ()

public void testDashboardWhenGzipEnabled ()

public void testGzipDisabledBySetting ()

public void testGzipWorksWhenEnabled ()

public void testImagesAreNotZippedWhenGzipEnabled ()

public void testTxtFilesAreNotZippedWhenGzipEnabled ()

public void testZipFilesAreNotZippedWhenGzipEnabled ()

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Default tearDown method. Removes any files which were added to the filesToDelete list.

Throws
Exception