NIHVIVO-108 MakeTidy will write it's output to the log instead of to a file.

This commit is contained in:
jeb228 2010-02-22 18:29:21 +00:00
parent 1b627fd2ab
commit 1367b10da3
2 changed files with 78 additions and 29 deletions

View file

@ -2,6 +2,7 @@
package edu.cornell.mannlib.vitro.webapp.utils;
import org.apache.log4j.Level;
import org.junit.Before;
import org.junit.Test;
@ -14,8 +15,8 @@ import edu.cornell.mannlib.vitro.testing.AbstractTestClass;
*/
public class MakeTidyTest extends AbstractTestClass {
@Before
public void suppressOutputMessage() {
suppressSysout();
public void suppressLogging() {
setLoggerLevel(MakeTidy.class, Level.WARN);
}
@Test