diff --git a/tests/src/com/fsck/k9/helper/HtmlConverterTest.java b/tests/src/com/fsck/k9/helper/HtmlConverterTest.java index 8592f6361..f9dca2302 100644 --- a/tests/src/com/fsck/k9/helper/HtmlConverterTest.java +++ b/tests/src/com/fsck/k9/helper/HtmlConverterTest.java @@ -1,20 +1,16 @@ package com.fsck.k9.helper; -import junit.framework.Assert; -import org.junit.Test; +import junit.framework.TestCase; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; -import static junit.framework.Assert.*; - -public class HtmlConverterTest { +public class HtmlConverterTest extends TestCase { // Useful if you want to write stuff to a file for debugging in a browser. private static final boolean WRITE_TO_FILE = Boolean.parseBoolean(System.getProperty("k9.htmlConverterTest.writeToFile", "false")); private static final String OUTPUT_FILE = "C:/temp/parse.html"; - @Test public void testTextQuoteToHtmlBlockquote() { String message = "Panama!\n" + "\n" + @@ -32,7 +28,6 @@ public class HtmlConverterTest { assertEquals("
Panama!

Bob Barker <bob@aol.com> wrote:
a canal

Dorothy Jo Gideon <dorothy@aol.com> espoused:
A man, a plan...
Too easy!

Nice job :)
Guess!
", result); } - @Test public void testTextQuoteToHtmlBlockquoteIndented() { String message = "*facepalm*\n" + "\n" + @@ -47,7 +42,6 @@ public class HtmlConverterTest { assertEquals("
*facepalm*

Bob Barker <bob@aol.com> wrote:
A wise man once said...

LOL F1RST!!!!!

:)
", result); } - @Test public void testQuoteDepthColor() { assertEquals(HtmlConverter.getQuoteColor(1), HtmlConverter.QUOTE_COLOR_LEVEL_1); assertEquals(HtmlConverter.getQuoteColor(2), HtmlConverter.QUOTE_COLOR_LEVEL_2);