|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.core.filters.TestAbstractEncodingFilter
public class TestAbstractEncodingFilter
This test only covers the actual encoding-related (i.e. content-type header) functionality of the AbstractEncodingFilter. See the related classes for tests for the other functionality.
TestAbstractEncodingFilterContentLocationHandling,
TestAbstractEncodingFilterPunctuationReplacement,
TestAbstractEncodingFilterCachingHeaders| Constructor Summary | |
|---|---|
TestAbstractEncodingFilter()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
void |
testDefaultContentTypeAndEncodingAreSet()
|
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 |
|---|
public TestAbstractEncodingFilter()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
public void testDefaultContentTypeAndEncodingAreSet()
throws Exception
Exception
public void testSetRawContentTypeAppendsEncoding()
throws Exception
Exception
public void testSetHtmlContentTypeWithCharsetIsIgnored()
throws Exception
Exception
public void testSetNonHtmlContentTypeWithCharsetWorks()
throws Exception
Exception
public void testSetContentTypeHeaderIsAppliedWithoutChanges()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||