"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log4j-core/src/test/java/org/apache/logging/log4j/core/appender/WriterAppenderTest.java" between
apache-log4j-2.11.1-src.tar.gz and apache-log4j-2.11.2-src.tar.gz

About: Apache Log4j 2 is a logging library for Java. Source distribution (Java).

WriterAppenderTest.java  (apache-log4j-2.11.1-src):WriterAppenderTest.java  (apache-log4j-2.11.2-src)
skipping to change at line 104 skipping to change at line 104
final ByteArrayOutputStream out = new ByteArrayOutputStream(); final ByteArrayOutputStream out = new ByteArrayOutputStream();
final Writer writer = new PrintWriter(out); final Writer writer = new PrintWriter(out);
test(out, writer); test(out, writer);
} }
@Test @Test
public void testWriterAppenderToStringWriter() throws SQLException { public void testWriterAppenderToStringWriter() throws SQLException {
test(new StringWriter()); test(new StringWriter());
} }
@Test
public void testBuilder() {
// This should compile
WriterAppender.newBuilder().setTarget(new StringWriter()).setName("testW
riterAppender").build();
}
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)