"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log4j-core/src/test/java/org/apache/logging/log4j/core/appender/db/jdbc/DataSourceConnectionSourceTest.java" between
apache-log4j-2.12.3-src.tar.gz and apache-log4j-2.12.4-src.tar.gz

About: Apache Log4j 2 is a logging library for Java. Source distribution (Java).
Caution: Release 2.12.3 is the last 2.x release to support Java 7 (Java 8 users should use 2.17.0 or greater) and have fixed a critical remote code execution vulnerability (CVE-2021-44228).

DataSourceConnectionSourceTest.java  (apache-log4j-2.12.3-src):DataSourceConnectionSourceTest.java  (apache-log4j-2.12.4-src)
skipping to change at line 40 skipping to change at line 40
import org.apache.logging.log4j.junit.JndiRule; import org.apache.logging.log4j.junit.JndiRule;
import org.apache.logging.log4j.junit.LoggerContextRule; import org.apache.logging.log4j.junit.LoggerContextRule;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import org.junit.rules.RuleChain; import org.junit.rules.RuleChain;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized;
@RunWith(Parameterized.class) @RunWith(Parameterized.class)
public class DataSourceConnectionSourceTest { public class DataSourceConnectionSourceTest extends AbstractJdbcDataSourceTest {
@Parameterized.Parameters(name = "{0}") @Parameterized.Parameters(name = "{0}")
public static Object[][] data() { public static Object[][] data() {
return new Object[][]{ return new Object[][]{
{"java:/comp/env/jdbc/Logging01"}, {"java:/comp/env/jdbc/Logging01"},
{"java:/comp/env/jdbc/Logging02"} {"java:/comp/env/jdbc/Logging02"}
}; };
} }
private static final String CONFIG = "log4j-fatalOnly.xml"; private static final String CONFIG = "log4j-fatalOnly.xml";
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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