From adf00946bfa2d22fba08e8e7b2c465d0bb1fff25 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Mon, 23 Apr 2012 15:24:02 -0700 Subject: [PATCH] Use property to determine if we should write test debug information or not. --- tests/src/com/fsck/k9/helper/HtmlConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/com/fsck/k9/helper/HtmlConverterTest.java b/tests/src/com/fsck/k9/helper/HtmlConverterTest.java index 8fe95476f..8592f6361 100644 --- a/tests/src/com/fsck/k9/helper/HtmlConverterTest.java +++ b/tests/src/com/fsck/k9/helper/HtmlConverterTest.java @@ -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