/** Test for {@link ExtractUtils#getEndOfLine()}. */ public void test_getEndOfLine_windows() throws Exception { setTestUnitContent("aaa\r\nbbb\r\nccc"); ExtractUtils utils = new ExtractUtils(testUnit); assertEquals("\r\n", utils.getEndOfLine()); }
/** Test for {@link ExtractUtils#getEndOfLine()}. */ public void test_getEndOfLine_default() throws Exception { setTestUnitContent(""); ExtractUtils utils = new ExtractUtils(testUnit); assertEquals(ExtractUtils.DEFAULT_END_OF_LINE, utils.getEndOfLine()); }