|
||||||||||
| 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 |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame |
| 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 java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
public void testDefaultContentTypeAndEncodingAreSet()
throws java.lang.Exception
java.lang.Exception
public void testSetRawContentTypeAppendsEncoding()
throws java.lang.Exception
java.lang.Exception
public void testSetHtmlContentTypeWithCharsetIsIgnored()
throws java.lang.Exception
java.lang.Exception
public void testSetNonHtmlContentTypeWithCharsetWorks()
throws java.lang.Exception
java.lang.Exception
public void testSetContentTypeHeaderIsAppliedWithoutChanges()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||