Use property to determine if we should write test debug information or not.

This commit is contained in:
Andrew Chen 2012-04-23 15:24:02 -07:00
parent c829fe9cd2
commit adf00946bf
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import static junit.framework.Assert.*;
public class HtmlConverterTest {
// Useful if you want to write stuff to a file for debugging in a browser.
private static final boolean WRITE_TO_FILE = true;
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