"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log4j-core/src/test/java/org/apache/logging/log4j/core/net/JndiManagerTest.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).

JndiManagerTest.java  (apache-log4j-2.12.3-src):JndiManagerTest.java  (apache-log4j-2.12.4-src)
skipping to change at line 33 skipping to change at line 33
import org.apache.logging.log4j.test.JUnit5Bridge; import org.apache.logging.log4j.test.JUnit5Bridge;
import org.junit.Test; import org.junit.Test;
/** /**
* Tests {@link JndiManager}. * Tests {@link JndiManager}.
*/ */
public class JndiManagerTest { public class JndiManagerTest {
@Test @Test
public void testIsJndiContextSelectorEnabled() {
assertFalse(JndiManager.isJndiContextSelectorEnabled());
}
@Test
public void testIsJndiEnabled() { public void testIsJndiEnabled() {
assertFalse(JndiManager.isJndiEnabled()); assertFalse(JndiManager.isJndiEnabled());
} }
@Test @Test
public void testIsJndiContextSelectorEnabled() { public void testIsJndiJdbcEnabled() {
assertFalse(JndiManager.isJndiContextSelectorEnabled()); assertFalse(JndiManager.isJndiJdbcEnabled());
} }
@Test @Test
public void testIsJndiJmsEnabled() { public void testIsJndiJmsEnabled() {
assertFalse(JndiManager.isJndiJmsEnabled()); assertFalse(JndiManager.isJndiJmsEnabled());
} }
@Test @Test
public void testIsJndiLookupEnabled() { public void testIsJndiLookupEnabled() {
assertFalse(JndiManager.isJndiLookupEnabled()); assertFalse(JndiManager.isJndiLookupEnabled());
 End of changes. 2 change blocks. 
2 lines changed or deleted 7 lines changed or added

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