NIHVIVO-108 MakeTidy will write it's output to the log instead of to a file.
This commit is contained in:
parent
1b627fd2ab
commit
1367b10da3
2 changed files with 78 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue