NIFI-662: Unit test expects \n when it should expect System.lineSeparator()

This commit is contained in:
Mark Payne 2015-06-05 15:58:41 -04:00
parent 096ca61e25
commit 089897190c
1 changed files with 1 additions and 7 deletions

View File

@ -22,8 +22,6 @@ import org.apache.nifi.util.TestRunners;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Ignore; import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
@ -39,16 +37,12 @@ import static org.junit.Assert.assertTrue;
* *
*/ */
public class TestExecuteStreamCommand { public class TestExecuteStreamCommand {
private static Logger LOGGER;
@BeforeClass @BeforeClass
public static void init() { public static void init() {
System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "info"); System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "info");
System.setProperty("org.slf4j.simpleLogger.showDateTime", "true"); System.setProperty("org.slf4j.simpleLogger.showDateTime", "true");
System.setProperty("org.slf4j.simpleLogger.log.nifi.processors.standard.ExecuteStreamCommand", "debug"); System.setProperty("org.slf4j.simpleLogger.log.nifi.processors.standard.ExecuteStreamCommand", "debug");
System.setProperty("org.slf4j.simpleLogger.log.nifi.processors.standard.TestExecuteStreamCommand", "debug"); System.setProperty("org.slf4j.simpleLogger.log.nifi.processors.standard.TestExecuteStreamCommand", "debug");
LOGGER = LoggerFactory.getLogger(TestExecuteStreamCommand.class);
} }
@Test @Test