|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.atlassian.mail.TestHtmlToTextConverter
| Constructor Summary | |
TestHtmlToTextConverter()
|
|
| Method Summary | |
void |
testIgnoreHeader()
|
void |
testParagraphsAndBreaks()
|
void |
testXHTMLBreaks()
There is a bug in JDK prior to 1.6 whereby this html "Some text" would be converted to "Some\n>text" instead of "Some\ntext". |
| 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 |
public TestHtmlToTextConverter()
| Method Detail |
public void testParagraphsAndBreaks()
throws java.io.IOException
java.io.IOException
public void testXHTMLBreaks()
throws java.io.IOException
There is a bug in JDK prior to 1.6 whereby this html "Some
text" would be converted
to "Some\n>text" instead of "Some\ntext".
The bug is reported as Issue 4806463.
This is why this test doesn't expect the same result depending on the jdk version.
java.io.IOException
public void testIgnoreHeader()
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||