Bael 6556 3 (#4382)

* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases
This commit is contained in:
Amit Pandey
2018-06-01 16:42:51 +05:30
committed by Grzegorz Piwowarek
parent cfa5f07c96
commit 7206e64bef
150 changed files with 187 additions and 182 deletions
@@ -6,7 +6,7 @@ import org.junit.AfterClass;
import java.lang.reflect.Field;
public class Log4j2Test {
public class Log4j2BaseIntegrationTest {
@AfterClass
public static void tearDown() throws Exception {
Field factories = ConfigurationFactory.class.getDeclaredField("factories");
@@ -4,7 +4,7 @@
**/
package com.baeldung.logging.log4j2.setconfigurationfactory;
import com.baeldung.logging.log4j2.Log4j2Test;
import com.baeldung.logging.log4j2.Log4j2BaseIntegrationTest;
import com.baeldung.logging.log4j2.simpleconfiguration.CustomConfigurationFactory;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -17,7 +17,7 @@ import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@RunWith(JUnit4.class)
public class SetConfigurationFactoryTest extends Log4j2Test {
public class SetConfigurationFactoryIntegrationTest extends Log4j2BaseIntegrationTest {
@BeforeClass
public static void setUp() {
CustomConfigurationFactory customConfigurationFactory = new CustomConfigurationFactory();
@@ -4,7 +4,7 @@
**/
package com.baeldung.logging.log4j2.simpleconfiguration;
import com.baeldung.logging.log4j2.Log4j2Test;
import com.baeldung.logging.log4j2.Log4j2BaseIntegrationTest;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.Marker;
@@ -13,7 +13,7 @@ import org.apache.logging.log4j.core.config.plugins.util.PluginManager;
import org.junit.BeforeClass;
import org.junit.Test;
public class SimpleConfigurationTest extends Log4j2Test {
public class SimpleConfigurationIntegrationTest extends Log4j2BaseIntegrationTest {
@BeforeClass
public static void setUp() {
PluginManager.addPackage("com.baeldung.logging.log4j2.simpleconfiguration");
@@ -5,7 +5,7 @@
package com.baeldung.logging.log4j2.simpleconfigurator;
import com.baeldung.logging.log4j2.Log4j2Test;
import com.baeldung.logging.log4j2.Log4j2BaseIntegrationTest;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.core.appender.ConsoleAppender;
import org.apache.logging.log4j.core.config.Configurator;
@@ -18,7 +18,7 @@ import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@RunWith(JUnit4.class)
public class SimpleConfiguratorTest extends Log4j2Test {
public class SimpleConfiguratorIntegrationTest extends Log4j2BaseIntegrationTest {
@Test
public void givenDefaultLog4j2Environment_whenProgrammaticallyConfigured_thenLogsCorrectly() {
@@ -6,7 +6,7 @@ import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import com.baeldung.logging.log4j2.Log4j2Test;
import com.baeldung.logging.log4j2.Log4j2BaseIntegrationTest;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.Before;
@@ -14,7 +14,7 @@ import org.junit.Test;
import com.fasterxml.jackson.databind.ObjectMapper;
public class JSONLayoutTest extends Log4j2Test {
public class JSONLayoutIntegrationTest extends Log4j2BaseIntegrationTest {
private static Logger logger;
private ByteArrayOutputStream consoleOutput = new ByteArrayOutputStream();
@@ -7,7 +7,7 @@
package com.baeldung.logging.log4j2.xmlconfiguration;
import com.baeldung.logging.log4j2.Log4j2Test;
import com.baeldung.logging.log4j2.Log4j2BaseIntegrationTest;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.Marker;
@@ -17,7 +17,7 @@ import org.apache.logging.log4j.core.config.plugins.util.PluginManager;
import org.junit.BeforeClass;
import org.junit.Test;
public class XMLConfigLogTest extends Log4j2Test {
public class XMLConfigLogIntegrationTest extends Log4j2BaseIntegrationTest {
@BeforeClass
public static void setUp() {
@@ -13,7 +13,7 @@ import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
public class JSONLayoutTest {
public class JSONLayoutIntegrationTest {
private static Logger logger;
private ByteArrayOutputStream consoleOutput = new ByteArrayOutputStream();
@@ -6,7 +6,7 @@ import org.junit.Test;
import ch.qos.logback.classic.Logger;
import org.slf4j.LoggerFactory;
public class LogbackTests {
public class LogbackIntegrationTest {
@Test
public void givenLogHierarchy_MessagesFiltered() {
@@ -51,7 +51,7 @@ public class LogbackTests {
@Test
public void givenParameters_ValuesLogged() {
Logger logger = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(LogbackTests.class);
Logger logger = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(LogbackIntegrationTest.class);
String message = "This is a String";
Integer zero = 0;
@@ -11,7 +11,7 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class MapAppenderTest {
public class MapAppenderUnitTest {
private LoggerContext ctx;