diff --git a/JGit/src/test/java/com/baeldung/jgit/JGitBugTest.java b/JGit/src/test/java/com/baeldung/jgit/JGitBugIntegrationTest.java similarity index 96% rename from JGit/src/test/java/com/baeldung/jgit/JGitBugTest.java rename to JGit/src/test/java/com/baeldung/jgit/JGitBugIntegrationTest.java index acad4e395f..ed7168b2c2 100644 --- a/JGit/src/test/java/com/baeldung/jgit/JGitBugTest.java +++ b/JGit/src/test/java/com/baeldung/jgit/JGitBugIntegrationTest.java @@ -11,7 +11,7 @@ import static org.junit.Assert.assertNotNull; /** * Tests which show issues with JGit that we reported upstream. */ -public class JGitBugTest { +public class JGitBugIntegrationTest { @Test public void testRevWalkDisposeClosesReader() throws IOException { try (Repository repo = Helper.openJGitRepository()) { diff --git a/JGit/src/test/java/com/baeldung/jgit/porcelain/PorcelainTest.java b/JGit/src/test/java/com/baeldung/jgit/porcelain/PorcelainUnitTest.java similarity index 91% rename from JGit/src/test/java/com/baeldung/jgit/porcelain/PorcelainTest.java rename to JGit/src/test/java/com/baeldung/jgit/porcelain/PorcelainUnitTest.java index ce3a41e657..d3b3358664 100644 --- a/JGit/src/test/java/com/baeldung/jgit/porcelain/PorcelainTest.java +++ b/JGit/src/test/java/com/baeldung/jgit/porcelain/PorcelainUnitTest.java @@ -2,7 +2,7 @@ package com.baeldung.jgit.porcelain; import org.junit.Test; -public class PorcelainTest { +public class PorcelainUnitTest { @Test public void runSamples() throws Exception { // simply call all the samples to see any severe problems with the samples diff --git a/Twitter4J/src/test/java/com/baeldung/ApplicationTest.java b/Twitter4J/src/test/java/com/baeldung/ApplicationIntegrationTest.java similarity index 95% rename from Twitter4J/src/test/java/com/baeldung/ApplicationTest.java rename to Twitter4J/src/test/java/com/baeldung/ApplicationIntegrationTest.java index a1c778679c..4696283faa 100644 --- a/Twitter4J/src/test/java/com/baeldung/ApplicationTest.java +++ b/Twitter4J/src/test/java/com/baeldung/ApplicationIntegrationTest.java @@ -9,7 +9,7 @@ import org.junit.Test; import twitter4j.TwitterException; -public class ApplicationTest { +public class ApplicationIntegrationTest { /** * In order run this jUnit test you need to configure your API details in the twitter4j.properties diff --git a/algorithms/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerTest.java b/algorithms/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerUnitTest.java similarity index 98% rename from algorithms/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerTest.java rename to algorithms/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerUnitTest.java index 95602340a6..9203131397 100644 --- a/algorithms/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerTest.java +++ b/algorithms/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerUnitTest.java @@ -5,7 +5,7 @@ import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class PrimeCheckerTest { +public class PrimeCheckerUnitTest { private final BigIntegerPrimeChecker primeChecker = new BigIntegerPrimeChecker(); diff --git a/annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderTest.java b/annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderUnitTest.java similarity index 90% rename from annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderTest.java rename to annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderUnitTest.java index 8d01f8a517..d5f758089a 100644 --- a/annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderTest.java +++ b/annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderUnitTest.java @@ -4,7 +4,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; -public class PersonBuilderTest { +public class PersonBuilderUnitTest { @Test public void whenBuildPersonWithBuilder_thenObjectHasPropertyValues() { diff --git a/apache-bval/src/test/java/com/baeldung/validation/ValidationTest.java b/apache-bval/src/test/java/com/baeldung/validation/ValidationIntegrationTest.java similarity index 98% rename from apache-bval/src/test/java/com/baeldung/validation/ValidationTest.java rename to apache-bval/src/test/java/com/baeldung/validation/ValidationIntegrationTest.java index cd58d4460a..ecbcd100da 100644 --- a/apache-bval/src/test/java/com/baeldung/validation/ValidationTest.java +++ b/apache-bval/src/test/java/com/baeldung/validation/ValidationIntegrationTest.java @@ -17,7 +17,7 @@ import static org.junit.Assert.*; import com.baeldung.model.User; -public class ValidationTest { +public class ValidationIntegrationTest { private static ValidatorFactory validatorFactory; private static Validator validator; diff --git a/apache-cxf/cxf-aegis/src/test/java/com/baeldung/cxf/aegis/BaeldungTest.java b/apache-cxf/cxf-aegis/src/test/java/com/baeldung/cxf/aegis/BaeldungIntegrationTest.java similarity index 99% rename from apache-cxf/cxf-aegis/src/test/java/com/baeldung/cxf/aegis/BaeldungTest.java rename to apache-cxf/cxf-aegis/src/test/java/com/baeldung/cxf/aegis/BaeldungIntegrationTest.java index 935b283cb4..b28b987cfa 100644 --- a/apache-cxf/cxf-aegis/src/test/java/com/baeldung/cxf/aegis/BaeldungTest.java +++ b/apache-cxf/cxf-aegis/src/test/java/com/baeldung/cxf/aegis/BaeldungIntegrationTest.java @@ -26,7 +26,7 @@ import org.apache.cxf.aegis.AegisReader; import org.apache.cxf.aegis.AegisWriter; import org.apache.cxf.aegis.type.AegisType; -public class BaeldungTest { +public class BaeldungIntegrationTest { private AegisContext context; private String fileName = "baeldung.xml"; diff --git a/apache-poi/src/test/java/com/baeldung/jexcel/JExcelTest.java b/apache-poi/src/test/java/com/baeldung/jexcel/JExcelIntegrationTest.java similarity index 97% rename from apache-poi/src/test/java/com/baeldung/jexcel/JExcelTest.java rename to apache-poi/src/test/java/com/baeldung/jexcel/JExcelIntegrationTest.java index 72272913d5..41efd9d9ba 100644 --- a/apache-poi/src/test/java/com/baeldung/jexcel/JExcelTest.java +++ b/apache-poi/src/test/java/com/baeldung/jexcel/JExcelIntegrationTest.java @@ -21,7 +21,7 @@ import org.junit.Test; import org.junit.Before; import org.junit.After; -public class JExcelTest { +public class JExcelIntegrationTest { private JExcelHelper jExcelHelper; private static String FILE_NAME = "temp.xls"; diff --git a/apache-poi/src/test/java/com/baeldung/poi/excel/ExcelTest.java b/apache-poi/src/test/java/com/baeldung/poi/excel/ExcelIntegrationTest.java similarity index 97% rename from apache-poi/src/test/java/com/baeldung/poi/excel/ExcelTest.java rename to apache-poi/src/test/java/com/baeldung/poi/excel/ExcelIntegrationTest.java index ad36f46f02..5d7ccb9b94 100644 --- a/apache-poi/src/test/java/com/baeldung/poi/excel/ExcelTest.java +++ b/apache-poi/src/test/java/com/baeldung/poi/excel/ExcelIntegrationTest.java @@ -18,7 +18,7 @@ import org.junit.Test; import org.junit.Before; import org.junit.After; -public class ExcelTest { +public class ExcelIntegrationTest { private ExcelPOIHelper excelPOIHelper; private static String FILE_NAME = "temp.xlsx"; diff --git a/apache-poi/src/test/java/com/baeldung/poi/word/WordTest.java b/apache-poi/src/test/java/com/baeldung/poi/word/WordIntegrationTest.java similarity index 94% rename from apache-poi/src/test/java/com/baeldung/poi/word/WordTest.java rename to apache-poi/src/test/java/com/baeldung/poi/word/WordIntegrationTest.java index bc1011a03a..98b5c5b520 100644 --- a/apache-poi/src/test/java/com/baeldung/poi/word/WordTest.java +++ b/apache-poi/src/test/java/com/baeldung/poi/word/WordIntegrationTest.java @@ -14,12 +14,12 @@ import org.apache.poi.xwpf.usermodel.XWPFRun; import org.junit.BeforeClass; import org.junit.Test; -public class WordTest { +public class WordIntegrationTest { static WordDocument wordDocument; @BeforeClass public static void generateMSWordFile() throws Exception { - WordTest.wordDocument = new WordDocument(); + WordIntegrationTest.wordDocument = new WordDocument(); wordDocument.handleSimpleDoc(); } diff --git a/apache-thrift/src/test/java/com/baeldung/thrift/CrossPlatformServiceTest.java b/apache-thrift/src/test/java/com/baeldung/thrift/CrossPlatformServiceIntegrationTest.java similarity index 94% rename from apache-thrift/src/test/java/com/baeldung/thrift/CrossPlatformServiceTest.java rename to apache-thrift/src/test/java/com/baeldung/thrift/CrossPlatformServiceIntegrationTest.java index 4ba9ef2914..7d4b41c400 100644 --- a/apache-thrift/src/test/java/com/baeldung/thrift/CrossPlatformServiceTest.java +++ b/apache-thrift/src/test/java/com/baeldung/thrift/CrossPlatformServiceIntegrationTest.java @@ -6,7 +6,7 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Test; -public class CrossPlatformServiceTest { +public class CrossPlatformServiceIntegrationTest { private CrossPlatformServiceServer server = new CrossPlatformServiceServer(); diff --git a/axon/src/test/java/com/baeldung/axon/MessagesAggregateTest.java b/axon/src/test/java/com/baeldung/axon/MessagesAggregateIntegrationTest.java similarity index 96% rename from axon/src/test/java/com/baeldung/axon/MessagesAggregateTest.java rename to axon/src/test/java/com/baeldung/axon/MessagesAggregateIntegrationTest.java index bbeff18f27..ad099d2c2b 100644 --- a/axon/src/test/java/com/baeldung/axon/MessagesAggregateTest.java +++ b/axon/src/test/java/com/baeldung/axon/MessagesAggregateIntegrationTest.java @@ -12,7 +12,7 @@ import org.junit.Test; import java.util.UUID; -public class MessagesAggregateTest { +public class MessagesAggregateIntegrationTest { private FixtureConfiguration fixture; diff --git a/core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamTest.java b/core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamUnitTest.java similarity index 97% rename from core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamTest.java rename to core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamUnitTest.java index a6060b1a9d..7a28a4b977 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamUnitTest.java @@ -10,7 +10,7 @@ import java.util.stream.Stream; import org.junit.Test; -public class Java9OptionalsStreamTest { +public class Java9OptionalsStreamUnitTest { private static List> listOfOptionals = Arrays.asList(Optional.empty(), Optional.of("foo"), Optional.empty(), Optional.of("bar")); diff --git a/core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageTest.java b/core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageUnitTest.java similarity index 94% rename from core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageTest.java rename to core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageUnitTest.java index c0a5042b58..2c383a44b4 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageUnitTest.java @@ -11,7 +11,7 @@ import java.util.List; import org.junit.Test; -public class MultiResultionImageTest { +public class MultiResultionImageUnitTest { @Test public void baseMultiResImageTest() { diff --git a/core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamTest.java b/core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamUnitTest.java similarity index 93% rename from core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamTest.java rename to core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamUnitTest.java index 56b4bb7b8c..adb3171eec 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamUnitTest.java @@ -6,7 +6,7 @@ import java.util.stream.Stream; import org.junit.Test; import static org.junit.Assert.assertEquals; -public class OptionalToStreamTest { +public class OptionalToStreamUnitTest { @Test public void testOptionalToStream() { diff --git a/core-java-9/src/test/java/com/baeldung/java9/SetExamplesTest.java b/core-java-9/src/test/java/com/baeldung/java9/SetExamplesUnitTest.java similarity index 94% rename from core-java-9/src/test/java/com/baeldung/java9/SetExamplesTest.java rename to core-java-9/src/test/java/com/baeldung/java9/SetExamplesUnitTest.java index 0f8db83d9c..9e7e8e6e4b 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/SetExamplesTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/SetExamplesUnitTest.java @@ -5,7 +5,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; -public class SetExamplesTest { +public class SetExamplesUnitTest { @Test public void testUnmutableSet() { diff --git a/core-java-9/src/test/java/com/baeldung/java9/concurrent/future/CompletableFutureTest.java b/core-java-9/src/test/java/com/baeldung/java9/concurrent/future/CompletableFutureUnitTest.java similarity index 98% rename from core-java-9/src/test/java/com/baeldung/java9/concurrent/future/CompletableFutureTest.java rename to core-java-9/src/test/java/com/baeldung/java9/concurrent/future/CompletableFutureUnitTest.java index b71c211177..5d52acb284 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/concurrent/future/CompletableFutureTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/concurrent/future/CompletableFutureUnitTest.java @@ -9,7 +9,7 @@ import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import org.junit.Test; -public class CompletableFutureTest { +public class CompletableFutureUnitTest { @Test public void testDelay () throws Exception { Object input = new Object(); diff --git a/core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsTest.java b/core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsUnitTest.java similarity index 96% rename from core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsTest.java rename to core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsUnitTest.java index 442a18cbf3..4a704139a1 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsUnitTest.java @@ -24,7 +24,7 @@ import javax.net.ssl.SSLParameters; import org.junit.Before; import org.junit.Test; -public class SimpleHttpRequestsTest { +public class SimpleHttpRequestsUnitTest { private URI httpURI; diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/DiamondTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/DiamondUnitTest.java similarity index 92% rename from core-java-9/src/test/java/com/baeldung/java9/language/DiamondTest.java rename to core-java-9/src/test/java/com/baeldung/java9/language/DiamondUnitTest.java index 33da6486f4..4868d37b6a 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/language/DiamondTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/language/DiamondUnitTest.java @@ -2,7 +2,7 @@ package com.baeldung.java9.language; import org.junit.Test; -public class DiamondTest { +public class DiamondUnitTest { static class FooClass { FooClass(X x) { diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceUnitTest.java similarity index 82% rename from core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceTest.java rename to core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceUnitTest.java index 29ef3930f8..fb00fe45c3 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceUnitTest.java @@ -3,7 +3,7 @@ package com.baeldung.java9.language; import com.baeldung.java9.language.PrivateInterface; import org.junit.Test; -public class PrivateInterfaceTest { +public class PrivateInterfaceUnitTest { @Test public void test() { diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesUnitTest.java similarity index 94% rename from core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesTest.java rename to core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesUnitTest.java index 6bec3125cc..d623bd9965 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesUnitTest.java @@ -3,7 +3,7 @@ package com.baeldung.java9.language; import static org.junit.Assert.assertEquals; import org.junit.Test; -public class TryWithResourcesTest { +public class TryWithResourcesUnitTest { static int closeCount = 0; diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/collections/ListFactoryMethodsTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/collections/ListFactoryMethodsUnitTest.java similarity index 97% rename from core-java-9/src/test/java/com/baeldung/java9/language/collections/ListFactoryMethodsTest.java rename to core-java-9/src/test/java/com/baeldung/java9/language/collections/ListFactoryMethodsUnitTest.java index 8e19d00b6a..8f7c588c15 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/language/collections/ListFactoryMethodsTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/language/collections/ListFactoryMethodsUnitTest.java @@ -9,7 +9,7 @@ import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; -public class ListFactoryMethodsTest { +public class ListFactoryMethodsUnitTest { @Test public void whenListCreated_thenSuccess() { diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/collections/MapFactoryMethodsTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/collections/MapFactoryMethodsUnitTest.java similarity index 97% rename from core-java-9/src/test/java/com/baeldung/java9/language/collections/MapFactoryMethodsTest.java rename to core-java-9/src/test/java/com/baeldung/java9/language/collections/MapFactoryMethodsUnitTest.java index 13469ff93d..dba5b76dfb 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/language/collections/MapFactoryMethodsTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/language/collections/MapFactoryMethodsUnitTest.java @@ -8,7 +8,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; -public class MapFactoryMethodsTest { +public class MapFactoryMethodsUnitTest { @Test public void whenMapCreated_thenSuccess() { diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/collections/SetFactoryMethodsTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/collections/SetFactoryMethodsUnitTest.java similarity index 97% rename from core-java-9/src/test/java/com/baeldung/java9/language/collections/SetFactoryMethodsTest.java rename to core-java-9/src/test/java/com/baeldung/java9/language/collections/SetFactoryMethodsUnitTest.java index b8537d7c82..82e0fed917 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/language/collections/SetFactoryMethodsTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/language/collections/SetFactoryMethodsUnitTest.java @@ -9,7 +9,7 @@ import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; -public class SetFactoryMethodsTest { +public class SetFactoryMethodsUnitTest { @Test public void whenSetCreated_thenSuccess() { diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/stream/CollectorImprovementTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/stream/CollectorImprovementUnitTest.java similarity index 97% rename from core-java-9/src/test/java/com/baeldung/java9/language/stream/CollectorImprovementTest.java rename to core-java-9/src/test/java/com/baeldung/java9/language/stream/CollectorImprovementUnitTest.java index ea76a76a5f..b3bef5edec 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/language/stream/CollectorImprovementTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/language/stream/CollectorImprovementUnitTest.java @@ -8,7 +8,7 @@ import java.util.function.Function; import static org.junit.Assert.assertEquals; -public class CollectorImprovementTest { +public class CollectorImprovementUnitTest { @Test public void givenList_whenSatifyPredicate_thenMapValueWithOccurences() { List numbers = List.of(1, 2, 3, 5, 5); diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesUnitTest.java similarity index 98% rename from core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesTest.java rename to core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesUnitTest.java index 72d17498a9..97e391e5b0 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesUnitTest.java @@ -12,7 +12,7 @@ import java.util.stream.Stream; import static java.lang.Integer.*; import static org.junit.Assert.assertEquals; -public class StreamFeaturesTest { +public class StreamFeaturesUnitTest { public static class TakeAndDropWhileTest { diff --git a/core-java-9/src/test/java/com/baeldung/java9/process/ProcessAPIEnhancementsTest.java b/core-java-9/src/test/java/com/baeldung/java9/process/ProcessAPIEnhancementsUnitTest.java similarity index 99% rename from core-java-9/src/test/java/com/baeldung/java9/process/ProcessAPIEnhancementsTest.java rename to core-java-9/src/test/java/com/baeldung/java9/process/ProcessAPIEnhancementsUnitTest.java index 1129a10d17..9a227a9c8f 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/process/ProcessAPIEnhancementsTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/process/ProcessAPIEnhancementsUnitTest.java @@ -16,7 +16,7 @@ import org.slf4j.LoggerFactory; * Created by sanaulla on 2/23/2017. */ -public class ProcessAPIEnhancementsTest { +public class ProcessAPIEnhancementsUnitTest { Logger log = LoggerFactory.getLogger(ProcessAPIEnhancementsTest.class); diff --git a/core-java-9/src/test/java/com/baeldung/java9/process/ProcessApi.java b/core-java-9/src/test/java/com/baeldung/java9/process/ProcessApiUnitTest.java similarity index 96% rename from core-java-9/src/test/java/com/baeldung/java9/process/ProcessApi.java rename to core-java-9/src/test/java/com/baeldung/java9/process/ProcessApiUnitTest.java index 9c9951bc54..e125f10da7 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/process/ProcessApi.java +++ b/core-java-9/src/test/java/com/baeldung/java9/process/ProcessApiUnitTest.java @@ -20,7 +20,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class ProcessApi { +public class ProcessApiUnitTest { @Before public void init() { diff --git a/core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungBatchSubscriberImplTest.java b/core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungBatchSubscriberImplIntegrationTest.java similarity index 94% rename from core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungBatchSubscriberImplTest.java rename to core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungBatchSubscriberImplIntegrationTest.java index 388d3efdd8..cbc3946999 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungBatchSubscriberImplTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungBatchSubscriberImplIntegrationTest.java @@ -13,7 +13,7 @@ import org.junit.Rule; import org.junit.Test; import org.junit.rules.Stopwatch; -public class BaeldungBatchSubscriberImplTest { +public class BaeldungBatchSubscriberImplIntegrationTest { private static final int ITEM_SIZE = 10; private SubmissionPublisher publisher; diff --git a/core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungSubscriberImplTest.java b/core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungSubscriberImplIntegrationTest.java similarity index 95% rename from core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungSubscriberImplTest.java rename to core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungSubscriberImplIntegrationTest.java index 5638c0a431..6fd093b362 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungSubscriberImplTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/reactive/BaeldungSubscriberImplIntegrationTest.java @@ -13,7 +13,7 @@ import org.junit.Rule; import org.junit.Test; import org.junit.rules.Stopwatch; -public class BaeldungSubscriberImplTest { +public class BaeldungSubscriberImplIntegrationTest { private static final int ITEM_SIZE = 10; private SubmissionPublisher publisher; diff --git a/core-java-9/src/test/java/com/baeldung/java9/stackwalker/StackWalkerDemoTest.java b/core-java-9/src/test/java/com/baeldung/java9/stackwalker/StackWalkerDemoUnitTest.java similarity index 89% rename from core-java-9/src/test/java/com/baeldung/java9/stackwalker/StackWalkerDemoTest.java rename to core-java-9/src/test/java/com/baeldung/java9/stackwalker/StackWalkerDemoUnitTest.java index b523b7dfb2..584d59d9cd 100644 --- a/core-java-9/src/test/java/com/baeldung/java9/stackwalker/StackWalkerDemoTest.java +++ b/core-java-9/src/test/java/com/baeldung/java9/stackwalker/StackWalkerDemoUnitTest.java @@ -2,7 +2,7 @@ package com.baeldung.java9.stackwalker; import org.junit.Test; -public class StackWalkerDemoTest { +public class StackWalkerDemoUnitTest { @Test public void giveStalkWalker_whenWalkingTheStack_thenShowStackFrames() { diff --git a/core-java/src/test/java/com/baeldung/arraycopy/ArrayCopyUtilTest.java b/core-java/src/test/java/com/baeldung/arraycopy/ArrayCopyUtilUnitTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/arraycopy/ArrayCopyUtilTest.java rename to core-java/src/test/java/com/baeldung/arraycopy/ArrayCopyUtilUnitTest.java index 2235e55338..6b6f5dbe2a 100644 --- a/core-java/src/test/java/com/baeldung/arraycopy/ArrayCopyUtilTest.java +++ b/core-java/src/test/java/com/baeldung/arraycopy/ArrayCopyUtilUnitTest.java @@ -9,7 +9,7 @@ import org.junit.Test; import java.util.Arrays; -public class ArrayCopyUtilTest { +public class ArrayCopyUtilUnitTest { private static Employee[] employees; private static final int MAX = 2; diff --git a/core-java/src/test/java/com/baeldung/concurrent/accumulator/LongAccumulatorTest.java b/core-java/src/test/java/com/baeldung/concurrent/accumulator/LongAccumulatorUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/concurrent/accumulator/LongAccumulatorTest.java rename to core-java/src/test/java/com/baeldung/concurrent/accumulator/LongAccumulatorUnitTest.java index 3a0092cf24..11c27ff980 100644 --- a/core-java/src/test/java/com/baeldung/concurrent/accumulator/LongAccumulatorTest.java +++ b/core-java/src/test/java/com/baeldung/concurrent/accumulator/LongAccumulatorUnitTest.java @@ -11,7 +11,7 @@ import java.util.stream.IntStream; import static junit.framework.TestCase.assertEquals; -public class LongAccumulatorTest { +public class LongAccumulatorUnitTest { @Test public void givenLongAccumulator_whenApplyActionOnItFromMultipleThrads_thenShouldProduceProperResult() throws InterruptedException { diff --git a/core-java/src/test/java/com/baeldung/concurrent/adder/LongAdderTest.java b/core-java/src/test/java/com/baeldung/concurrent/adder/LongAdderUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/concurrent/adder/LongAdderTest.java rename to core-java/src/test/java/com/baeldung/concurrent/adder/LongAdderUnitTest.java index 77d1e9de27..34428a153c 100644 --- a/core-java/src/test/java/com/baeldung/concurrent/adder/LongAdderTest.java +++ b/core-java/src/test/java/com/baeldung/concurrent/adder/LongAdderUnitTest.java @@ -11,7 +11,7 @@ import java.util.stream.IntStream; import static com.jayway.awaitility.Awaitility.await; import static junit.framework.TestCase.assertEquals; -public class LongAdderTest { +public class LongAdderUnitTest { @Test public void givenMultipleThread_whenTheyWriteToSharedLongAdder_thenShouldCalculateSumForThem() throws InterruptedException { //given diff --git a/core-java/src/test/java/com/baeldung/concurrent/copyonwrite/CopyOnWriteArrayListTest.java b/core-java/src/test/java/com/baeldung/concurrent/copyonwrite/CopyOnWriteArrayListUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/concurrent/copyonwrite/CopyOnWriteArrayListTest.java rename to core-java/src/test/java/com/baeldung/concurrent/copyonwrite/CopyOnWriteArrayListUnitTest.java index c71c193372..9111403155 100644 --- a/core-java/src/test/java/com/baeldung/concurrent/copyonwrite/CopyOnWriteArrayListTest.java +++ b/core-java/src/test/java/com/baeldung/concurrent/copyonwrite/CopyOnWriteArrayListUnitTest.java @@ -11,7 +11,7 @@ import java.util.concurrent.CopyOnWriteArrayList; import static org.assertj.core.api.Assertions.assertThat; -public class CopyOnWriteArrayListTest { +public class CopyOnWriteArrayListUnitTest { @Test public void givenCopyOnWriteList_whenIterateAndAddElementToUnderneathList_thenShouldNotChangeIterator() { diff --git a/core-java/src/test/java/com/baeldung/concurrent/delayqueue/DelayQueueTest.java b/core-java/src/test/java/com/baeldung/concurrent/delayqueue/DelayQueueIntegrationTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/concurrent/delayqueue/DelayQueueTest.java rename to core-java/src/test/java/com/baeldung/concurrent/delayqueue/DelayQueueIntegrationTest.java index e18c087b0a..6490c6c094 100644 --- a/core-java/src/test/java/com/baeldung/concurrent/delayqueue/DelayQueueTest.java +++ b/core-java/src/test/java/com/baeldung/concurrent/delayqueue/DelayQueueIntegrationTest.java @@ -9,7 +9,7 @@ import java.util.concurrent.*; import static junit.framework.TestCase.assertEquals; @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class DelayQueueTest { +public class DelayQueueIntegrationTest { @Test public void givenDelayQueue_whenProduceElement_thenShouldConsumeAfterGivenDelay() throws InterruptedException { //given diff --git a/core-java/src/test/java/com/baeldung/concurrent/phaser/PhaserTest.java b/core-java/src/test/java/com/baeldung/concurrent/phaser/PhaserUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/concurrent/phaser/PhaserTest.java rename to core-java/src/test/java/com/baeldung/concurrent/phaser/PhaserUnitTest.java index 7ba1b1ebd9..a7b56e1151 100644 --- a/core-java/src/test/java/com/baeldung/concurrent/phaser/PhaserTest.java +++ b/core-java/src/test/java/com/baeldung/concurrent/phaser/PhaserUnitTest.java @@ -11,7 +11,7 @@ import java.util.concurrent.Phaser; import static junit.framework.TestCase.assertEquals; @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class PhaserTest { +public class PhaserUnitTest { @Test public void givenPhaser_whenCoordinateWorksBetweenThreads_thenShouldCoordinateBetweenMultiplePhases() { diff --git a/core-java/src/test/java/com/baeldung/dateapi/JavaDurationTest.java b/core-java/src/test/java/com/baeldung/dateapi/JavaDurationUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/dateapi/JavaDurationTest.java rename to core-java/src/test/java/com/baeldung/dateapi/JavaDurationUnitTest.java index f4bfc0f55c..db6b353ba6 100644 --- a/core-java/src/test/java/com/baeldung/dateapi/JavaDurationTest.java +++ b/core-java/src/test/java/com/baeldung/dateapi/JavaDurationUnitTest.java @@ -9,7 +9,7 @@ import java.time.temporal.ChronoUnit; import org.junit.Test; -public class JavaDurationTest { +public class JavaDurationUnitTest { @Test public void test2() { diff --git a/core-java/src/test/java/com/baeldung/dateapi/JavaPeriodTest.java b/core-java/src/test/java/com/baeldung/dateapi/JavaPeriodUnitTest.java similarity index 96% rename from core-java/src/test/java/com/baeldung/dateapi/JavaPeriodTest.java rename to core-java/src/test/java/com/baeldung/dateapi/JavaPeriodUnitTest.java index a0bede49b5..81e9153a51 100644 --- a/core-java/src/test/java/com/baeldung/dateapi/JavaPeriodTest.java +++ b/core-java/src/test/java/com/baeldung/dateapi/JavaPeriodUnitTest.java @@ -9,9 +9,9 @@ import java.time.Period; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; -public class JavaPeriodTest { +public class JavaPeriodUnitTest { - private static final Logger LOG = Logger.getLogger(JavaPeriodTest.class); + private static final Logger LOG = Logger.getLogger(JavaPeriodUnitTest.class); @Test public void whenTestPeriod_thenOk() { diff --git a/core-java/src/test/java/com/baeldung/dynamicproxy/DynamicProxyTest.java b/core-java/src/test/java/com/baeldung/dynamicproxy/DynamicProxyIntegrationTest.java similarity index 73% rename from core-java/src/test/java/com/baeldung/dynamicproxy/DynamicProxyTest.java rename to core-java/src/test/java/com/baeldung/dynamicproxy/DynamicProxyIntegrationTest.java index dc7f9366ba..96d544b005 100644 --- a/core-java/src/test/java/com/baeldung/dynamicproxy/DynamicProxyTest.java +++ b/core-java/src/test/java/com/baeldung/dynamicproxy/DynamicProxyIntegrationTest.java @@ -9,18 +9,18 @@ import java.util.Map; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; -public class DynamicProxyTest { +public class DynamicProxyIntegrationTest { @Test public void givenDynamicProxy_thenPutWorks() { - Map proxyInstance = (Map) Proxy.newProxyInstance(DynamicProxyTest.class.getClassLoader(), new Class[] { Map.class }, new DynamicInvocationHandler()); + Map proxyInstance = (Map) Proxy.newProxyInstance(DynamicProxyIntegrationTest.class.getClassLoader(), new Class[] { Map.class }, new DynamicInvocationHandler()); proxyInstance.put("hello", "world"); } @Test public void givenInlineDynamicProxy_thenGetWorksOtherMethodsDoNot() { - Map proxyInstance = (Map) Proxy.newProxyInstance(DynamicProxyTest.class.getClassLoader(), new Class[] { Map.class }, (proxy, method, methodArgs) -> { + Map proxyInstance = (Map) Proxy.newProxyInstance(DynamicProxyIntegrationTest.class.getClassLoader(), new Class[] { Map.class }, (proxy, method, methodArgs) -> { if (method.getName().equals("get")) { return 42; @@ -43,12 +43,12 @@ public class DynamicProxyTest { @Test public void givenTimingDynamicProxy_thenMethodInvokationsProduceTiming() { - Map mapProxyInstance = (Map) Proxy.newProxyInstance(DynamicProxyTest.class.getClassLoader(), new Class[] { Map.class }, new TimingDynamicInvocationHandler(new HashMap<>())); + Map mapProxyInstance = (Map) Proxy.newProxyInstance(DynamicProxyIntegrationTest.class.getClassLoader(), new Class[] { Map.class }, new TimingDynamicInvocationHandler(new HashMap<>())); mapProxyInstance.put("hello", "world"); assertEquals("world", mapProxyInstance.get("hello")); - CharSequence csProxyInstance = (CharSequence) Proxy.newProxyInstance(DynamicProxyTest.class.getClassLoader(), new Class[] { CharSequence.class }, new TimingDynamicInvocationHandler("Hello World")); + CharSequence csProxyInstance = (CharSequence) Proxy.newProxyInstance(DynamicProxyIntegrationTest.class.getClassLoader(), new Class[] { CharSequence.class }, new TimingDynamicInvocationHandler("Hello World")); assertEquals('l', csProxyInstance.charAt(2)); assertEquals(11, csProxyInstance.length()); diff --git a/core-java/src/test/java/com/baeldung/generics/GenericsTest.java b/core-java/src/test/java/com/baeldung/generics/GenericsUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/generics/GenericsTest.java rename to core-java/src/test/java/com/baeldung/generics/GenericsUnitTest.java index 6cbc0eba05..aca0b182a0 100644 --- a/core-java/src/test/java/com/baeldung/generics/GenericsTest.java +++ b/core-java/src/test/java/com/baeldung/generics/GenericsUnitTest.java @@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.hasItems; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.Assert.fail; -public class GenericsTest { +public class GenericsUnitTest { // testing the generic method with Integer @Test diff --git a/core-java/src/test/java/com/baeldung/grep/GrepWithUnix4JTest.java b/core-java/src/test/java/com/baeldung/grep/GrepWithUnix4JIntegrationTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/grep/GrepWithUnix4JTest.java rename to core-java/src/test/java/com/baeldung/grep/GrepWithUnix4JIntegrationTest.java index 628518a12f..3ea7acf620 100644 --- a/core-java/src/test/java/com/baeldung/grep/GrepWithUnix4JTest.java +++ b/core-java/src/test/java/com/baeldung/grep/GrepWithUnix4JIntegrationTest.java @@ -12,7 +12,7 @@ import org.unix4j.line.Line; import static org.unix4j.unix.Grep.*; import static org.unix4j.unix.cut.CutOption.*; -public class GrepWithUnix4JTest { +public class GrepWithUnix4JIntegrationTest { private File fileToGrep; diff --git a/core-java/src/test/java/com/baeldung/guava/GuavaBiMapTest.java b/core-java/src/test/java/com/baeldung/guava/GuavaBiMapUnitTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/guava/GuavaBiMapTest.java rename to core-java/src/test/java/com/baeldung/guava/GuavaBiMapUnitTest.java index 0997c93a72..b44d2db1aa 100644 --- a/core-java/src/test/java/com/baeldung/guava/GuavaBiMapTest.java +++ b/core-java/src/test/java/com/baeldung/guava/GuavaBiMapUnitTest.java @@ -9,7 +9,7 @@ import com.google.common.collect.EnumHashBiMap; import com.google.common.collect.HashBiMap; import com.google.common.collect.ImmutableBiMap; -public class GuavaBiMapTest { +public class GuavaBiMapUnitTest { @Test public void whenQueryByValue_returnsKey() { final BiMap capitalCountryBiMap = HashBiMap.create(); diff --git a/core-java/src/test/java/com/baeldung/hashing/SHA256HashingTest.java b/core-java/src/test/java/com/baeldung/hashing/SHA256HashingUnitTest.java similarity index 96% rename from core-java/src/test/java/com/baeldung/hashing/SHA256HashingTest.java rename to core-java/src/test/java/com/baeldung/hashing/SHA256HashingUnitTest.java index ce77b824d8..270cc8be9a 100644 --- a/core-java/src/test/java/com/baeldung/hashing/SHA256HashingTest.java +++ b/core-java/src/test/java/com/baeldung/hashing/SHA256HashingUnitTest.java @@ -4,7 +4,7 @@ import org.junit.Test; import static org.junit.Assert.*; -public class SHA256HashingTest { +public class SHA256HashingUnitTest { private static String originalValue = "abc123"; private static String hashedValue = "6ca13d52ca70c883e0f0bb101e425a89e8624de51db2d2392593af6a84118090"; diff --git a/core-java/src/test/java/com/baeldung/hexToAscii/HexToAscii.java b/core-java/src/test/java/com/baeldung/hexToAscii/HexToAsciiUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/hexToAscii/HexToAscii.java rename to core-java/src/test/java/com/baeldung/hexToAscii/HexToAsciiUnitTest.java index 2a3c4b109e..7d747ba57e 100644 --- a/core-java/src/test/java/com/baeldung/hexToAscii/HexToAscii.java +++ b/core-java/src/test/java/com/baeldung/hexToAscii/HexToAsciiUnitTest.java @@ -4,7 +4,7 @@ import static org.junit.Assert.assertEquals; import org.junit.Test; -public class HexToAscii { +public class HexToAsciiUnitTest { @Test public static void whenHexToAscii() { diff --git a/core-java/src/test/java/com/baeldung/hikaricp/HikariCPTest.java b/core-java/src/test/java/com/baeldung/hikaricp/HikariCPIntegrationTest.java similarity index 89% rename from core-java/src/test/java/com/baeldung/hikaricp/HikariCPTest.java rename to core-java/src/test/java/com/baeldung/hikaricp/HikariCPIntegrationTest.java index 5504d8b99e..3579bef83b 100644 --- a/core-java/src/test/java/com/baeldung/hikaricp/HikariCPTest.java +++ b/core-java/src/test/java/com/baeldung/hikaricp/HikariCPIntegrationTest.java @@ -7,7 +7,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; -public class HikariCPTest { +public class HikariCPIntegrationTest { @Test // @Ignore diff --git a/core-java/src/test/java/com/baeldung/http/HttpRequestTest.java b/core-java/src/test/java/com/baeldung/http/HttpRequestLiveTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/http/HttpRequestTest.java rename to core-java/src/test/java/com/baeldung/http/HttpRequestLiveTest.java index f238f7df7c..691615a1b4 100644 --- a/core-java/src/test/java/com/baeldung/http/HttpRequestTest.java +++ b/core-java/src/test/java/com/baeldung/http/HttpRequestLiveTest.java @@ -17,7 +17,7 @@ import java.util.List; import java.util.Map; import java.util.Optional; -public class HttpRequestTest { +public class HttpRequestLiveTest { @Test public void whenGetRequest_thenOk() throws IOException { diff --git a/core-java/src/test/java/com/baeldung/java/collections/ConcurrentModificationExceptionTest.java b/core-java/src/test/java/com/baeldung/java/collections/ConcurrentModificationExceptionUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/java/collections/ConcurrentModificationExceptionTest.java rename to core-java/src/test/java/com/baeldung/java/collections/ConcurrentModificationExceptionUnitTest.java index d12f07286b..d0d8c3923c 100644 --- a/core-java/src/test/java/com/baeldung/java/collections/ConcurrentModificationExceptionTest.java +++ b/core-java/src/test/java/com/baeldung/java/collections/ConcurrentModificationExceptionUnitTest.java @@ -8,7 +8,7 @@ import java.util.concurrent.CopyOnWriteArrayList; import static java.util.Arrays.asList; import static org.junit.Assert.assertEquals; -public class ConcurrentModificationExceptionTest { +public class ConcurrentModificationExceptionUnitTest { @Test public void changingContentWithSetDoesNotThrowConcurrentModificationException() throws Exception { diff --git a/core-java/src/test/java/com/baeldung/java/concurrentmap/ConcurrentNavigableMapManualTests.java b/core-java/src/test/java/com/baeldung/java/concurrentmap/ConcurrentNavigableMapManualTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/java/concurrentmap/ConcurrentNavigableMapManualTests.java rename to core-java/src/test/java/com/baeldung/java/concurrentmap/ConcurrentNavigableMapManualTest.java index 3cd93a4d44..768c31ee80 100644 --- a/core-java/src/test/java/com/baeldung/java/concurrentmap/ConcurrentNavigableMapManualTests.java +++ b/core-java/src/test/java/com/baeldung/java/concurrentmap/ConcurrentNavigableMapManualTest.java @@ -12,7 +12,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; -public class ConcurrentNavigableMapManualTests { +public class ConcurrentNavigableMapManualTest { @Test public void givenSkipListMap_whenAccessInMultiThreads_thenOrderingStable() throws InterruptedException { diff --git a/core-java/src/test/java/com/baeldung/java/conversion/IterableStreamConversionTest.java b/core-java/src/test/java/com/baeldung/java/conversion/IterableStreamConversionUnitTest.java similarity index 95% rename from core-java/src/test/java/com/baeldung/java/conversion/IterableStreamConversionTest.java rename to core-java/src/test/java/com/baeldung/java/conversion/IterableStreamConversionUnitTest.java index e2f6c6a500..99e8088054 100644 --- a/core-java/src/test/java/com/baeldung/java/conversion/IterableStreamConversionTest.java +++ b/core-java/src/test/java/com/baeldung/java/conversion/IterableStreamConversionUnitTest.java @@ -11,7 +11,7 @@ import java.util.stream.StreamSupport; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.collection.IsIterableContainingInOrder.contains; -public class IterableStreamConversionTest { +public class IterableStreamConversionUnitTest { @Test public void givenIterable_whenConvertedToStream_thenNotNull() { diff --git a/core-java/src/test/java/com/baeldung/java/conversion/StringConversionTest.java b/core-java/src/test/java/com/baeldung/java/conversion/StringConversionUnitTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/java/conversion/StringConversionTest.java rename to core-java/src/test/java/com/baeldung/java/conversion/StringConversionUnitTest.java index 9a4ac053af..fbbbb21ccd 100644 --- a/core-java/src/test/java/com/baeldung/java/conversion/StringConversionTest.java +++ b/core-java/src/test/java/com/baeldung/java/conversion/StringConversionUnitTest.java @@ -15,7 +15,7 @@ import org.junit.Test; import com.baeldung.datetime.UseLocalDateTime; -public class StringConversionTest { +public class StringConversionUnitTest { @Test public void whenConvertedToInt_thenCorrect() { diff --git a/core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExample.java b/core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExample.java rename to core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java index 83c3be1683..aeb33fe875 100644 --- a/core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExample.java +++ b/core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java @@ -13,7 +13,7 @@ import static org.junit.Assert.assertEquals; /*** * Example of counting chars in a String. */ -public class CountCharsExample { +public class CountCharsExampleUnitTest { @Test public void givenString_whenUsingLoop_thenCountChars() { diff --git a/core-java/src/test/java/com/baeldung/java/doublebrace/DoubleBraceTest.java b/core-java/src/test/java/com/baeldung/java/doublebrace/DoubleBraceUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/java/doublebrace/DoubleBraceTest.java rename to core-java/src/test/java/com/baeldung/java/doublebrace/DoubleBraceUnitTest.java index 531aa8970d..b03b01d074 100644 --- a/core-java/src/test/java/com/baeldung/java/doublebrace/DoubleBraceTest.java +++ b/core-java/src/test/java/com/baeldung/java/doublebrace/DoubleBraceUnitTest.java @@ -11,7 +11,7 @@ import static java.util.stream.Collectors.collectingAndThen; import static java.util.stream.Collectors.toSet; import static org.junit.Assert.assertTrue; -public class DoubleBraceTest { +public class DoubleBraceUnitTest { @Test public void whenInitializeSetWithoutDoubleBraces_containsElements() { diff --git a/core-java/src/test/java/com/baeldung/java/map/MapTest.java b/core-java/src/test/java/com/baeldung/java/map/MapUnitTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/java/map/MapTest.java rename to core-java/src/test/java/com/baeldung/java/map/MapUnitTest.java index ecdc3c5c70..7582eb87fb 100644 --- a/core-java/src/test/java/com/baeldung/java/map/MapTest.java +++ b/core-java/src/test/java/com/baeldung/java/map/MapUnitTest.java @@ -9,8 +9,8 @@ import java.util.Map.Entry; import static org.junit.Assert.*; -public class MapTest { - private static final Logger LOG = LoggerFactory.getLogger(MapTest.class); +public class MapUnitTest { + private static final Logger LOG = LoggerFactory.getLogger(MapUnitTest.class); @Test diff --git a/core-java/src/test/java/com/baeldung/java/nio2/FileTest.java b/core-java/src/test/java/com/baeldung/java/nio2/FileIntegrationTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/java/nio2/FileTest.java rename to core-java/src/test/java/com/baeldung/java/nio2/FileIntegrationTest.java index 587f4ab34a..d1cf81e4ce 100644 --- a/core-java/src/test/java/com/baeldung/java/nio2/FileTest.java +++ b/core-java/src/test/java/com/baeldung/java/nio2/FileIntegrationTest.java @@ -13,7 +13,7 @@ import java.util.UUID; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class FileTest { +public class FileIntegrationTest { private static final String TEMP_DIR = String.format("%s/temp%s", System.getProperty("user.home"), UUID.randomUUID().toString()); @BeforeClass diff --git a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoTest.java b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoIntegrationTest.java similarity index 95% rename from core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoTest.java rename to core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoIntegrationTest.java index 9e20a7144f..3cfac0e90f 100644 --- a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoTest.java +++ b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoIntegrationTest.java @@ -8,7 +8,7 @@ import java.io.IOException; import static org.junit.Assert.assertEquals; -public class AsyncEchoTest { +public class AsyncEchoIntegrationTest { Process server; AsyncEchoClient client; diff --git a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileTest.java b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileIntegrationTest.java similarity index 96% rename from core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileTest.java rename to core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileIntegrationTest.java index 4395017e63..e2f7a0303a 100644 --- a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileTest.java +++ b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileIntegrationTest.java @@ -16,7 +16,7 @@ import java.util.concurrent.Future; import static org.junit.Assert.assertEquals; -public class AsyncFileTest { +public class AsyncFileIntegrationTest { @Test public void givenPath_whenReadsContentWithFuture_thenCorrect() throws IOException, ExecutionException, InterruptedException { Path path = Paths.get(URI.create(this.getClass().getClassLoader().getResource("file.txt").toString())); @@ -36,7 +36,7 @@ public class AsyncFileTest { @Test public void givenPath_whenReadsContentWithCompletionHandler_thenCorrect() throws IOException { - Path path = Paths.get(URI.create(AsyncFileTest.class.getResource("/file.txt").toString())); + Path path = Paths.get(URI.create(AsyncFileIntegrationTest.class.getResource("/file.txt").toString())); AsynchronousFileChannel fileChannel = AsynchronousFileChannel.open(path, StandardOpenOption.READ); ByteBuffer buffer = ByteBuffer.allocate(1024); diff --git a/core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsTest.java b/core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsIntegrationTest.java similarity index 96% rename from core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsTest.java rename to core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsIntegrationTest.java index 2fef04e9d4..9f84aa60d6 100644 --- a/core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsTest.java +++ b/core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsIntegrationTest.java @@ -16,9 +16,9 @@ import java.nio.file.attribute.FileTime; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class BasicAttribsTest { +public class BasicAttribsIntegrationTest { - private static final Logger LOG = LoggerFactory.getLogger(BasicAttribsTest.class); + private static final Logger LOG = LoggerFactory.getLogger(BasicAttribsIntegrationTest.class); private static final String HOME = System.getProperty("user.home"); diff --git a/core-java/src/test/java/com/baeldung/java/set/SetTest.java b/core-java/src/test/java/com/baeldung/java/set/SetUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/java/set/SetTest.java rename to core-java/src/test/java/com/baeldung/java/set/SetUnitTest.java index d669333b5c..b7badf1bbf 100644 --- a/core-java/src/test/java/com/baeldung/java/set/SetTest.java +++ b/core-java/src/test/java/com/baeldung/java/set/SetUnitTest.java @@ -9,9 +9,9 @@ import java.util.*; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -public class SetTest { +public class SetUnitTest { - private static final Logger LOG = LoggerFactory.getLogger(SetTest.class); + private static final Logger LOG = LoggerFactory.getLogger(SetUnitTest.class); @Test public void givenTreeSet_whenRetrievesObjects_thenNaturalOrder() { diff --git a/core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstTest.java b/core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstUnitTest.java similarity index 96% rename from core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstTest.java rename to core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstUnitTest.java index 87f7eb1018..8c2e0628fa 100644 --- a/core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstTest.java +++ b/core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstUnitTest.java @@ -11,7 +11,7 @@ import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; -public class Java8FindAnyFindFirstTest { +public class Java8FindAnyFindFirstUnitTest { @Test public void createStream_whenFindAnyResultIsPresent_thenCorrect() { diff --git a/core-java/src/test/java/com/baeldung/java8/Java8ForEachTest.java b/core-java/src/test/java/com/baeldung/java8/Java8ForEachUnitTest.java similarity index 95% rename from core-java/src/test/java/com/baeldung/java8/Java8ForEachTest.java rename to core-java/src/test/java/com/baeldung/java8/Java8ForEachUnitTest.java index 07d2411e49..6a485e939f 100644 --- a/core-java/src/test/java/com/baeldung/java8/Java8ForEachTest.java +++ b/core-java/src/test/java/com/baeldung/java8/Java8ForEachUnitTest.java @@ -8,9 +8,9 @@ import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; -public class Java8ForEachTest { +public class Java8ForEachUnitTest { - private static final Logger LOG = LoggerFactory.getLogger(Java8ForEachTest.class); + private static final Logger LOG = LoggerFactory.getLogger(Java8ForEachUnitTest.class); @Test public void compareForEachMethods_thenPrintResults() { diff --git a/core-java/src/test/java/com/baeldung/java8/Java8MaxMinTest.java b/core-java/src/test/java/com/baeldung/java8/Java8MaxMinUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/java8/Java8MaxMinTest.java rename to core-java/src/test/java/com/baeldung/java8/Java8MaxMinUnitTest.java index b0e514124d..4979338452 100644 --- a/core-java/src/test/java/com/baeldung/java8/Java8MaxMinTest.java +++ b/core-java/src/test/java/com/baeldung/java8/Java8MaxMinUnitTest.java @@ -10,7 +10,7 @@ import java.util.NoSuchElementException; import static org.junit.Assert.assertEquals; -public class Java8MaxMinTest { +public class Java8MaxMinUnitTest { @Test public void whenListIsOfIntegerThenMaxCanBeDoneUsingIntegerComparator() { diff --git a/core-java/src/test/java/com/baeldung/java8/comparator/Java8ComparatorTest.java b/core-java/src/test/java/com/baeldung/java8/comparator/Java8ComparatorUnitTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/java8/comparator/Java8ComparatorTest.java rename to core-java/src/test/java/com/baeldung/java8/comparator/Java8ComparatorUnitTest.java index 62dd18972e..26536ba705 100644 --- a/core-java/src/test/java/com/baeldung/java8/comparator/Java8ComparatorTest.java +++ b/core-java/src/test/java/com/baeldung/java8/comparator/Java8ComparatorUnitTest.java @@ -8,7 +8,7 @@ import org.junit.Test; import lombok.Data; import static org.junit.Assert.assertTrue; -public class Java8ComparatorTest { +public class Java8ComparatorUnitTest { private Employee[] employees; private Employee[] employeesArrayWithNulls; diff --git a/core-java/src/test/java/com/baeldung/java8/lambda/exceptions/LambdaExceptionWrappersTest.java b/core-java/src/test/java/com/baeldung/java8/lambda/exceptions/LambdaExceptionWrappersUnitTest.java similarity index 94% rename from core-java/src/test/java/com/baeldung/java8/lambda/exceptions/LambdaExceptionWrappersTest.java rename to core-java/src/test/java/com/baeldung/java8/lambda/exceptions/LambdaExceptionWrappersUnitTest.java index db9631655f..0fd6f7dfe8 100644 --- a/core-java/src/test/java/com/baeldung/java8/lambda/exceptions/LambdaExceptionWrappersTest.java +++ b/core-java/src/test/java/com/baeldung/java8/lambda/exceptions/LambdaExceptionWrappersUnitTest.java @@ -11,9 +11,9 @@ import java.util.List; import static com.baeldung.java8.lambda.exceptions.LambdaExceptionWrappers.*; -public class LambdaExceptionWrappersTest { +public class LambdaExceptionWrappersUnitTest { - private static final Logger LOG = LoggerFactory.getLogger(LambdaExceptionWrappersTest.class); + private static final Logger LOG = LoggerFactory.getLogger(LambdaExceptionWrappersUnitTest.class); private List integers; diff --git a/core-java/src/test/java/com/baeldung/java8/optional/OptionalTest.java b/core-java/src/test/java/com/baeldung/java8/optional/OptionalUnitTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/java8/optional/OptionalTest.java rename to core-java/src/test/java/com/baeldung/java8/optional/OptionalUnitTest.java index 13e42e0806..0085de6327 100644 --- a/core-java/src/test/java/com/baeldung/java8/optional/OptionalTest.java +++ b/core-java/src/test/java/com/baeldung/java8/optional/OptionalUnitTest.java @@ -13,9 +13,9 @@ import java.util.Optional; import static org.junit.Assert.*; -public class OptionalTest { +public class OptionalUnitTest { - private static final Logger LOG = LoggerFactory.getLogger(OptionalTest.class); + private static final Logger LOG = LoggerFactory.getLogger(OptionalUnitTest.class); // creating Optional diff --git a/core-java/src/test/java/com/baeldung/jdbc/JdbcTest.java b/core-java/src/test/java/com/baeldung/jdbc/JdbcIntegrationTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/jdbc/JdbcTest.java rename to core-java/src/test/java/com/baeldung/jdbc/JdbcIntegrationTest.java index ff786c7267..926fdb3833 100644 --- a/core-java/src/test/java/com/baeldung/jdbc/JdbcTest.java +++ b/core-java/src/test/java/com/baeldung/jdbc/JdbcIntegrationTest.java @@ -21,9 +21,9 @@ import org.junit.After; import org.junit.Before; import org.junit.Test; -public class JdbcTest { +public class JdbcIntegrationTest { - private static final Logger LOG = Logger.getLogger(JdbcTest.class); + private static final Logger LOG = Logger.getLogger(JdbcIntegrationTest.class); private Connection con; diff --git a/core-java/src/test/java/com/baeldung/junit4vstestng/DivisibilityTest.java b/core-java/src/test/java/com/baeldung/junit4vstestng/DivisibilityUnitTest.java similarity index 91% rename from core-java/src/test/java/com/baeldung/junit4vstestng/DivisibilityTest.java rename to core-java/src/test/java/com/baeldung/junit4vstestng/DivisibilityUnitTest.java index dec7dbe6aa..b8fe701f57 100644 --- a/core-java/src/test/java/com/baeldung/junit4vstestng/DivisibilityTest.java +++ b/core-java/src/test/java/com/baeldung/junit4vstestng/DivisibilityUnitTest.java @@ -5,7 +5,7 @@ import static org.junit.Assert.assertEquals; import org.junit.BeforeClass; import org.junit.Test; -public class DivisibilityTest { +public class DivisibilityUnitTest { private static int number; diff --git a/core-java/src/test/java/com/baeldung/junit4vstestng/ParametrizedTests.java b/core-java/src/test/java/com/baeldung/junit4vstestng/ParametrizedUnitTest.java similarity index 88% rename from core-java/src/test/java/com/baeldung/junit4vstestng/ParametrizedTests.java rename to core-java/src/test/java/com/baeldung/junit4vstestng/ParametrizedUnitTest.java index e9a9c6a07a..b46d4e895d 100644 --- a/core-java/src/test/java/com/baeldung/junit4vstestng/ParametrizedTests.java +++ b/core-java/src/test/java/com/baeldung/junit4vstestng/ParametrizedUnitTest.java @@ -11,12 +11,12 @@ import java.util.Arrays; import java.util.Collection; @RunWith(value = Parameterized.class) -public class ParametrizedTests { +public class ParametrizedUnitTest { private int value; private boolean isEven; - public ParametrizedTests(int value, boolean isEven) { + public ParametrizedUnitTest(int value, boolean isEven) { this.value = value; this.isEven = isEven; } diff --git a/core-java/src/test/java/com/baeldung/junit4vstestng/RegistrationTest.java b/core-java/src/test/java/com/baeldung/junit4vstestng/RegistrationUnitTest.java similarity index 81% rename from core-java/src/test/java/com/baeldung/junit4vstestng/RegistrationTest.java rename to core-java/src/test/java/com/baeldung/junit4vstestng/RegistrationUnitTest.java index 4aa1fa1a17..08a9f1e1c4 100644 --- a/core-java/src/test/java/com/baeldung/junit4vstestng/RegistrationTest.java +++ b/core-java/src/test/java/com/baeldung/junit4vstestng/RegistrationUnitTest.java @@ -5,8 +5,8 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class RegistrationTest { - private static final Logger LOGGER = LoggerFactory.getLogger(RegistrationTest.class); +public class RegistrationUnitTest { + private static final Logger LOGGER = LoggerFactory.getLogger(RegistrationUnitTest.class); @Test public void whenCalledFromSuite_thanOK() { diff --git a/core-java/src/test/java/com/baeldung/junit4vstestng/SignInTest.java b/core-java/src/test/java/com/baeldung/junit4vstestng/SignInUnitTest.java similarity index 84% rename from core-java/src/test/java/com/baeldung/junit4vstestng/SignInTest.java rename to core-java/src/test/java/com/baeldung/junit4vstestng/SignInUnitTest.java index bb908ff37e..a49fb454ea 100644 --- a/core-java/src/test/java/com/baeldung/junit4vstestng/SignInTest.java +++ b/core-java/src/test/java/com/baeldung/junit4vstestng/SignInUnitTest.java @@ -4,8 +4,8 @@ import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class SignInTest { - private static final Logger LOGGER = LoggerFactory.getLogger(SignInTest.class); +public class SignInUnitTest { + private static final Logger LOGGER = LoggerFactory.getLogger(SignInUnitTest.class); @Test public void whenCalledFromSuite_thanOK() { diff --git a/core-java/src/test/java/com/baeldung/junit4vstestng/SortedTests.java b/core-java/src/test/java/com/baeldung/junit4vstestng/SortedUnitTest.java similarity index 94% rename from core-java/src/test/java/com/baeldung/junit4vstestng/SortedTests.java rename to core-java/src/test/java/com/baeldung/junit4vstestng/SortedUnitTest.java index fe0ec1469c..0ddd161393 100644 --- a/core-java/src/test/java/com/baeldung/junit4vstestng/SortedTests.java +++ b/core-java/src/test/java/com/baeldung/junit4vstestng/SortedUnitTest.java @@ -7,7 +7,7 @@ import org.junit.Test; import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class SortedTests { +public class SortedUnitTest { @Test public void a_givenString_whenChangedtoInt_thenTrue() { diff --git a/core-java/src/test/java/com/baeldung/junit4vstestng/StringCaseTest.java b/core-java/src/test/java/com/baeldung/junit4vstestng/StringCaseUnitTest.java similarity index 91% rename from core-java/src/test/java/com/baeldung/junit4vstestng/StringCaseTest.java rename to core-java/src/test/java/com/baeldung/junit4vstestng/StringCaseUnitTest.java index 520017e4c1..16a881f7e7 100644 --- a/core-java/src/test/java/com/baeldung/junit4vstestng/StringCaseTest.java +++ b/core-java/src/test/java/com/baeldung/junit4vstestng/StringCaseUnitTest.java @@ -5,7 +5,7 @@ import static org.junit.Assert.assertEquals; import org.junit.BeforeClass; import org.junit.Test; -public class StringCaseTest { +public class StringCaseUnitTest { private static String data; diff --git a/core-java/src/test/java/com/baeldung/junit4vstestng/SuiteTest.java b/core-java/src/test/java/com/baeldung/junit4vstestng/SuiteTest.java index effd7fa10a..5095217efc 100644 --- a/core-java/src/test/java/com/baeldung/junit4vstestng/SuiteTest.java +++ b/core-java/src/test/java/com/baeldung/junit4vstestng/SuiteTest.java @@ -4,7 +4,7 @@ import org.junit.runner.RunWith; import org.junit.runners.Suite; @RunWith(Suite.class) -@Suite.SuiteClasses({ RegistrationTest.class, SignInTest.class }) +@Suite.SuiteClasses({ RegistrationUnitTest.class, SignInUnitTest.class }) public class SuiteTest { } diff --git a/core-java/src/test/java/com/baeldung/junit4vstestng/SummationServiceTest.java b/core-java/src/test/java/com/baeldung/junit4vstestng/SummationServiceIntegrationTest.java similarity index 96% rename from core-java/src/test/java/com/baeldung/junit4vstestng/SummationServiceTest.java rename to core-java/src/test/java/com/baeldung/junit4vstestng/SummationServiceIntegrationTest.java index 7d1bf3b7af..e85496ba7e 100644 --- a/core-java/src/test/java/com/baeldung/junit4vstestng/SummationServiceTest.java +++ b/core-java/src/test/java/com/baeldung/junit4vstestng/SummationServiceIntegrationTest.java @@ -11,7 +11,7 @@ import org.junit.Test; import java.util.ArrayList; import java.util.List; -public class SummationServiceTest { +public class SummationServiceIntegrationTest { private static List numbers; @BeforeClass diff --git a/core-java/src/test/java/com/baeldung/list/flattennestedlist/FlattenNestedListTest.java b/core-java/src/test/java/com/baeldung/list/flattennestedlist/FlattenNestedListUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/list/flattennestedlist/FlattenNestedListTest.java rename to core-java/src/test/java/com/baeldung/list/flattennestedlist/FlattenNestedListUnitTest.java index 93962e7831..50abb4bc92 100644 --- a/core-java/src/test/java/com/baeldung/list/flattennestedlist/FlattenNestedListTest.java +++ b/core-java/src/test/java/com/baeldung/list/flattennestedlist/FlattenNestedListUnitTest.java @@ -13,7 +13,7 @@ import java.util.stream.Collectors; import org.hamcrest.collection.IsIterableContainingInOrder; import org.junit.Test; -public class FlattenNestedListTest { +public class FlattenNestedListUnitTest { List> lol = asList(asList("one:one"), asList("two:one", "two:two", "two:three"), asList("three:one", "three:two", "three:three", "three:four")); @Test diff --git a/core-java/src/test/java/com/baeldung/list/listoflist/ListOfListsTest.java b/core-java/src/test/java/com/baeldung/list/listoflist/ListOfListsUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/list/listoflist/ListOfListsTest.java rename to core-java/src/test/java/com/baeldung/list/listoflist/ListOfListsUnitTest.java index 674a2f89bc..75f8b8359f 100644 --- a/core-java/src/test/java/com/baeldung/list/listoflist/ListOfListsTest.java +++ b/core-java/src/test/java/com/baeldung/list/listoflist/ListOfListsUnitTest.java @@ -7,7 +7,7 @@ import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; -public class ListOfListsTest { +public class ListOfListsUnitTest { private List> listOfLists = new ArrayList>(); private ArrayList penList = new ArrayList<>(); diff --git a/core-java/src/test/java/com/baeldung/mappedbytebuffer/MappedByteBufferTest.java b/core-java/src/test/java/com/baeldung/mappedbytebuffer/MappedByteBufferUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/mappedbytebuffer/MappedByteBufferTest.java rename to core-java/src/test/java/com/baeldung/mappedbytebuffer/MappedByteBufferUnitTest.java index 4064d38267..22457d196e 100644 --- a/core-java/src/test/java/com/baeldung/mappedbytebuffer/MappedByteBufferTest.java +++ b/core-java/src/test/java/com/baeldung/mappedbytebuffer/MappedByteBufferUnitTest.java @@ -16,7 +16,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; -public class MappedByteBufferTest { +public class MappedByteBufferUnitTest { @Test diff --git a/core-java/src/test/java/com/baeldung/money/JavaMoneyTest.java b/core-java/src/test/java/com/baeldung/money/JavaMoneyUnitTest.java similarity index 96% rename from core-java/src/test/java/com/baeldung/money/JavaMoneyTest.java rename to core-java/src/test/java/com/baeldung/money/JavaMoneyUnitTest.java index 140560d079..69906543a9 100644 --- a/core-java/src/test/java/com/baeldung/money/JavaMoneyTest.java +++ b/core-java/src/test/java/com/baeldung/money/JavaMoneyUnitTest.java @@ -21,7 +21,7 @@ import java.util.Locale; import static org.junit.Assert.*; -public class JavaMoneyTest { +public class JavaMoneyUnitTest { @Test public void givenCurrencyCode_whenString_thanExist() { diff --git a/core-java/src/test/java/com/baeldung/scripting/NashornTest.java b/core-java/src/test/java/com/baeldung/scripting/NashornUnitTest.java similarity index 88% rename from core-java/src/test/java/com/baeldung/scripting/NashornTest.java rename to core-java/src/test/java/com/baeldung/scripting/NashornUnitTest.java index 9b6f61361a..fe1a7d4bd4 100644 --- a/core-java/src/test/java/com/baeldung/scripting/NashornTest.java +++ b/core-java/src/test/java/com/baeldung/scripting/NashornUnitTest.java @@ -9,7 +9,7 @@ import java.io.InputStreamReader; import java.util.List; import java.util.Map; -public class NashornTest { +public class NashornUnitTest { private ScriptEngine engine; @@ -20,17 +20,17 @@ public class NashornTest { @Test public void trim() throws ScriptException { - engine.eval(new InputStreamReader(NashornTest.class.getResourceAsStream("/js/trim.js"))); + engine.eval(new InputStreamReader(NashornUnitTest.class.getResourceAsStream("/js/trim.js"))); } @Test public void locations() throws ScriptException { - engine.eval(new InputStreamReader(NashornTest.class.getResourceAsStream("/js/locations.js"))); + engine.eval(new InputStreamReader(NashornUnitTest.class.getResourceAsStream("/js/locations.js"))); } @Test public void bindProperties() throws ScriptException { - engine.eval(new InputStreamReader(NashornTest.class.getResourceAsStream("/js/bind.js"))); + engine.eval(new InputStreamReader(NashornUnitTest.class.getResourceAsStream("/js/bind.js"))); } @Test @@ -40,7 +40,7 @@ public class NashornTest { @Test public void typedArrays() throws ScriptException { - engine.eval(new InputStreamReader(NashornTest.class.getResourceAsStream("/js/typed_arrays.js"))); + engine.eval(new InputStreamReader(NashornUnitTest.class.getResourceAsStream("/js/typed_arrays.js"))); } @Test diff --git a/core-java/src/test/java/com/baeldung/serialization/PersonTest.java b/core-java/src/test/java/com/baeldung/serialization/PersonUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/serialization/PersonTest.java rename to core-java/src/test/java/com/baeldung/serialization/PersonUnitTest.java index d07fb08a67..86bd3f9c8d 100644 --- a/core-java/src/test/java/com/baeldung/serialization/PersonTest.java +++ b/core-java/src/test/java/com/baeldung/serialization/PersonUnitTest.java @@ -10,7 +10,7 @@ import java.io.ObjectOutputStream; import org.junit.Test; -public class PersonTest { +public class PersonUnitTest { @Test public void whenSerializingAndDeserializing_ThenObjectIsTheSame() throws IOException, ClassNotFoundException { diff --git a/core-java/src/test/java/com/baeldung/stream/InfiniteStreamTest.java b/core-java/src/test/java/com/baeldung/stream/InfiniteStreamUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/stream/InfiniteStreamTest.java rename to core-java/src/test/java/com/baeldung/stream/InfiniteStreamUnitTest.java index a1537a1735..fa482b8dfe 100644 --- a/core-java/src/test/java/com/baeldung/stream/InfiniteStreamTest.java +++ b/core-java/src/test/java/com/baeldung/stream/InfiniteStreamUnitTest.java @@ -13,7 +13,7 @@ import java.util.stream.Stream; import static org.junit.Assert.assertEquals; -public class InfiniteStreamTest { +public class InfiniteStreamUnitTest { @Test public void givenInfiniteStream_whenUseIntermediateLimitMethod_thenShouldTerminateInFiniteTime() { diff --git a/core-java/src/test/java/com/baeldung/string/JoinerSplitterTest.java b/core-java/src/test/java/com/baeldung/string/JoinerSplitterUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/string/JoinerSplitterTest.java rename to core-java/src/test/java/com/baeldung/string/JoinerSplitterUnitTest.java index a89f89b8d5..d58c1026d0 100644 --- a/core-java/src/test/java/com/baeldung/string/JoinerSplitterTest.java +++ b/core-java/src/test/java/com/baeldung/string/JoinerSplitterUnitTest.java @@ -9,7 +9,7 @@ import org.junit.Test; import com.baeldung.string.JoinerSplitter; -public class JoinerSplitterTest { +public class JoinerSplitterUnitTest { @Test public void provided_array_convert_to_stream_and_convert_to_string() { diff --git a/core-java/src/test/java/com/baeldung/string/SplitTest.java b/core-java/src/test/java/com/baeldung/string/SplitUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/string/SplitTest.java rename to core-java/src/test/java/com/baeldung/string/SplitUnitTest.java index a08cf71778..0b6097fa2d 100644 --- a/core-java/src/test/java/com/baeldung/string/SplitTest.java +++ b/core-java/src/test/java/com/baeldung/string/SplitUnitTest.java @@ -11,7 +11,7 @@ import java.util.stream.StreamSupport; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; -public class SplitTest { +public class SplitUnitTest { @Test public void givenString_whenSplit_thenRetrunsArray_through_JavaLangString() { diff --git a/core-java/src/test/java/com/baeldung/string/StringHelperTest.java b/core-java/src/test/java/com/baeldung/string/StringHelperUnitTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/string/StringHelperTest.java rename to core-java/src/test/java/com/baeldung/string/StringHelperUnitTest.java index 48a9fb9364..427f02ba16 100644 --- a/core-java/src/test/java/com/baeldung/string/StringHelperTest.java +++ b/core-java/src/test/java/com/baeldung/string/StringHelperUnitTest.java @@ -5,7 +5,7 @@ import static org.junit.Assert.assertNotEquals; import org.apache.commons.lang3.StringUtils; import org.junit.Test; -public class StringHelperTest { +public class StringHelperUnitTest { public static final String TEST_STRING = "abcdef"; public static final String NULL_STRING = null; diff --git a/core-java/src/test/java/com/baeldung/stringtokenizer/TokenizerTest.java b/core-java/src/test/java/com/baeldung/stringtokenizer/TokenizerUnitTest.java similarity index 96% rename from core-java/src/test/java/com/baeldung/stringtokenizer/TokenizerTest.java rename to core-java/src/test/java/com/baeldung/stringtokenizer/TokenizerUnitTest.java index eed42a2f96..3c6e86b52c 100644 --- a/core-java/src/test/java/com/baeldung/stringtokenizer/TokenizerTest.java +++ b/core-java/src/test/java/com/baeldung/stringtokenizer/TokenizerUnitTest.java @@ -7,7 +7,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; -public class TokenizerTest { +public class TokenizerUnitTest { private final MyTokenizer myTokenizer = new MyTokenizer(); private final List expectedTokensForString = Arrays.asList("Welcome", "to", "baeldung.com"); diff --git a/core-java/src/test/java/com/baeldung/synchronousqueue/SynchronousQueueTest.java b/core-java/src/test/java/com/baeldung/synchronousqueue/SynchronousQueueUnitTest.java similarity index 97% rename from core-java/src/test/java/com/baeldung/synchronousqueue/SynchronousQueueTest.java rename to core-java/src/test/java/com/baeldung/synchronousqueue/SynchronousQueueUnitTest.java index 86e1c0825d..79339d1680 100644 --- a/core-java/src/test/java/com/baeldung/synchronousqueue/SynchronousQueueTest.java +++ b/core-java/src/test/java/com/baeldung/synchronousqueue/SynchronousQueueUnitTest.java @@ -12,9 +12,9 @@ import java.util.concurrent.atomic.AtomicInteger; import static junit.framework.TestCase.assertEquals; @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class SynchronousQueueTest { +public class SynchronousQueueUnitTest { - private static final Logger LOG = LoggerFactory.getLogger(SynchronousQueueTest.class); + private static final Logger LOG = LoggerFactory.getLogger(SynchronousQueueUnitTest.class); @Test diff --git a/core-java/src/test/java/com/baeldung/unsafe/UnsafeTest.java b/core-java/src/test/java/com/baeldung/unsafe/UnsafeUnitTest.java similarity index 99% rename from core-java/src/test/java/com/baeldung/unsafe/UnsafeTest.java rename to core-java/src/test/java/com/baeldung/unsafe/UnsafeUnitTest.java index 9f53e38969..6aa59e68d0 100644 --- a/core-java/src/test/java/com/baeldung/unsafe/UnsafeTest.java +++ b/core-java/src/test/java/com/baeldung/unsafe/UnsafeUnitTest.java @@ -14,7 +14,7 @@ import java.util.stream.IntStream; import static junit.framework.Assert.assertTrue; import static junit.framework.TestCase.assertEquals; -public class UnsafeTest { +public class UnsafeUnitTest { private Unsafe unsafe; diff --git a/core-java/src/test/java/com/baeldung/weakhashmap/WeakHashMapTest.java b/core-java/src/test/java/com/baeldung/weakhashmap/WeakHashMapUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/weakhashmap/WeakHashMapTest.java rename to core-java/src/test/java/com/baeldung/weakhashmap/WeakHashMapUnitTest.java index 1c5a261eea..d7bcb31867 100644 --- a/core-java/src/test/java/com/baeldung/weakhashmap/WeakHashMapTest.java +++ b/core-java/src/test/java/com/baeldung/weakhashmap/WeakHashMapUnitTest.java @@ -9,7 +9,7 @@ import java.util.concurrent.TimeUnit; import static com.jayway.awaitility.Awaitility.await; import static org.junit.Assert.assertTrue; -public class WeakHashMapTest { +public class WeakHashMapUnitTest { @Test public void givenWeakHashMap_whenCacheValueThatHasNoReferenceToIt_GCShouldReclaimThatObject() { diff --git a/core-java/src/test/java/org/baeldung/java/sorting/JavaSorting.java b/core-java/src/test/java/org/baeldung/java/sorting/JavaSortingUnitTest.java similarity index 99% rename from core-java/src/test/java/org/baeldung/java/sorting/JavaSorting.java rename to core-java/src/test/java/org/baeldung/java/sorting/JavaSortingUnitTest.java index 72730aeb8b..d0bf5a4d0f 100644 --- a/core-java/src/test/java/org/baeldung/java/sorting/JavaSorting.java +++ b/core-java/src/test/java/org/baeldung/java/sorting/JavaSortingUnitTest.java @@ -20,7 +20,7 @@ import org.junit.Test; import com.google.common.primitives.Ints; -public class JavaSorting { +public class JavaSortingUnitTest { private int[] toSort; private int[] sortedInts; diff --git a/deltaspike/src/test/java/baeldung/test/MemberRegistrationTest.java b/deltaspike/src/test/java/baeldung/test/MemberRegistrationIntegrationTest.java similarity index 98% rename from deltaspike/src/test/java/baeldung/test/MemberRegistrationTest.java rename to deltaspike/src/test/java/baeldung/test/MemberRegistrationIntegrationTest.java index 7014d066d2..2b6cfe2b02 100644 --- a/deltaspike/src/test/java/baeldung/test/MemberRegistrationTest.java +++ b/deltaspike/src/test/java/baeldung/test/MemberRegistrationIntegrationTest.java @@ -38,7 +38,7 @@ import org.junit.Test; import org.junit.runner.RunWith; @RunWith(Arquillian.class) -public class MemberRegistrationTest { +public class MemberRegistrationIntegrationTest { @Deployment public static Archive createTestArchive() { File[] files = Maven.resolver().loadPomFromFile("pom.xml").importRuntimeDependencies().resolve().withTransitivity().asFile(); diff --git a/dozer/src/test/java/com/baeldung/dozer/DozerTest.java b/dozer/src/test/java/com/baeldung/dozer/DozerIntegrationTest.java similarity index 99% rename from dozer/src/test/java/com/baeldung/dozer/DozerTest.java rename to dozer/src/test/java/com/baeldung/dozer/DozerIntegrationTest.java index 107aab078d..591189bca9 100644 --- a/dozer/src/test/java/com/baeldung/dozer/DozerTest.java +++ b/dozer/src/test/java/com/baeldung/dozer/DozerIntegrationTest.java @@ -11,7 +11,7 @@ import org.junit.Before; import org.junit.Ignore; import org.junit.Test; -public class DozerTest { +public class DozerIntegrationTest { private final long GMT_DIFFERENCE = 46800000; DozerBeanMapper mapper; diff --git a/ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupTest.java b/ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupIntegrationTest.java similarity index 91% rename from ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupTest.java rename to ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupIntegrationTest.java index fa92873a73..c04a649d26 100755 --- a/ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupTest.java +++ b/ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupIntegrationTest.java @@ -6,7 +6,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; -public class EJBSetupTest { +public class EJBSetupIntegrationTest { @Test public void EJBClientTest() { diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeTest.java b/gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeUnitTest.java similarity index 98% rename from gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeTest.java rename to gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeUnitTest.java index 3844c55cd8..40e8524744 100644 --- a/gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeTest.java +++ b/gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeUnitTest.java @@ -11,7 +11,7 @@ import org.junit.Test; import com.google.gson.Gson; import com.google.gson.GsonBuilder; -public class GsonDeserializeTest { +public class GsonDeserializeUnitTest { @Test public void whenSimpleDeserialize_thenCorrect() throws ParseException { diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationTest.java b/gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationUnitTest.java similarity index 99% rename from gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationTest.java rename to gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationUnitTest.java index 072a25e749..784bb45a6a 100644 --- a/gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationTest.java +++ b/gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationUnitTest.java @@ -25,7 +25,7 @@ import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.reflect.TypeToken; -public class GsonDeserializationTest { +public class GsonDeserializationUnitTest { // tests - single element diff --git a/gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeTest.java b/gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeUnitTest.java similarity index 98% rename from gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeTest.java rename to gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeUnitTest.java index 7d5502b72f..4392ea1631 100644 --- a/gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeTest.java +++ b/gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeUnitTest.java @@ -13,7 +13,7 @@ import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Arrays; -public class GsonSerializeTest { +public class GsonSerializeUnitTest { @Test public void whenSimpleSerialize_thenCorrect() throws ParseException { diff --git a/gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationTest.java b/gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationUnitTest.java similarity index 98% rename from gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationTest.java rename to gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationUnitTest.java index 84e550f0bd..6806c470b9 100644 --- a/gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationTest.java +++ b/gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationUnitTest.java @@ -21,7 +21,7 @@ import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; -public class GsonSerializationTest { +public class GsonSerializationUnitTest { @Test public void givenArrayOfObjects_whenSerializing_thenCorrect() { diff --git a/guava/src/test/java/org/baeldung/guava/ClassToInstanceMapTests.java b/guava/src/test/java/org/baeldung/guava/ClassToInstanceMapUnitTest.java similarity index 98% rename from guava/src/test/java/org/baeldung/guava/ClassToInstanceMapTests.java rename to guava/src/test/java/org/baeldung/guava/ClassToInstanceMapUnitTest.java index aef70aa72e..295672d7ad 100644 --- a/guava/src/test/java/org/baeldung/guava/ClassToInstanceMapTests.java +++ b/guava/src/test/java/org/baeldung/guava/ClassToInstanceMapUnitTest.java @@ -6,7 +6,7 @@ import org.junit.Test; import static org.junit.Assert.*; -public class ClassToInstanceMapTests { +public class ClassToInstanceMapUnitTest { @Test public void whenOfCalled_thenCreateEmptyImmutableMap() { ClassToInstanceMap map = ImmutableClassToInstanceMap.of(); diff --git a/guava/src/test/java/org/baeldung/guava/EvictingQueueTest.java b/guava/src/test/java/org/baeldung/guava/EvictingQueueUnitTest.java similarity index 95% rename from guava/src/test/java/org/baeldung/guava/EvictingQueueTest.java rename to guava/src/test/java/org/baeldung/guava/EvictingQueueUnitTest.java index 7758dcd975..e4d29d2e92 100644 --- a/guava/src/test/java/org/baeldung/guava/EvictingQueueTest.java +++ b/guava/src/test/java/org/baeldung/guava/EvictingQueueUnitTest.java @@ -9,7 +9,7 @@ import java.util.stream.IntStream; import static org.assertj.core.api.Java6Assertions.assertThat; -public class EvictingQueueTest { +public class EvictingQueueUnitTest { @Test public void givenEvictingQueue_whenAddElementToFull_thenShouldEvictOldestItem() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaBigIntegerMathTest.java b/guava/src/test/java/org/baeldung/guava/GuavaBigIntegerMathUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaBigIntegerMathTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaBigIntegerMathUnitTest.java index 4dd36fa58d..f5afe20fc2 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaBigIntegerMathTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaBigIntegerMathUnitTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import com.google.common.math.BigIntegerMath; -public class GuavaBigIntegerMathTest { +public class GuavaBigIntegerMathUnitTest { @Test public void whenPerformBinomialOnTwoIntValues_shouldReturnResult() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaCacheLoaderTest.java b/guava/src/test/java/org/baeldung/guava/GuavaCacheLoaderUnitTest.java similarity index 98% rename from guava/src/test/java/org/baeldung/guava/GuavaCacheLoaderTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaCacheLoaderUnitTest.java index 2aa2e6140b..e27171bb84 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaCacheLoaderTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaCacheLoaderUnitTest.java @@ -15,7 +15,7 @@ import static com.google.common.collect.Iterables.cycle; import static com.google.common.collect.Maps.newHashMap; import static org.assertj.core.api.Assertions.assertThat; -public class GuavaCacheLoaderTest { +public class GuavaCacheLoaderUnitTest { int callCount = 0; @Test diff --git a/guava/src/test/java/org/baeldung/guava/GuavaCacheTest.java b/guava/src/test/java/org/baeldung/guava/GuavaCacheUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaCacheTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaCacheUnitTest.java index 3c3b976903..eb67d8af44 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaCacheTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaCacheUnitTest.java @@ -19,7 +19,7 @@ import com.google.common.cache.RemovalListener; import com.google.common.cache.RemovalNotification; import com.google.common.cache.Weigher; -public class GuavaCacheTest { +public class GuavaCacheUnitTest { @Test public void whenCacheMiss_thenAutoLoad() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesTest.java b/guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesUnitTest.java index 9c38afbcc2..cb6ec7ef96 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesUnitTest.java @@ -42,7 +42,7 @@ import com.google.common.collect.Table; import com.google.common.collect.Tables; import com.google.common.collect.TreeRangeSet; -public class GuavaCollectionTypesTest { +public class GuavaCollectionTypesUnitTest { @Test public void whenCreateList_thenCreated() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesTest.java b/guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesUnitTest.java index 2c137e6c80..7b5cef6055 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesUnitTest.java @@ -24,7 +24,7 @@ import com.google.common.collect.Maps; import com.google.common.collect.Sets; @SuppressWarnings("unused") -public class GuavaCollectionsExamplesTest { +public class GuavaCollectionsExamplesUnitTest { // tests diff --git a/guava/src/test/java/org/baeldung/guava/GuavaDoubleMathTest.java b/guava/src/test/java/org/baeldung/guava/GuavaDoubleMathUnitTest.java similarity index 98% rename from guava/src/test/java/org/baeldung/guava/GuavaDoubleMathTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaDoubleMathUnitTest.java index ad06b37e36..b39770e2e7 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaDoubleMathTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaDoubleMathUnitTest.java @@ -9,7 +9,7 @@ import org.junit.Test; import com.google.common.math.DoubleMath; import com.google.common.math.IntMath; -public class GuavaDoubleMathTest { +public class GuavaDoubleMathUnitTest { @Test public void whenFactorailDouble_shouldFactorialThemAndReturnTheResultIfInDoubleRange() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaEventBusTest.java b/guava/src/test/java/org/baeldung/guava/GuavaEventBusUnitTest.java similarity index 97% rename from guava/src/test/java/org/baeldung/guava/GuavaEventBusTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaEventBusUnitTest.java index 0ff25c6df2..1bc62af300 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaEventBusTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaEventBusUnitTest.java @@ -7,7 +7,7 @@ import org.junit.Test; import static org.junit.Assert.*; -public class GuavaEventBusTest { +public class GuavaEventBusUnitTest { private EventListener listener; private EventBus eventBus; diff --git a/guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsTest.java b/guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsUnitTest.java index 1ecf8fdb0a..8562193665 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsUnitTest.java @@ -21,7 +21,7 @@ import com.google.common.collect.FluentIterable; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; -public class GuavaFilterTransformCollectionsTest { +public class GuavaFilterTransformCollectionsUnitTest { @Test public void whenFilterWithIterables_thenFiltered() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesTest.java b/guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesUnitTest.java index 08091639f1..c09ae696b3 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesUnitTest.java @@ -26,7 +26,7 @@ import com.google.common.collect.Maps; import com.google.common.collect.Ordering; import com.google.common.collect.Sets; -public class GuavaFunctionalExamplesTest { +public class GuavaFunctionalExamplesUnitTest { // tests diff --git a/guava/src/test/java/org/baeldung/guava/GuavaIOTest.java b/guava/src/test/java/org/baeldung/guava/GuavaIOUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaIOTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaIOUnitTest.java index 47fee206dc..4a827dfbc0 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaIOTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaIOUnitTest.java @@ -29,7 +29,7 @@ import com.google.common.io.LittleEndianDataInputStream; import com.google.common.io.LittleEndianDataOutputStream; import com.google.common.io.Resources; -public class GuavaIOTest { +public class GuavaIOUnitTest { @Test public void whenWriteUsingFiles_thenWritten() throws IOException { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaIntMathTest.java b/guava/src/test/java/org/baeldung/guava/GuavaIntMathUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaIntMathTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaIntMathUnitTest.java index 9c8f3923d3..9270212929 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaIntMathTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaIntMathUnitTest.java @@ -7,7 +7,7 @@ import java.math.RoundingMode; import com.google.common.math.IntMath; import org.junit.Test; -public class GuavaIntMathTest { +public class GuavaIntMathUnitTest { @Test public void whenPerformBinomialOnTwoIntegerValues_shouldReturnResultIfUnderInt() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaLongMathTest.java b/guava/src/test/java/org/baeldung/guava/GuavaLongMathUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaLongMathTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaLongMathUnitTest.java index 5d6d06c571..680f405149 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaLongMathTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaLongMathUnitTest.java @@ -7,7 +7,7 @@ import java.math.RoundingMode; import com.google.common.math.LongMath; import org.junit.Test; -public class GuavaLongMathTest { +public class GuavaLongMathUnitTest { @Test public void whenPerformBinomialOnTwoLongValues_shouldReturnResultIfUnderLong() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaMapFromSetTests.java b/guava/src/test/java/org/baeldung/guava/GuavaMapFromSetUnitTest.java similarity index 98% rename from guava/src/test/java/org/baeldung/guava/GuavaMapFromSetTests.java rename to guava/src/test/java/org/baeldung/guava/GuavaMapFromSetUnitTest.java index 7dc4550c09..d80f047f5c 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaMapFromSetTests.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaMapFromSetUnitTest.java @@ -11,7 +11,7 @@ import org.junit.Test; import com.google.common.base.Function; -public class GuavaMapFromSetTests { +public class GuavaMapFromSetUnitTest { @Test public void givenStringSet_whenMapsToElementLength_thenCorrect() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaMathTest.java b/guava/src/test/java/org/baeldung/guava/GuavaMathUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaMathTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaMathUnitTest.java index b8e13f0650..1e1f806628 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaMathTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaMathUnitTest.java @@ -11,7 +11,7 @@ import org.junit.Test; import com.google.common.math.DoubleMath; import com.google.common.math.IntMath; -public class GuavaMathTest { +public class GuavaMathUnitTest { @Test(expected = ArithmeticException.class) public void whenSumOverflow_thenThrowException() { IntMath.checkedAdd(Integer.MAX_VALUE, 1); diff --git a/guava/src/test/java/org/baeldung/guava/GuavaMultiMapTest.java b/guava/src/test/java/org/baeldung/guava/GuavaMultiMapUnitTest.java similarity index 97% rename from guava/src/test/java/org/baeldung/guava/GuavaMultiMapTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaMultiMapUnitTest.java index 5e80dd2f87..f51dcadefc 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaMultiMapTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaMultiMapUnitTest.java @@ -12,7 +12,7 @@ import java.util.Map; import static org.junit.Assert.assertEquals; -public class GuavaMultiMapTest { +public class GuavaMultiMapUnitTest { @Test public void givenMap_whenAddTwoValuesForSameKey_shouldOverridePreviousKey() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesTest.java b/guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesUnitTest.java index 5821d19ba0..b8be06deb4 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesUnitTest.java @@ -17,7 +17,7 @@ import com.google.common.collect.Lists; import com.google.common.collect.Ordering; import com.google.common.primitives.Ints; -public class GuavaOrderingExamplesTest { +public class GuavaOrderingExamplesUnitTest { private final class OrderingByLenght extends Ordering { @Override diff --git a/guava/src/test/java/org/baeldung/guava/GuavaOrderingTest.java b/guava/src/test/java/org/baeldung/guava/GuavaOrderingUnitTest.java similarity index 98% rename from guava/src/test/java/org/baeldung/guava/GuavaOrderingTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaOrderingUnitTest.java index 5ecf4f048d..dd250898fd 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaOrderingTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaOrderingUnitTest.java @@ -10,7 +10,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; -public class GuavaOrderingTest { +public class GuavaOrderingUnitTest { @Test public void givenListOfIntegers_whenCreateNaturalOrderOrdering_shouldSortProperly() { //given diff --git a/guava/src/test/java/org/baeldung/guava/GuavaPreConditionsTest.java b/guava/src/test/java/org/baeldung/guava/GuavaPreConditionsUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaPreConditionsTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaPreConditionsUnitTest.java index 2d98418d48..6bf9e5c7a2 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaPreConditionsTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaPreConditionsUnitTest.java @@ -5,7 +5,7 @@ import java.util.Arrays; import org.junit.Test; import com.google.common.base.*; -public class GuavaPreConditionsTest { +public class GuavaPreConditionsUnitTest { @Test public void whenCheckArgumentEvaluatesFalse_throwsException() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaRangeMapTest.java b/guava/src/test/java/org/baeldung/guava/GuavaRangeMapUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaRangeMapTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaRangeMapUnitTest.java index b68dca97c6..81ba72373c 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaRangeMapTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaRangeMapUnitTest.java @@ -9,7 +9,7 @@ import com.google.common.collect.Range; import com.google.common.collect.RangeMap; import com.google.common.collect.TreeRangeMap; -public class GuavaRangeMapTest { +public class GuavaRangeMapUnitTest { @Test public void givenRangeMap_whenQueryWithinRange_returnsSucessfully() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaRangeSetTest.java b/guava/src/test/java/org/baeldung/guava/GuavaRangeSetUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaRangeSetTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaRangeSetUnitTest.java index 002e1a61e9..6f3092d845 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaRangeSetTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaRangeSetUnitTest.java @@ -9,7 +9,7 @@ import com.google.common.collect.Range; import com.google.common.collect.RangeSet; import com.google.common.collect.TreeRangeSet; -public class GuavaRangeSetTest { +public class GuavaRangeSetUnitTest { @Test public void givenRangeSet_whenQueryWithinRange_returnsSucessfully() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaReflectionUtilsTest.java b/guava/src/test/java/org/baeldung/guava/GuavaReflectionUtilsUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaReflectionUtilsTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaReflectionUtilsUnitTest.java index e59a682e08..f2d1c08ae9 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaReflectionUtilsTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaReflectionUtilsUnitTest.java @@ -18,7 +18,7 @@ import static junit.framework.TestCase.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class GuavaReflectionUtilsTest { +public class GuavaReflectionUtilsUnitTest { @Test public void givenTwoGenericList_whenCheckIsAssignableFrom_thenReturnTrueDueToTypeErasure() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaStringTest.java b/guava/src/test/java/org/baeldung/guava/GuavaStringUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaStringTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaStringUnitTest.java index cedbe60d91..631ca454c0 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaStringTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaStringUnitTest.java @@ -19,7 +19,7 @@ import com.google.common.base.Joiner; import com.google.common.base.Predicate; import com.google.common.base.Splitter; -public class GuavaStringTest { +public class GuavaStringUnitTest { @Test public void whenConvertListToString_thenConverted() { diff --git a/guava/src/test/java/org/baeldung/guava/GuavaTableTest.java b/guava/src/test/java/org/baeldung/guava/GuavaTableUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/guava/GuavaTableTest.java rename to guava/src/test/java/org/baeldung/guava/GuavaTableUnitTest.java index 6992752cd8..28e132074e 100644 --- a/guava/src/test/java/org/baeldung/guava/GuavaTableTest.java +++ b/guava/src/test/java/org/baeldung/guava/GuavaTableUnitTest.java @@ -12,7 +12,7 @@ import com.google.common.collect.Lists; import com.google.common.collect.Table; import com.google.common.collect.TreeBasedTable; -public class GuavaTableTest { +public class GuavaTableUnitTest { @Test public void givenTable_whenGet_returnsSuccessfully() { diff --git a/guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueTest.java b/guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueUnitTest.java similarity index 97% rename from guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueTest.java rename to guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueUnitTest.java index f75b5a9bcb..1c4df03c86 100644 --- a/guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueTest.java +++ b/guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueUnitTest.java @@ -9,7 +9,7 @@ import java.util.stream.IntStream; import static org.assertj.core.api.Assertions.assertThat; -public class MinMaxPriorityQueueTest { +public class MinMaxPriorityQueueUnitTest { @Test public void givenMinMaxPriorityQueue_whenAddElementToFull_thenShouldEvictGreatestItem() { //given diff --git a/guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesTest.java b/guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesUnitTest.java similarity index 98% rename from guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesTest.java rename to guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesUnitTest.java index a44ce766f0..6b9cee1992 100644 --- a/guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesTest.java +++ b/guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesUnitTest.java @@ -23,7 +23,7 @@ import org.junit.Test; import com.google.common.collect.Lists; import com.google.common.collect.Maps; -public class HamcrestExamplesTest { +public class HamcrestExamplesUnitTest { // tests diff --git a/guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherTest.java b/guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherUnitTest.java similarity index 99% rename from guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherTest.java rename to guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherUnitTest.java index b3756d609f..cf9fde7114 100644 --- a/guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherTest.java +++ b/guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherUnitTest.java @@ -42,7 +42,7 @@ import static org.hamcrest.text.IsEqualIgnoringCase.equalToIgnoringCase; import static org.hamcrest.text.IsEqualIgnoringWhiteSpace.equalToIgnoringWhiteSpace; import static org.hamcrest.text.StringContainsInOrder.stringContainsInOrder; -public class HamcrestMatcherTest { +public class HamcrestMatcherUnitTest { @Test public void given2Strings_whenEqual_thenCorrect() { String a = "foo"; diff --git a/guava18/src/test/java/com/baeldung/guava/FluentIterableTest.java b/guava18/src/test/java/com/baeldung/guava/FluentIterableUnitTest.java similarity index 98% rename from guava18/src/test/java/com/baeldung/guava/FluentIterableTest.java rename to guava18/src/test/java/com/baeldung/guava/FluentIterableUnitTest.java index 82552fca8f..d70db9193e 100644 --- a/guava18/src/test/java/com/baeldung/guava/FluentIterableTest.java +++ b/guava18/src/test/java/com/baeldung/guava/FluentIterableUnitTest.java @@ -13,7 +13,7 @@ import java.util.List; import static org.hamcrest.CoreMatchers.equalTo; -public class FluentIterableTest { +public class FluentIterableUnitTest { private static final int ADULT_AGE = 18; diff --git a/guava18/src/test/java/com/baeldung/guava/MoreExecutorsTest.java b/guava18/src/test/java/com/baeldung/guava/MoreExecutorsUnitTest.java similarity index 98% rename from guava18/src/test/java/com/baeldung/guava/MoreExecutorsTest.java rename to guava18/src/test/java/com/baeldung/guava/MoreExecutorsUnitTest.java index ec173499f1..c2b38daf6b 100644 --- a/guava18/src/test/java/com/baeldung/guava/MoreExecutorsTest.java +++ b/guava18/src/test/java/com/baeldung/guava/MoreExecutorsUnitTest.java @@ -7,7 +7,7 @@ import org.junit.Test; import java.util.concurrent.*; -public class MoreExecutorsTest { +public class MoreExecutorsUnitTest { @Test public void whenExecutingRunnableInThreadPool_shouldLogAllThreadsExecutions() throws Exception { ConcurrentHashMap threadExecutions = new ConcurrentHashMap<>(); diff --git a/guava18/src/test/java/com/baeldung/guava/MoreObjectsTest.java b/guava18/src/test/java/com/baeldung/guava/MoreObjectsUnitTest.java similarity index 96% rename from guava18/src/test/java/com/baeldung/guava/MoreObjectsTest.java rename to guava18/src/test/java/com/baeldung/guava/MoreObjectsUnitTest.java index 5e46b5aba9..2f5a7b9cca 100644 --- a/guava18/src/test/java/com/baeldung/guava/MoreObjectsTest.java +++ b/guava18/src/test/java/com/baeldung/guava/MoreObjectsUnitTest.java @@ -8,7 +8,7 @@ import org.junit.Test; import static org.hamcrest.CoreMatchers.equalTo; -public class MoreObjectsTest { +public class MoreObjectsUnitTest { @Test public void whenToString_shouldIncludeAllFields() throws Exception { diff --git a/guava19/src/test/java/com/baeldung/guava/CharMatcherTest.java b/guava19/src/test/java/com/baeldung/guava/CharMatcherUnitTest.java similarity index 96% rename from guava19/src/test/java/com/baeldung/guava/CharMatcherTest.java rename to guava19/src/test/java/com/baeldung/guava/CharMatcherUnitTest.java index f890d9abc1..51ecc1ebe6 100644 --- a/guava19/src/test/java/com/baeldung/guava/CharMatcherTest.java +++ b/guava19/src/test/java/com/baeldung/guava/CharMatcherUnitTest.java @@ -6,7 +6,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -public class CharMatcherTest { +public class CharMatcherUnitTest { @Test public void whenMatchingLetterOrString_ShouldReturnTrueForCorrectString() throws Exception { String inputString = "someString789"; diff --git a/guava19/src/test/java/com/baeldung/guava/HashingTest.java b/guava19/src/test/java/com/baeldung/guava/HashingUnitTest.java similarity index 97% rename from guava19/src/test/java/com/baeldung/guava/HashingTest.java rename to guava19/src/test/java/com/baeldung/guava/HashingUnitTest.java index 9b4acde9f7..6deac7c84b 100644 --- a/guava19/src/test/java/com/baeldung/guava/HashingTest.java +++ b/guava19/src/test/java/com/baeldung/guava/HashingUnitTest.java @@ -7,7 +7,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; -public class HashingTest { +public class HashingUnitTest { @Test public void whenHashingInSha384_hashFunctionShouldBeReturned() throws Exception { int inputData = 15; diff --git a/guava19/src/test/java/com/baeldung/guava/TypeTokenTest.java b/guava19/src/test/java/com/baeldung/guava/TypeTokenUnitTest.java similarity index 97% rename from guava19/src/test/java/com/baeldung/guava/TypeTokenTest.java rename to guava19/src/test/java/com/baeldung/guava/TypeTokenUnitTest.java index 1923451f20..bfdcb152e3 100644 --- a/guava19/src/test/java/com/baeldung/guava/TypeTokenTest.java +++ b/guava19/src/test/java/com/baeldung/guava/TypeTokenUnitTest.java @@ -9,7 +9,7 @@ import java.util.List; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class TypeTokenTest { +public class TypeTokenUnitTest { @Test public void whenCheckingIsAssignableFrom_shouldReturnTrueEvenIfGenericIsSpecified() throws Exception { ArrayList stringList = new ArrayList<>(); diff --git a/guava21/src/test/java/AtomicLongMapTests.java b/guava21/src/test/java/AtomicLongMapIntegrationTest.java similarity index 97% rename from guava21/src/test/java/AtomicLongMapTests.java rename to guava21/src/test/java/AtomicLongMapIntegrationTest.java index 6bde997e8d..9024329a56 100644 --- a/guava21/src/test/java/AtomicLongMapTests.java +++ b/guava21/src/test/java/AtomicLongMapIntegrationTest.java @@ -3,7 +3,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; -public class AtomicLongMapTests { +public class AtomicLongMapIntegrationTest { private static final String SPRING_COURSE_KEY = "Spring"; private static final String HIBERNATE_COURSE_KEY = "hibernate"; diff --git a/guava21/src/test/java/ComparatorsUnitTests.java b/guava21/src/test/java/ComparatorsUnitTest.java similarity index 98% rename from guava21/src/test/java/ComparatorsUnitTests.java rename to guava21/src/test/java/ComparatorsUnitTest.java index 8aaae1e14e..3d1f2e9e81 100644 --- a/guava21/src/test/java/ComparatorsUnitTests.java +++ b/guava21/src/test/java/ComparatorsUnitTest.java @@ -10,7 +10,7 @@ import java.util.function.ToDoubleFunction; import java.util.function.ToIntFunction; import java.util.function.ToLongFunction; -public class ComparatorsUnitTests { +public class ComparatorsUnitTest { @Test public void isInOrderTest() { diff --git a/guava21/src/test/java/InternBuilderUnitTests.java b/guava21/src/test/java/InternBuilderUnitTest.java similarity index 90% rename from guava21/src/test/java/InternBuilderUnitTests.java rename to guava21/src/test/java/InternBuilderUnitTest.java index b569b59978..183e3eeb43 100644 --- a/guava21/src/test/java/InternBuilderUnitTests.java +++ b/guava21/src/test/java/InternBuilderUnitTest.java @@ -3,7 +3,7 @@ import com.google.common.collect.Interners; import org.junit.Assert; import org.junit.Test; -public class InternBuilderUnitTests { +public class InternBuilderUnitTest { @Test public void interBuilderTest() { diff --git a/guava21/src/test/java/MonitorUnitTests.java b/guava21/src/test/java/MonitorUnitTest.java similarity index 97% rename from guava21/src/test/java/MonitorUnitTests.java rename to guava21/src/test/java/MonitorUnitTest.java index 7b52c48d8f..e29d4a1eeb 100644 --- a/guava21/src/test/java/MonitorUnitTests.java +++ b/guava21/src/test/java/MonitorUnitTest.java @@ -2,7 +2,7 @@ import com.google.common.util.concurrent.Monitor; import org.junit.Assert; import org.junit.Test; -public class MonitorUnitTests { +public class MonitorUnitTest { @Test public void whenGaurdConditionIsTrue_IsSuccessful() { diff --git a/guava21/src/test/java/MoreCollectorsUnitTests.java b/guava21/src/test/java/MoreCollectorsUnitTest.java similarity index 95% rename from guava21/src/test/java/MoreCollectorsUnitTests.java rename to guava21/src/test/java/MoreCollectorsUnitTest.java index a205337450..5950997788 100644 --- a/guava21/src/test/java/MoreCollectorsUnitTests.java +++ b/guava21/src/test/java/MoreCollectorsUnitTest.java @@ -6,7 +6,7 @@ import java.util.Arrays; import java.util.List; import java.util.Optional; -public class MoreCollectorsUnitTests { +public class MoreCollectorsUnitTest { @Test public void toOptionalTest() { diff --git a/httpclient/src/test/java/org/baeldung/httpclient/advancedconfig/HttpClientAdvancedConfiguration.java b/httpclient/src/test/java/org/baeldung/httpclient/advancedconfig/HttpClientAdvancedConfigurationIntegrationTest.java similarity index 98% rename from httpclient/src/test/java/org/baeldung/httpclient/advancedconfig/HttpClientAdvancedConfiguration.java rename to httpclient/src/test/java/org/baeldung/httpclient/advancedconfig/HttpClientAdvancedConfigurationIntegrationTest.java index 9b5cb3f293..b5a76241d1 100644 --- a/httpclient/src/test/java/org/baeldung/httpclient/advancedconfig/HttpClientAdvancedConfiguration.java +++ b/httpclient/src/test/java/org/baeldung/httpclient/advancedconfig/HttpClientAdvancedConfigurationIntegrationTest.java @@ -27,7 +27,7 @@ import java.io.IOException; import static com.github.tomakehurst.wiremock.client.WireMock.*; import static org.junit.Assert.assertEquals; -public class HttpClientAdvancedConfiguration { +public class HttpClientAdvancedConfigurationIntegrationTest { @Rule public WireMockRule serviceMock = new WireMockRule(8089); diff --git a/immutables/src/test/java/com/baeldung/immutable/ImmutablePersonTest.java b/immutables/src/test/java/com/baeldung/immutable/ImmutablePersonUnitTest.java similarity index 94% rename from immutables/src/test/java/com/baeldung/immutable/ImmutablePersonTest.java rename to immutables/src/test/java/com/baeldung/immutable/ImmutablePersonUnitTest.java index bf075569db..222cbfd8ef 100644 --- a/immutables/src/test/java/com/baeldung/immutable/ImmutablePersonTest.java +++ b/immutables/src/test/java/com/baeldung/immutable/ImmutablePersonUnitTest.java @@ -5,7 +5,7 @@ import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.mutabilitydetector.unittesting.MutabilityAssert.assertImmutable; -public class ImmutablePersonTest { +public class ImmutablePersonUnitTest { @Test public void whenModifying_shouldCreateNewInstance() throws Exception { diff --git a/immutables/src/test/java/com/baeldung/immutable/auxiliary/ImmutablePersonAuxiliaryTest.java b/immutables/src/test/java/com/baeldung/immutable/auxiliary/ImmutablePersonAuxiliaryUnitTest.java similarity index 94% rename from immutables/src/test/java/com/baeldung/immutable/auxiliary/ImmutablePersonAuxiliaryTest.java rename to immutables/src/test/java/com/baeldung/immutable/auxiliary/ImmutablePersonAuxiliaryUnitTest.java index 83f9e51ed5..ee2ff91cfd 100644 --- a/immutables/src/test/java/com/baeldung/immutable/auxiliary/ImmutablePersonAuxiliaryTest.java +++ b/immutables/src/test/java/com/baeldung/immutable/auxiliary/ImmutablePersonAuxiliaryUnitTest.java @@ -4,7 +4,7 @@ import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; -public class ImmutablePersonAuxiliaryTest { +public class ImmutablePersonAuxiliaryUnitTest { @Test public void whenComparing_shouldIgnore() throws Exception { diff --git a/immutables/src/test/java/com/baeldung/immutable/default_/ImmutablePersonDefaultTest.java b/immutables/src/test/java/com/baeldung/immutable/default_/ImmutablePersonDefaultUnitTest.java similarity index 88% rename from immutables/src/test/java/com/baeldung/immutable/default_/ImmutablePersonDefaultTest.java rename to immutables/src/test/java/com/baeldung/immutable/default_/ImmutablePersonDefaultUnitTest.java index 5cf4ac0cf7..d3bc0cb482 100644 --- a/immutables/src/test/java/com/baeldung/immutable/default_/ImmutablePersonDefaultTest.java +++ b/immutables/src/test/java/com/baeldung/immutable/default_/ImmutablePersonDefaultUnitTest.java @@ -4,7 +4,7 @@ import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; -public class ImmutablePersonDefaultTest { +public class ImmutablePersonDefaultUnitTest { @Test public void whenInstantiating_shouldUseDefaultValue() throws Exception { diff --git a/jackson/src/test/java/com/baeldung/jackson/annotation/extra/ExtraAnnotationTest.java b/jackson/src/test/java/com/baeldung/jackson/annotation/extra/ExtraAnnotationUnitTest.java similarity index 99% rename from jackson/src/test/java/com/baeldung/jackson/annotation/extra/ExtraAnnotationTest.java rename to jackson/src/test/java/com/baeldung/jackson/annotation/extra/ExtraAnnotationUnitTest.java index 79aae1dd04..c4e0a2ecdb 100644 --- a/jackson/src/test/java/com/baeldung/jackson/annotation/extra/ExtraAnnotationTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/annotation/extra/ExtraAnnotationUnitTest.java @@ -23,7 +23,7 @@ import com.fasterxml.jackson.databind.ObjectWriter; import com.fasterxml.jackson.module.jsonSchema.JsonSchema; import com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper; -public class ExtraAnnotationTest { +public class ExtraAnnotationUnitTest { @Test public void whenNotUsingJsonIdentityReferenceAnnotation_thenCorrect() throws JsonProcessingException { ObjectMapper mapper = new ObjectMapper(); diff --git a/jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonDeserializeTest.java b/jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonDeserializeUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonDeserializeTest.java rename to jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonDeserializeUnitTest.java index cb3bccb879..dc055a8f9a 100644 --- a/jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonDeserializeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonDeserializeUnitTest.java @@ -8,7 +8,7 @@ import org.junit.Test; import com.fasterxml.jackson.databind.ObjectMapper; import static org.junit.Assert.assertEquals; -public class JacksonDeserializeTest { +public class JacksonDeserializeUnitTest { @Test public void whenSimpleDeserialize_thenCorrect() throws IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonMapDeserializeTest.java b/jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonMapDeserializeUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonMapDeserializeTest.java rename to jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonMapDeserializeUnitTest.java index 5021abaac1..4d5db699a0 100644 --- a/jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonMapDeserializeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/deserialization/JacksonMapDeserializeUnitTest.java @@ -14,7 +14,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper; -public class JacksonMapDeserializeTest { +public class JacksonMapDeserializeUnitTest { private Map map; private Map cmap; diff --git a/jackson/src/test/java/com/baeldung/jackson/deserialization/jacksoninject/JacksonInjectTest.java b/jackson/src/test/java/com/baeldung/jackson/deserialization/jacksoninject/JacksonInjectUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/deserialization/jacksoninject/JacksonInjectTest.java rename to jackson/src/test/java/com/baeldung/jackson/deserialization/jacksoninject/JacksonInjectUnitTest.java index 7742833e6a..81bb14c533 100644 --- a/jackson/src/test/java/com/baeldung/jackson/deserialization/jacksoninject/JacksonInjectTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/deserialization/jacksoninject/JacksonInjectUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JacksonInjectTest { +public class JacksonInjectUnitTest { @Test public void whenDeserializingUsingJacksonInject_thenCorrect() throws IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/deserialization/jsonanysetter/JsonAnySetterTest.java b/jackson/src/test/java/com/baeldung/jackson/deserialization/jsonanysetter/JsonAnySetterUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/deserialization/jsonanysetter/JsonAnySetterTest.java rename to jackson/src/test/java/com/baeldung/jackson/deserialization/jsonanysetter/JsonAnySetterUnitTest.java index c8e23d3de6..7c338696e7 100644 --- a/jackson/src/test/java/com/baeldung/jackson/deserialization/jsonanysetter/JsonAnySetterTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/deserialization/jsonanysetter/JsonAnySetterUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonAnySetterTest { +public class JsonAnySetterUnitTest { @Test public void whenDeserializingUsingJsonAnySetter_thenCorrect() throws IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/deserialization/jsoncreator/JsonCreatorTest.java b/jackson/src/test/java/com/baeldung/jackson/deserialization/jsoncreator/JsonCreatorUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/deserialization/jsoncreator/JsonCreatorTest.java rename to jackson/src/test/java/com/baeldung/jackson/deserialization/jsoncreator/JsonCreatorUnitTest.java index a616fae16b..cc6b2a28aa 100644 --- a/jackson/src/test/java/com/baeldung/jackson/deserialization/jsoncreator/JsonCreatorTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/deserialization/jsoncreator/JsonCreatorUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonCreatorTest { +public class JsonCreatorUnitTest { @Test public void whenDeserializingUsingJsonCreator_thenCorrect() throws IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/deserialization/jsondeserialize/JsonDeserializeTest.java b/jackson/src/test/java/com/baeldung/jackson/deserialization/jsondeserialize/JsonDeserializeUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/deserialization/jsondeserialize/JsonDeserializeTest.java rename to jackson/src/test/java/com/baeldung/jackson/deserialization/jsondeserialize/JsonDeserializeUnitTest.java index e208c428b3..dca2252431 100644 --- a/jackson/src/test/java/com/baeldung/jackson/deserialization/jsondeserialize/JsonDeserializeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/deserialization/jsondeserialize/JsonDeserializeUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonDeserializeTest { +public class JsonDeserializeUnitTest { @Test public void whenDeserializingUsingJsonDeserialize_thenCorrect() throws IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/deserialization/jsonsetter/JsonSetterTest.java b/jackson/src/test/java/com/baeldung/jackson/deserialization/jsonsetter/JsonSetterUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/deserialization/jsonsetter/JsonSetterTest.java rename to jackson/src/test/java/com/baeldung/jackson/deserialization/jsonsetter/JsonSetterUnitTest.java index 5886bf5ddc..42e105cd52 100644 --- a/jackson/src/test/java/com/baeldung/jackson/deserialization/jsonsetter/JsonSetterTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/deserialization/jsonsetter/JsonSetterUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonSetterTest { +public class JsonSetterUnitTest { @Test public void whenDeserializingUsingJsonSetter_thenCorrect() throws IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/enums/JacksonEnumSerializationTest.java b/jackson/src/test/java/com/baeldung/jackson/enums/JacksonEnumSerializationUnitTest.java similarity index 92% rename from jackson/src/test/java/com/baeldung/jackson/enums/JacksonEnumSerializationTest.java rename to jackson/src/test/java/com/baeldung/jackson/enums/JacksonEnumSerializationUnitTest.java index af61e55bb4..45c0ba1382 100644 --- a/jackson/src/test/java/com/baeldung/jackson/enums/JacksonEnumSerializationTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/enums/JacksonEnumSerializationUnitTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.ObjectMapper; -public class JacksonEnumSerializationTest { +public class JacksonEnumSerializationUnitTest { @Test public final void givenEnum_whenSerializingJson_thenCorrectRepresentation() throws JsonParseException, IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/format/JsonFormatTest.java b/jackson/src/test/java/com/baeldung/jackson/format/JsonFormatUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/format/JsonFormatTest.java rename to jackson/src/test/java/com/baeldung/jackson/format/JsonFormatUnitTest.java index fbbc090eac..7ce03ff625 100755 --- a/jackson/src/test/java/com/baeldung/jackson/format/JsonFormatTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/format/JsonFormatUnitTest.java @@ -17,7 +17,7 @@ import static org.assertj.core.data.Percentage.withPercentage; * @author Jay Sridhar * @version 1.0 */ -public class JsonFormatTest { +public class JsonFormatUnitTest { @Test public void whenSerializedDateFormat_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/general/jsonfilter/JsonFilterTest.java b/jackson/src/test/java/com/baeldung/jackson/general/jsonfilter/JsonFilterUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/general/jsonfilter/JsonFilterTest.java rename to jackson/src/test/java/com/baeldung/jackson/general/jsonfilter/JsonFilterUnitTest.java index f550dfb5b0..3eeec8dcee 100644 --- a/jackson/src/test/java/com/baeldung/jackson/general/jsonfilter/JsonFilterTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/general/jsonfilter/JsonFilterUnitTest.java @@ -16,7 +16,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonFilterTest { +public class JsonFilterUnitTest { @Test public void whenSerializingUsingJsonFilter_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/general/jsonformat/JsonFormatTest.java b/jackson/src/test/java/com/baeldung/jackson/general/jsonformat/JsonFormatUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/general/jsonformat/JsonFormatTest.java rename to jackson/src/test/java/com/baeldung/jackson/general/jsonformat/JsonFormatUnitTest.java index ab0f1871b2..0fcfe94cf8 100644 --- a/jackson/src/test/java/com/baeldung/jackson/general/jsonformat/JsonFormatTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/general/jsonformat/JsonFormatUnitTest.java @@ -19,7 +19,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonFormatTest { +public class JsonFormatUnitTest { @Test public void whenSerializingUsingJsonFormat_thenCorrect() throws JsonProcessingException, ParseException { diff --git a/jackson/src/test/java/com/baeldung/jackson/general/jsonidentityinfo/JsonIdentityInfoTest.java b/jackson/src/test/java/com/baeldung/jackson/general/jsonidentityinfo/JsonIdentityInfoUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/general/jsonidentityinfo/JsonIdentityInfoTest.java rename to jackson/src/test/java/com/baeldung/jackson/general/jsonidentityinfo/JsonIdentityInfoUnitTest.java index ed53ab4d8f..014f1a8f69 100644 --- a/jackson/src/test/java/com/baeldung/jackson/general/jsonidentityinfo/JsonIdentityInfoTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/general/jsonidentityinfo/JsonIdentityInfoUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonIdentityInfoTest { +public class JsonIdentityInfoUnitTest { @Test public void whenSerializingUsingJsonIdentityInfo_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/general/jsonproperty/JsonPropertyTest.java b/jackson/src/test/java/com/baeldung/jackson/general/jsonproperty/JsonPropertyUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/general/jsonproperty/JsonPropertyTest.java rename to jackson/src/test/java/com/baeldung/jackson/general/jsonproperty/JsonPropertyUnitTest.java index 2ec8429884..94046f8a56 100644 --- a/jackson/src/test/java/com/baeldung/jackson/general/jsonproperty/JsonPropertyTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/general/jsonproperty/JsonPropertyUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonPropertyTest { +public class JsonPropertyUnitTest { @Test public void whenSerializingUsingJsonProperty_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/general/jsonunwrapped/JsonUnwrappedTest.java b/jackson/src/test/java/com/baeldung/jackson/general/jsonunwrapped/JsonUnwrappedUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/general/jsonunwrapped/JsonUnwrappedTest.java rename to jackson/src/test/java/com/baeldung/jackson/general/jsonunwrapped/JsonUnwrappedUnitTest.java index 5ce0340960..491f706db4 100644 --- a/jackson/src/test/java/com/baeldung/jackson/general/jsonunwrapped/JsonUnwrappedTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/general/jsonunwrapped/JsonUnwrappedUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonUnwrappedTest { +public class JsonUnwrappedUnitTest { @Test public void whenSerializingUsingJsonUnwrapped_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/general/jsonview/JsonViewTest.java b/jackson/src/test/java/com/baeldung/jackson/general/jsonview/JsonViewUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/general/jsonview/JsonViewTest.java rename to jackson/src/test/java/com/baeldung/jackson/general/jsonview/JsonViewUnitTest.java index aa207e3e35..8ac10cac8b 100644 --- a/jackson/src/test/java/com/baeldung/jackson/general/jsonview/JsonViewTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/general/jsonview/JsonViewUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonViewTest { +public class JsonViewUnitTest { @Test public void whenSerializingUsingJsonView_andInternalView_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/general/reference/ReferenceTest.java b/jackson/src/test/java/com/baeldung/jackson/general/reference/ReferenceUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/general/reference/ReferenceTest.java rename to jackson/src/test/java/com/baeldung/jackson/general/reference/ReferenceUnitTest.java index f53873724e..c0aece9636 100644 --- a/jackson/src/test/java/com/baeldung/jackson/general/reference/ReferenceTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/general/reference/ReferenceUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class ReferenceTest { +public class ReferenceUnitTest { @Test public void whenSerializingUsingReference_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonautodetect/JsonAutoDetectTest.java b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonautodetect/JsonAutoDetectUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/inclusion/jsonautodetect/JsonAutoDetectTest.java rename to jackson/src/test/java/com/baeldung/jackson/inclusion/jsonautodetect/JsonAutoDetectUnitTest.java index 17502b288c..ef9d6e0e29 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonautodetect/JsonAutoDetectTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonautodetect/JsonAutoDetectUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonAutoDetectTest { +public class JsonAutoDetectUnitTest { @Test public void whenSerializingUsingJsonAutoDetect_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignore/JsonIgnoreTest.java b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignore/JsonIgnoreUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignore/JsonIgnoreTest.java rename to jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignore/JsonIgnoreUnitTest.java index 4008834bf9..89e3c15f04 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignore/JsonIgnoreTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignore/JsonIgnoreUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonIgnoreTest { +public class JsonIgnoreUnitTest { @Test public void whenSerializingUsingJsonIgnore_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoreproperties/JsonIgnorePropertiesTest.java b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoreproperties/JsonIgnorePropertiesUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoreproperties/JsonIgnorePropertiesTest.java rename to jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoreproperties/JsonIgnorePropertiesUnitTest.java index 92eba57a07..be20d242c9 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoreproperties/JsonIgnorePropertiesTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoreproperties/JsonIgnorePropertiesUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonIgnorePropertiesTest { +public class JsonIgnorePropertiesUnitTest { @Test public void whenSerializingUsingJsonIgnoreProperties_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoretype/JsonIgnoreTypeTest.java b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoretype/JsonIgnoreTypeUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoretype/JsonIgnoreTypeTest.java rename to jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoretype/JsonIgnoreTypeUnitTest.java index 3875ec6b9b..e8917ff526 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoretype/JsonIgnoreTypeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsonignoretype/JsonIgnoreTypeUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonIgnoreTypeTest { +public class JsonIgnoreTypeUnitTest { @Test public void whenSerializingUsingJsonIgnoreType_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsoninclude/JsonIncludeTest.java b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsoninclude/JsonIncludeUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/inclusion/jsoninclude/JsonIncludeTest.java rename to jackson/src/test/java/com/baeldung/jackson/inclusion/jsoninclude/JsonIncludeUnitTest.java index b88dfd1f3b..f85dd66764 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inclusion/jsoninclude/JsonIncludeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inclusion/jsoninclude/JsonIncludeUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonIncludeTest { +public class JsonIncludeUnitTest { @Test public void whenSerializingUsingJsonInclude_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/inheritance/IgnoranceTest.java b/jackson/src/test/java/com/baeldung/jackson/inheritance/IgnoranceUnitTest.java similarity index 99% rename from jackson/src/test/java/com/baeldung/jackson/inheritance/IgnoranceTest.java rename to jackson/src/test/java/com/baeldung/jackson/inheritance/IgnoranceUnitTest.java index 8d22f471a6..e365b560e2 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inheritance/IgnoranceTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inheritance/IgnoranceUnitTest.java @@ -15,7 +15,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.introspect.AnnotatedMember; import com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector; -public class IgnoranceTest { +public class IgnoranceUnitTest { private static abstract class CarMixIn { @JsonIgnore public String make; diff --git a/jackson/src/test/java/com/baeldung/jackson/inheritance/ItemIdRemovedFromUserTest.java b/jackson/src/test/java/com/baeldung/jackson/inheritance/ItemIdRemovedFromUserUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/inheritance/ItemIdRemovedFromUserTest.java rename to jackson/src/test/java/com/baeldung/jackson/inheritance/ItemIdRemovedFromUserUnitTest.java index 5aee03555e..a0ba23fb71 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inheritance/ItemIdRemovedFromUserTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inheritance/ItemIdRemovedFromUserUnitTest.java @@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class ItemIdRemovedFromUserTest { +public class ItemIdRemovedFromUserUnitTest { @Test public void givenRemoveItemJson_whenDeserialize_shouldHaveProperClassType() throws IOException { //given diff --git a/jackson/src/test/java/com/baeldung/jackson/inheritance/SubTypeHandlingTest.java b/jackson/src/test/java/com/baeldung/jackson/inheritance/SubTypeHandlingUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/inheritance/SubTypeHandlingTest.java rename to jackson/src/test/java/com/baeldung/jackson/inheritance/SubTypeHandlingUnitTest.java index 2d4c8fe698..a8c1e94e9b 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inheritance/SubTypeHandlingTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inheritance/SubTypeHandlingUnitTest.java @@ -10,7 +10,7 @@ import java.io.IOException; import com.fasterxml.jackson.databind.ObjectMapper; -public class SubTypeHandlingTest { +public class SubTypeHandlingUnitTest { @Test public void givenSubTypes_whenConvertingObjects_thenDataValuesArePreserved() { ObjectMapper mapper = new ObjectMapper(); diff --git a/jackson/src/test/java/com/baeldung/jackson/inheritance/TypeInfoInclusionTest.java b/jackson/src/test/java/com/baeldung/jackson/inheritance/TypeInfoInclusionUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/inheritance/TypeInfoInclusionTest.java rename to jackson/src/test/java/com/baeldung/jackson/inheritance/TypeInfoInclusionUnitTest.java index aefbc172d0..b436eda6e0 100644 --- a/jackson/src/test/java/com/baeldung/jackson/inheritance/TypeInfoInclusionTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/inheritance/TypeInfoInclusionUnitTest.java @@ -11,7 +11,7 @@ import java.io.IOException; import com.fasterxml.jackson.databind.ObjectMapper; -public class TypeInfoInclusionTest { +public class TypeInfoInclusionUnitTest { @Test public void givenTypeInfo_whenAnnotatingGlobally_thenTypesAreCorrectlyRecovered() throws IOException { ObjectMapper mapper = new ObjectMapper(); diff --git a/jackson/src/test/java/com/baeldung/jackson/miscellaneous/custom/CustomTest.java b/jackson/src/test/java/com/baeldung/jackson/miscellaneous/custom/CustomUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/miscellaneous/custom/CustomTest.java rename to jackson/src/test/java/com/baeldung/jackson/miscellaneous/custom/CustomUnitTest.java index 568fe20501..8f90c02875 100644 --- a/jackson/src/test/java/com/baeldung/jackson/miscellaneous/custom/CustomTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/miscellaneous/custom/CustomUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class CustomTest { +public class CustomUnitTest { @Test public void whenSerializingUsingCustom_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/miscellaneous/disable/DisableTest.java b/jackson/src/test/java/com/baeldung/jackson/miscellaneous/disable/DisableUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/miscellaneous/disable/DisableTest.java rename to jackson/src/test/java/com/baeldung/jackson/miscellaneous/disable/DisableUnitTest.java index bd865d94ed..f9bc14291e 100644 --- a/jackson/src/test/java/com/baeldung/jackson/miscellaneous/disable/DisableTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/miscellaneous/disable/DisableUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class DisableTest { +public class DisableUnitTest { @Test public void whenSerializingUsingDisable_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/MixInTest.java b/jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/MixInUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/MixInTest.java rename to jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/MixInUnitTest.java index 1eb7ff220d..732cda58d0 100644 --- a/jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/MixInTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/MixInUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class MixInTest { +public class MixInUnitTest { @Test public void whenSerializingUsingMixIn_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/OptionalTypeTest.java b/jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/OptionalTypeUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/OptionalTypeTest.java rename to jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/OptionalTypeUnitTest.java index c6d51cd57f..dc807a84b8 100644 --- a/jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/OptionalTypeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/miscellaneous/mixin/OptionalTypeUnitTest.java @@ -9,7 +9,7 @@ import java.util.Optional; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; -public class OptionalTypeTest { +public class OptionalTypeUnitTest { ObjectMapper mapper = new ObjectMapper().registerModule(new Jdk8Module()); diff --git a/jackson/src/test/java/com/baeldung/jackson/node/NodeOperationTest.java b/jackson/src/test/java/com/baeldung/jackson/node/NodeOperationUnitTest.java similarity index 99% rename from jackson/src/test/java/com/baeldung/jackson/node/NodeOperationTest.java rename to jackson/src/test/java/com/baeldung/jackson/node/NodeOperationUnitTest.java index 2fcb828613..3539f388f9 100644 --- a/jackson/src/test/java/com/baeldung/jackson/node/NodeOperationTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/node/NodeOperationUnitTest.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; -public class NodeOperationTest { +public class NodeOperationUnitTest { private static ObjectMapper mapper = new ObjectMapper(); @Test diff --git a/jackson/src/test/java/com/baeldung/jackson/objectmapper/TestJavaReadWriteJsonExample.java b/jackson/src/test/java/com/baeldung/jackson/objectmapper/JavaReadWriteJsonExampleUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/objectmapper/TestJavaReadWriteJsonExample.java rename to jackson/src/test/java/com/baeldung/jackson/objectmapper/JavaReadWriteJsonExampleUnitTest.java index 54ddf469c8..e6da19f440 100644 --- a/jackson/src/test/java/com/baeldung/jackson/objectmapper/TestJavaReadWriteJsonExample.java +++ b/jackson/src/test/java/com/baeldung/jackson/objectmapper/JavaReadWriteJsonExampleUnitTest.java @@ -14,7 +14,7 @@ import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; -public class TestJavaReadWriteJsonExample { +public class JavaReadWriteJsonExampleUnitTest { final String EXAMPLE_JSON = "{ \"color\" : \"Black\", \"type\" : \"BMW\" }"; final String LOCAL_JSON = "[{ \"color\" : \"Black\", \"type\" : \"BMW\" }, { \"color\" : \"Red\", \"type\" : \"BMW\" }]"; diff --git a/jackson/src/test/java/com/baeldung/jackson/objectmapper/TestSerializationDeserializationFeature.java b/jackson/src/test/java/com/baeldung/jackson/objectmapper/SerializationDeserializationFeatureUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/objectmapper/TestSerializationDeserializationFeature.java rename to jackson/src/test/java/com/baeldung/jackson/objectmapper/SerializationDeserializationFeatureUnitTest.java index 96918f4c28..4ffec72a61 100644 --- a/jackson/src/test/java/com/baeldung/jackson/objectmapper/TestSerializationDeserializationFeature.java +++ b/jackson/src/test/java/com/baeldung/jackson/objectmapper/SerializationDeserializationFeatureUnitTest.java @@ -18,7 +18,7 @@ import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; -public class TestSerializationDeserializationFeature { +public class SerializationDeserializationFeatureUnitTest { final String EXAMPLE_JSON = "{ \"color\" : \"Black\", \"type\" : \"BMW\" }"; final String JSON_CAR = "{ \"color\" : \"Black\", \"type\" : \"Fiat\", \"year\" : \"1970\" }"; final String JSON_ARRAY = "[{ \"color\" : \"Black\", \"type\" : \"BMW\" }, { \"color\" : \"Red\", \"type\" : \"BMW\" }]"; diff --git a/jackson/src/test/java/com/baeldung/jackson/polymorphism/PolymorphismTest.java b/jackson/src/test/java/com/baeldung/jackson/polymorphism/PolymorphismUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/polymorphism/PolymorphismTest.java rename to jackson/src/test/java/com/baeldung/jackson/polymorphism/PolymorphismUnitTest.java index b99648bda4..5d2ba69767 100644 --- a/jackson/src/test/java/com/baeldung/jackson/polymorphism/PolymorphismTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/polymorphism/PolymorphismUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class PolymorphismTest { +public class PolymorphismUnitTest { @Test public void whenSerializingUsingPolymorphism_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/sandbox/SandboxTest.java b/jackson/src/test/java/com/baeldung/jackson/sandbox/SandboxUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/sandbox/SandboxTest.java rename to jackson/src/test/java/com/baeldung/jackson/sandbox/SandboxUnitTest.java index 958a7eec98..a600577cb0 100644 --- a/jackson/src/test/java/com/baeldung/jackson/sandbox/SandboxTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/sandbox/SandboxUnitTest.java @@ -9,7 +9,7 @@ import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper; -public class SandboxTest { +public class SandboxUnitTest { @Test public final void whenDeserializing_thenCorrect() throws JsonParseException, JsonMappingException, IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/JacksonMapSerializeTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/JacksonMapSerializeUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/serialization/JacksonMapSerializeTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/JacksonMapSerializeUnitTest.java index a5ee76f3b8..4935d35791 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/JacksonMapSerializeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/JacksonMapSerializeUnitTest.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.MapSerializer; -public class JacksonMapSerializeTest { +public class JacksonMapSerializeUnitTest { @JsonSerialize(keyUsing = MyPairSerializer.class) private Map map; diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/JacksonSerializeTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/JacksonSerializeUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/serialization/JacksonSerializeTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/JacksonSerializeUnitTest.java index b6b80ab103..fa6364ff92 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/JacksonSerializeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/JacksonSerializeUnitTest.java @@ -18,7 +18,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.module.SimpleModule; -public class JacksonSerializeTest { +public class JacksonSerializeUnitTest { @Test public void whenSimpleSerialize_thenCorrect() throws JsonProcessingException, ParseException { diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonanygetter/JsonAnyGetterTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonanygetter/JsonAnyGetterUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/serialization/jsonanygetter/JsonAnyGetterTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/jsonanygetter/JsonAnyGetterUnitTest.java index b13dbf6f10..7a786e0bd6 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonanygetter/JsonAnyGetterTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonanygetter/JsonAnyGetterUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonAnyGetterTest { +public class JsonAnyGetterUnitTest { @Test public void whenSerializingUsingJsonAnyGetter_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/jsongetter/JsonGetterTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/jsongetter/JsonGetterUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/serialization/jsongetter/JsonGetterTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/jsongetter/JsonGetterUnitTest.java index a4ffff6283..4bc9c51e83 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/jsongetter/JsonGetterTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/jsongetter/JsonGetterUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonGetterTest { +public class JsonGetterUnitTest { @Test public void whenSerializingUsingJsonGetter_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonpropertyorder/JsonPropertyOrderTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonpropertyorder/JsonPropertyOrderUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/serialization/jsonpropertyorder/JsonPropertyOrderTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/jsonpropertyorder/JsonPropertyOrderUnitTest.java index d8e4a494fd..77ef85ed73 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonpropertyorder/JsonPropertyOrderTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonpropertyorder/JsonPropertyOrderUnitTest.java @@ -13,7 +13,7 @@ import static org.hamcrest.MatcherAssert.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonPropertyOrderTest { +public class JsonPropertyOrderUnitTest { @Test public void whenSerializingUsingJsonPropertyOrder_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonrawvalue/JsonRawValueTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonrawvalue/JsonRawValueUnitTest.java similarity index 96% rename from jackson/src/test/java/com/baeldung/jackson/serialization/jsonrawvalue/JsonRawValueTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/jsonrawvalue/JsonRawValueUnitTest.java index 8b1110d885..0671441d9a 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonrawvalue/JsonRawValueTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonrawvalue/JsonRawValueUnitTest.java @@ -12,7 +12,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonRawValueTest { +public class JsonRawValueUnitTest { @Test public void whenSerializingUsingJsonRawValue_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonrootname/JsonRootNameTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonrootname/JsonRootNameUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/serialization/jsonrootname/JsonRootNameTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/jsonrootname/JsonRootNameUnitTest.java index 813970671f..cb54e63079 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonrootname/JsonRootNameTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonrootname/JsonRootNameUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonRootNameTest { +public class JsonRootNameUnitTest { @Test public void whenSerializingUsingJsonRootName_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonserialize/JsonSerializeTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonserialize/JsonSerializeUnitTest.java similarity index 97% rename from jackson/src/test/java/com/baeldung/jackson/serialization/jsonserialize/JsonSerializeTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/jsonserialize/JsonSerializeUnitTest.java index ce1fcd8bea..cca018e78d 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonserialize/JsonSerializeTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonserialize/JsonSerializeUnitTest.java @@ -16,7 +16,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonSerializeTest { +public class JsonSerializeUnitTest { @Test public void whenSerializingUsingJsonSerialize_thenCorrect() throws JsonProcessingException, ParseException { diff --git a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonvalue/JsonValueTest.java b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonvalue/JsonValueUnitTest.java similarity index 95% rename from jackson/src/test/java/com/baeldung/jackson/serialization/jsonvalue/JsonValueTest.java rename to jackson/src/test/java/com/baeldung/jackson/serialization/jsonvalue/JsonValueUnitTest.java index fd508480ee..465daf13f5 100644 --- a/jackson/src/test/java/com/baeldung/jackson/serialization/jsonvalue/JsonValueTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/serialization/jsonvalue/JsonValueUnitTest.java @@ -12,7 +12,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.readlearncode.com * @version 1.0 */ -public class JsonValueTest { +public class JsonValueUnitTest { @Test public void whenSerializingUsingJsonValue_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/streaming/JacksonStreamingAPITest.java b/jackson/src/test/java/com/baeldung/jackson/streaming/JacksonStreamingAPIUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/streaming/JacksonStreamingAPITest.java rename to jackson/src/test/java/com/baeldung/jackson/streaming/JacksonStreamingAPIUnitTest.java index 6f61793315..2f8cf52afb 100644 --- a/jackson/src/test/java/com/baeldung/jackson/streaming/JacksonStreamingAPITest.java +++ b/jackson/src/test/java/com/baeldung/jackson/streaming/JacksonStreamingAPIUnitTest.java @@ -14,7 +14,7 @@ import static junit.framework.Assert.assertNull; import static junit.framework.Assert.assertTrue; import static junit.framework.TestCase.assertEquals; -public class JacksonStreamingAPITest { +public class JacksonStreamingAPIUnitTest { @Test public void givenJsonGenerator_whenAppendJsonToIt_thenGenerateJson() throws IOException { diff --git a/jackson/src/test/java/com/baeldung/jackson/test/JacksonAnnotationTest.java b/jackson/src/test/java/com/baeldung/jackson/test/JacksonAnnotationUnitTest.java similarity index 99% rename from jackson/src/test/java/com/baeldung/jackson/test/JacksonAnnotationTest.java rename to jackson/src/test/java/com/baeldung/jackson/test/JacksonAnnotationUnitTest.java index 9351b929d3..e544ab670a 100644 --- a/jackson/src/test/java/com/baeldung/jackson/test/JacksonAnnotationTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/test/JacksonAnnotationUnitTest.java @@ -47,7 +47,7 @@ import com.fasterxml.jackson.databind.ser.FilterProvider; import com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter; import com.fasterxml.jackson.databind.ser.impl.SimpleFilterProvider; -public class JacksonAnnotationTest { +public class JacksonAnnotationUnitTest { @Test public void whenSerializingUsingJsonAnyGetter_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/test/JacksonBidirectionRelationTest.java b/jackson/src/test/java/com/baeldung/jackson/test/JacksonBidirectionRelationUnitTest.java similarity index 99% rename from jackson/src/test/java/com/baeldung/jackson/test/JacksonBidirectionRelationTest.java rename to jackson/src/test/java/com/baeldung/jackson/test/JacksonBidirectionRelationUnitTest.java index db8507a4b0..523b42a96c 100644 --- a/jackson/src/test/java/com/baeldung/jackson/test/JacksonBidirectionRelationTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/test/JacksonBidirectionRelationUnitTest.java @@ -26,7 +26,7 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper; -public class JacksonBidirectionRelationTest { +public class JacksonBidirectionRelationUnitTest { @Test(expected = JsonMappingException.class) public void givenBidirectionRelation_whenSerializing_thenException() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/test/JacksonDateTest.java b/jackson/src/test/java/com/baeldung/jackson/test/JacksonDateUnitTest.java similarity index 99% rename from jackson/src/test/java/com/baeldung/jackson/test/JacksonDateTest.java rename to jackson/src/test/java/com/baeldung/jackson/test/JacksonDateUnitTest.java index b6472d889e..f713494ac8 100644 --- a/jackson/src/test/java/com/baeldung/jackson/test/JacksonDateTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/test/JacksonDateUnitTest.java @@ -27,7 +27,7 @@ import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.datatype.joda.JodaModule; import com.fasterxml.jackson.datatype.jsr310.JSR310Module; -public class JacksonDateTest { +public class JacksonDateUnitTest { @Test public void whenSerializingDateWithJackson_thenSerializedToNumber() throws JsonProcessingException, ParseException { diff --git a/jackson/src/test/java/com/baeldung/jackson/test/JacksonDynamicIgnoreTest.java b/jackson/src/test/java/com/baeldung/jackson/test/JacksonDynamicIgnoreUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/test/JacksonDynamicIgnoreTest.java rename to jackson/src/test/java/com/baeldung/jackson/test/JacksonDynamicIgnoreUnitTest.java index 16a55f442a..2f0f45828b 100644 --- a/jackson/src/test/java/com/baeldung/jackson/test/JacksonDynamicIgnoreTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/test/JacksonDynamicIgnoreUnitTest.java @@ -21,7 +21,7 @@ import com.fasterxml.jackson.databind.SerializationConfig; import com.fasterxml.jackson.databind.module.SimpleModule; import com.fasterxml.jackson.databind.ser.BeanSerializerModifier; -public class JacksonDynamicIgnoreTest { +public class JacksonDynamicIgnoreUnitTest { private ObjectMapper mapper = new ObjectMapper(); diff --git a/jackson/src/test/java/com/baeldung/jackson/test/JacksonExceptionsTest.java b/jackson/src/test/java/com/baeldung/jackson/test/JacksonExceptionsUnitTest.java similarity index 99% rename from jackson/src/test/java/com/baeldung/jackson/test/JacksonExceptionsTest.java rename to jackson/src/test/java/com/baeldung/jackson/test/JacksonExceptionsUnitTest.java index d9b8d1cc18..4549a752eb 100644 --- a/jackson/src/test/java/com/baeldung/jackson/test/JacksonExceptionsTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/test/JacksonExceptionsUnitTest.java @@ -26,7 +26,7 @@ import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException; -public class JacksonExceptionsTest { +public class JacksonExceptionsUnitTest { // JsonMappingException: Can not construct instance of @Test(expected = JsonMappingException.class) diff --git a/jackson/src/test/java/com/baeldung/jackson/test/JacksonJsonViewTest.java b/jackson/src/test/java/com/baeldung/jackson/test/JacksonJsonViewUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/test/JacksonJsonViewTest.java rename to jackson/src/test/java/com/baeldung/jackson/test/JacksonJsonViewUnitTest.java index 477b0132e2..dd2690876c 100644 --- a/jackson/src/test/java/com/baeldung/jackson/test/JacksonJsonViewTest.java +++ b/jackson/src/test/java/com/baeldung/jackson/test/JacksonJsonViewUnitTest.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ser.BeanSerializerFactory; import com.fasterxml.jackson.databind.ser.SerializerFactory; -public class JacksonJsonViewTest { +public class JacksonJsonViewUnitTest { @Test public void whenUseJsonViewToSerialize_thenCorrect() throws JsonProcessingException { diff --git a/jackson/src/test/java/com/baeldung/jackson/test/UnitTestSuite.java b/jackson/src/test/java/com/baeldung/jackson/test/UnitTestSuite.java index d47b6e217a..6be2f29baa 100644 --- a/jackson/src/test/java/com/baeldung/jackson/test/UnitTestSuite.java +++ b/jackson/src/test/java/com/baeldung/jackson/test/UnitTestSuite.java @@ -1,7 +1,7 @@ package com.baeldung.jackson.test; import com.baeldung.jackson.sandbox.JacksonPrettyPrintUnitTest; -import com.baeldung.jackson.sandbox.SandboxTest; +import com.baeldung.jackson.sandbox.SandboxUnitTest; import org.junit.runner.RunWith; import org.junit.runners.Suite; @@ -14,7 +14,7 @@ import org.junit.runners.Suite; ,JacksonPrettyPrintUnitTest.class ,JacksonSerializationIgnoreUnitTest.class ,JacksonSerializationUnitTest.class - ,SandboxTest.class + ,SandboxUnitTest.class ,JacksonFieldUnitTest.class }) // @formatter:on public class UnitTestSuite { diff --git a/jackson/src/test/java/com/baeldung/jackson/xml/TestXMLSerializeDeserialize.java b/jackson/src/test/java/com/baeldung/jackson/xml/XMLSerializeDeserializeUnitTest.java similarity index 98% rename from jackson/src/test/java/com/baeldung/jackson/xml/TestXMLSerializeDeserialize.java rename to jackson/src/test/java/com/baeldung/jackson/xml/XMLSerializeDeserializeUnitTest.java index 92d0bd13d4..b5e3449c68 100644 --- a/jackson/src/test/java/com/baeldung/jackson/xml/TestXMLSerializeDeserialize.java +++ b/jackson/src/test/java/com/baeldung/jackson/xml/XMLSerializeDeserializeUnitTest.java @@ -15,7 +15,7 @@ import org.junit.Test; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.dataformat.xml.XmlMapper; -public class TestXMLSerializeDeserialize { +public class XMLSerializeDeserializeUnitTest { @Test public void whenJavaSerializedToXmlStr_thenCorrect() throws JsonProcessingException { diff --git a/javaslang/src/test/java/com/baeldung/javaslang/JavaSlangTest.java b/javaslang/src/test/java/com/baeldung/javaslang/JavaSlangUnitTest.java similarity index 99% rename from javaslang/src/test/java/com/baeldung/javaslang/JavaSlangTest.java rename to javaslang/src/test/java/com/baeldung/javaslang/JavaSlangUnitTest.java index ecba894723..c33f8aea1a 100644 --- a/javaslang/src/test/java/com/baeldung/javaslang/JavaSlangTest.java +++ b/javaslang/src/test/java/com/baeldung/javaslang/JavaSlangUnitTest.java @@ -29,7 +29,7 @@ import javaslang.control.Option; import javaslang.control.Try; import javaslang.control.Validation; -public class JavaSlangTest { +public class JavaSlangUnitTest { @Test public void givenList_whenSorts_thenCorrect() { List sortedList = List.of(3, 2, 1).sorted(); diff --git a/javaslang/src/test/java/com/baeldung/javaslang/PatternMatchingTest.java b/javaslang/src/test/java/com/baeldung/javaslang/PatternMatchingUnitTest.java similarity index 98% rename from javaslang/src/test/java/com/baeldung/javaslang/PatternMatchingTest.java rename to javaslang/src/test/java/com/baeldung/javaslang/PatternMatchingUnitTest.java index 7ae7683a58..b9317bcb16 100644 --- a/javaslang/src/test/java/com/baeldung/javaslang/PatternMatchingTest.java +++ b/javaslang/src/test/java/com/baeldung/javaslang/PatternMatchingUnitTest.java @@ -15,7 +15,7 @@ import org.junit.Test; import javaslang.MatchError; import javaslang.control.Option; -public class PatternMatchingTest { +public class PatternMatchingUnitTest { @Test public void whenMatchesDefault_thenCorrect() { int input = 5; diff --git a/javaslang/src/test/java/com/baeldung/javaslang/exception/handling/JavaslangTryTest.java b/javaslang/src/test/java/com/baeldung/javaslang/exception/handling/JavaslangTryUnitTest.java similarity index 99% rename from javaslang/src/test/java/com/baeldung/javaslang/exception/handling/JavaslangTryTest.java rename to javaslang/src/test/java/com/baeldung/javaslang/exception/handling/JavaslangTryUnitTest.java index ddf697444e..e4ff91ea9e 100644 --- a/javaslang/src/test/java/com/baeldung/javaslang/exception/handling/JavaslangTryTest.java +++ b/javaslang/src/test/java/com/baeldung/javaslang/exception/handling/JavaslangTryUnitTest.java @@ -16,7 +16,7 @@ import static javaslang.API.Match; import static javaslang.Predicates.instanceOf; import static org.junit.Assert.*; -public class JavaslangTryTest { +public class JavaslangTryUnitTest { @Test public void givenHttpClient_whenMakeACall_shouldReturnSuccess() { diff --git a/javaxval/src/test/java/org/baeldung/ValidationTest.java b/javaxval/src/test/java/org/baeldung/ValidationIntegrationTest.java similarity index 98% rename from javaxval/src/test/java/org/baeldung/ValidationTest.java rename to javaxval/src/test/java/org/baeldung/ValidationIntegrationTest.java index 727630e703..63c08f64d8 100644 --- a/javaxval/src/test/java/org/baeldung/ValidationTest.java +++ b/javaxval/src/test/java/org/baeldung/ValidationIntegrationTest.java @@ -11,7 +11,7 @@ import javax.validation.ValidatorFactory; import org.junit.Assert; import org.junit.Test; -public class ValidationTest { +public class ValidationIntegrationTest { @Test public void ifNameIsNull_nameValidationFails() { diff --git a/jaxb/src/test/java/com/baeldung/jaxb/test/JaxbTest.java b/jaxb/src/test/java/com/baeldung/jaxb/test/JaxbIntegrationTest.java similarity index 98% rename from jaxb/src/test/java/com/baeldung/jaxb/test/JaxbTest.java rename to jaxb/src/test/java/com/baeldung/jaxb/test/JaxbIntegrationTest.java index 7721490de8..b2dde85c0f 100644 --- a/jaxb/src/test/java/com/baeldung/jaxb/test/JaxbTest.java +++ b/jaxb/src/test/java/com/baeldung/jaxb/test/JaxbIntegrationTest.java @@ -21,7 +21,7 @@ import org.junit.runners.MethodSorters; import com.baeldung.jaxb.Book; @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class JaxbTest { +public class JaxbIntegrationTest { private Book book; private JAXBContext context; diff --git a/jee7/src/test/java/com/baeldung/convListVal/ConvListValTest.java b/jee7/src/test/java/com/baeldung/convListVal/ConvListValIntegrationTest.java similarity index 98% rename from jee7/src/test/java/com/baeldung/convListVal/ConvListValTest.java rename to jee7/src/test/java/com/baeldung/convListVal/ConvListValIntegrationTest.java index 4450a26f43..caeba95e45 100644 --- a/jee7/src/test/java/com/baeldung/convListVal/ConvListValTest.java +++ b/jee7/src/test/java/com/baeldung/convListVal/ConvListValIntegrationTest.java @@ -22,7 +22,7 @@ import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; @RunWith(Arquillian.class) -public class ConvListValTest { +public class ConvListValIntegrationTest { @ArquillianResource private URL deploymentUrl; diff --git a/jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntTest.java b/jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntegrationTest.java similarity index 99% rename from jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntTest.java rename to jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntegrationTest.java index b18e5950d3..446df399da 100644 --- a/jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntTest.java +++ b/jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntegrationTest.java @@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = CarappApp.class) -public class CarResourceIntTest { +public class CarResourceIntegrationTest { private static final String DEFAULT_MAKE = "AAAAAAAAAA"; private static final String UPDATED_MAKE = "BBBBBBBBBB"; diff --git a/jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntTest.java b/jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntegrationTest.java similarity index 99% rename from jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntTest.java rename to jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntegrationTest.java index 7778a2783e..38197c418c 100644 --- a/jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntTest.java +++ b/jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntegrationTest.java @@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = DealerappApp.class) -public class DealerResourceIntTest { +public class DealerResourceIntegrationTest { private static final String DEFAULT_NAME = "AAAAAAAAAA"; private static final String UPDATED_NAME = "BBBBBBBBBB"; diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterTest.java b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterIntegrationTest.java similarity index 97% rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterTest.java rename to jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterIntegrationTest.java index d857f9a75d..fdbef8e8a1 100644 --- a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterTest.java +++ b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterIntegrationTest.java @@ -15,7 +15,7 @@ import static springfox.documentation.swagger2.web.Swagger2Controller.DEFAULT_UR /** * Tests SwaggerBasePathRewritingFilter class. */ -public class SwaggerBasePathRewritingFilterTest { +public class SwaggerBasePathRewritingFilterIntegrationTest { private SwaggerBasePathRewritingFilter filter = new SwaggerBasePathRewritingFilter(); diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderTest.java b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderIntegrationTest.java similarity index 98% rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderTest.java rename to jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderIntegrationTest.java index 81d9103721..04365b8143 100644 --- a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderTest.java +++ b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderIntegrationTest.java @@ -19,7 +19,7 @@ import java.util.Date; import static org.assertj.core.api.Assertions.assertThat; -public class TokenProviderTest { +public class TokenProviderIntegrationTest { private final String secretKey = "e5c9ee274ae87bc031adda32e27fa98b9290da83"; private final long ONE_MINUTE = 60000; diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntTest.java b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntIntegrationTest.java similarity index 99% rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntTest.java rename to jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntIntegrationTest.java index dff1c70056..202ae8f3e1 100644 --- a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntTest.java +++ b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntIntegrationTest.java @@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.*; @RunWith(SpringRunner.class) @SpringBootTest(classes = GatewayApp.class) @Transactional -public class UserServiceIntTest { +public class UserServiceIntegrationTest { @Autowired private UserRepository userRepository; diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntTest.java b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntegrationTest.java similarity index 99% rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntTest.java rename to jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntegrationTest.java index 62d02bff13..607c69ebd1 100644 --- a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntTest.java +++ b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntegrationTest.java @@ -40,7 +40,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = GatewayApp.class) -public class AccountResourceIntTest { +public class AccountResourceIntegrationTest { @Autowired private UserRepository userRepository; diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntTest.java b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntegrationTest.java similarity index 99% rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntTest.java rename to jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntegrationTest.java index d73eea2928..7a635a3dc1 100644 --- a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntTest.java +++ b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntegrationTest.java @@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @RunWith(SpringRunner.class) @SpringBootTest(classes = GatewayApp.class) @Transactional -public class AuditResourceIntTest { +public class AuditResourceIntegrationTest { private static final String SAMPLE_PRINCIPAL = "SAMPLE_PRINCIPAL"; private static final String SAMPLE_TYPE = "SAMPLE_TYPE"; diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntTest.java b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntegrationTest.java similarity index 97% rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntTest.java rename to jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntegrationTest.java index 6c9dc38525..3b4511b534 100644 --- a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntTest.java +++ b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntegrationTest.java @@ -24,7 +24,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = GatewayApp.class) -public class LogsResourceIntTest { +public class LogsResourceIntegrationTest { private MockMvc restLogsMockMvc; diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntTest.java b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntIntegrationTest.java similarity index 99% rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntTest.java rename to jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntIntegrationTest.java index b27b71a2c9..5070d4881c 100644 --- a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntTest.java +++ b/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntIntegrationTest.java @@ -39,7 +39,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = GatewayApp.class) -public class UserResourceIntTest { +public class UserResourceIntegrationTest { private static final String DEFAULT_LOGIN = "johndoe"; private static final String UPDATED_LOGIN = "jhipster"; diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderTest.java b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderIntegrationTest.java similarity index 98% rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderTest.java rename to jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderIntegrationTest.java index 3fec4bfb88..8e111f0acd 100644 --- a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderTest.java +++ b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderIntegrationTest.java @@ -19,7 +19,7 @@ import java.util.Date; import static org.assertj.core.api.Assertions.assertThat; -public class TokenProviderTest { +public class TokenProviderIntegrationTest { private final String secretKey = "e5c9ee274ae87bc031adda32e27fa98b9290da83"; private final long ONE_MINUTE = 60000; diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/service/UserServiceIntTest.java b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/service/UserServiceIntIntegrationTest.java similarity index 99% rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/service/UserServiceIntTest.java rename to jhipster/jhipster-monolithic/src/test/java/com/baeldung/service/UserServiceIntIntegrationTest.java index 968f0a7f08..8b4825453e 100644 --- a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/service/UserServiceIntTest.java +++ b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/service/UserServiceIntIntegrationTest.java @@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.*; @RunWith(SpringRunner.class) @SpringBootTest(classes = BaeldungApp.class) @Transactional -public class UserServiceIntTest { +public class UserServiceIntegrationTest { @Autowired private UserRepository userRepository; diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntTest.java b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntegrationTest.java similarity index 99% rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntTest.java rename to jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntegrationTest.java index e42ce1c6d4..9644ae488c 100644 --- a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntTest.java +++ b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntegrationTest.java @@ -40,7 +40,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = BaeldungApp.class) -public class AccountResourceIntTest { +public class AccountResourceIntegrationTest { @Autowired private UserRepository userRepository; diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntTest.java b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntegrationTest.java similarity index 99% rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntTest.java rename to jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntegrationTest.java index 127cb36f07..def6bb2e48 100644 --- a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntTest.java +++ b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntegrationTest.java @@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @RunWith(SpringRunner.class) @SpringBootTest(classes = BaeldungApp.class) @Transactional -public class AuditResourceIntTest { +public class AuditResourceIntegrationTest { private static final String SAMPLE_PRINCIPAL = "SAMPLE_PRINCIPAL"; private static final String SAMPLE_TYPE = "SAMPLE_TYPE"; diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntTest.java b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntegrationTest.java similarity index 99% rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntTest.java rename to jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntegrationTest.java index 04b16b25f8..4f544d9eeb 100644 --- a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntTest.java +++ b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntegrationTest.java @@ -38,7 +38,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = BaeldungApp.class) -public class CommentResourceIntTest { +public class CommentResourceIntegrationTest { private static final String DEFAULT_TEXT = "AAAAAAAAAA"; private static final String UPDATED_TEXT = "BBBBBBBBBB"; diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntTest.java b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntegrationTest.java similarity index 97% rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntTest.java rename to jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntegrationTest.java index 92bb976205..2f852f9fd8 100644 --- a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntTest.java +++ b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntegrationTest.java @@ -24,7 +24,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = BaeldungApp.class) -public class LogsResourceIntTest { +public class LogsResourceIntegrationTest { private MockMvc restLogsMockMvc; diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntTest.java b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntegrationTest.java similarity index 99% rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntTest.java rename to jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntegrationTest.java index 2a23452711..a9a4bc74b9 100644 --- a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntTest.java +++ b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntegrationTest.java @@ -38,7 +38,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = BaeldungApp.class) -public class PostResourceIntTest { +public class PostResourceIntegrationTest { private static final String DEFAULT_TITLE = "AAAAAAAAAA"; private static final String UPDATED_TITLE = "BBBBBBBBBB"; diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntTest.java b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntIntegrationTest.java similarity index 99% rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntTest.java rename to jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntIntegrationTest.java index 74df23283a..2c578ff54b 100644 --- a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntTest.java +++ b/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntIntegrationTest.java @@ -39,7 +39,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = BaeldungApp.class) -public class UserResourceIntTest { +public class UserResourceIntegrationTest { private static final String DEFAULT_LOGIN = "johndoe"; private static final String UPDATED_LOGIN = "jhipster"; diff --git a/jooq/src/test/java/com/baeldung/JOOLTest.java b/jooq/src/test/java/com/baeldung/JOOLUnitTest.java similarity index 99% rename from jooq/src/test/java/com/baeldung/JOOLTest.java rename to jooq/src/test/java/com/baeldung/JOOLUnitTest.java index a0d5f4037f..17873db50a 100644 --- a/jooq/src/test/java/com/baeldung/JOOLTest.java +++ b/jooq/src/test/java/com/baeldung/JOOLUnitTest.java @@ -20,7 +20,7 @@ import static junit.framework.Assert.assertTrue; import static junit.framework.TestCase.assertEquals; import static org.jooq.lambda.tuple.Tuple.tuple; -public class JOOLTest { +public class JOOLUnitTest { @Test public void givenSeq_whenCheckContains_shouldReturnTrue() { List concat = Seq.of(1, 2, 3).concat(Seq.of(4, 5, 6)).toList(); diff --git a/json-path/src/test/java/com/baeldung/jsonpath/introduction/OperationTest.java b/json-path/src/test/java/com/baeldung/jsonpath/introduction/OperationIntegrationTest.java similarity index 98% rename from json-path/src/test/java/com/baeldung/jsonpath/introduction/OperationTest.java rename to json-path/src/test/java/com/baeldung/jsonpath/introduction/OperationIntegrationTest.java index d90fafb7cb..cb5c695cd8 100644 --- a/json-path/src/test/java/com/baeldung/jsonpath/introduction/OperationTest.java +++ b/json-path/src/test/java/com/baeldung/jsonpath/introduction/OperationIntegrationTest.java @@ -18,7 +18,7 @@ import com.jayway.jsonpath.Filter; import com.jayway.jsonpath.JsonPath; import com.jayway.jsonpath.Predicate; -public class OperationTest { +public class OperationIntegrationTest { InputStream jsonInputStream = this.getClass().getClassLoader().getResourceAsStream("intro_api.json"); String jsonDataSourceString = new Scanner(jsonInputStream, "UTF-8").useDelimiter("\\Z").next(); diff --git a/json/src/test/java/com/baeldung/json/schema/JSONSchemaTest.java b/json/src/test/java/com/baeldung/json/schema/JSONSchemaUnitTest.java similarity index 74% rename from json/src/test/java/com/baeldung/json/schema/JSONSchemaTest.java rename to json/src/test/java/com/baeldung/json/schema/JSONSchemaUnitTest.java index bd4aaee682..393e052b95 100644 --- a/json/src/test/java/com/baeldung/json/schema/JSONSchemaTest.java +++ b/json/src/test/java/com/baeldung/json/schema/JSONSchemaUnitTest.java @@ -8,13 +8,13 @@ import org.json.JSONObject; import org.json.JSONTokener; import org.junit.Test; -public class JSONSchemaTest { +public class JSONSchemaUnitTest { @Test(expected = ValidationException.class) public void givenInvalidInput_whenValidating_thenInvalid() { - JSONObject jsonSchema = new JSONObject(new JSONTokener(JSONSchemaTest.class.getResourceAsStream("/schema.json"))); - JSONObject jsonSubject = new JSONObject(new JSONTokener(JSONSchemaTest.class.getResourceAsStream("/product_invalid.json"))); + JSONObject jsonSchema = new JSONObject(new JSONTokener(JSONSchemaUnitTest.class.getResourceAsStream("/schema.json"))); + JSONObject jsonSubject = new JSONObject(new JSONTokener(JSONSchemaUnitTest.class.getResourceAsStream("/product_invalid.json"))); Schema schema = SchemaLoader.load(jsonSchema); schema.validate(jsonSubject); @@ -23,8 +23,8 @@ public class JSONSchemaTest { @Test public void givenValidInput_whenValidating_thenValid() { - JSONObject jsonSchema = new JSONObject(new JSONTokener(JSONSchemaTest.class.getResourceAsStream("/schema.json"))); - JSONObject jsonSubject = new JSONObject(new JSONTokener(JSONSchemaTest.class.getResourceAsStream("/product_valid.json"))); + JSONObject jsonSchema = new JSONObject(new JSONTokener(JSONSchemaUnitTest.class.getResourceAsStream("/schema.json"))); + JSONObject jsonSubject = new JSONObject(new JSONTokener(JSONSchemaUnitTest.class.getResourceAsStream("/product_valid.json"))); Schema schema = SchemaLoader.load(jsonSchema); schema.validate(jsonSubject); diff --git a/json/src/test/java/fast_json/FastJsonTests.java b/json/src/test/java/fast_json/FastJsonUnitTest.java similarity index 99% rename from json/src/test/java/fast_json/FastJsonTests.java rename to json/src/test/java/fast_json/FastJsonUnitTest.java index 7b7e3c0434..e37f443387 100644 --- a/json/src/test/java/fast_json/FastJsonTests.java +++ b/json/src/test/java/fast_json/FastJsonUnitTest.java @@ -17,7 +17,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; -public class FastJsonTests { +public class FastJsonUnitTest { private List listOfPersons; @Before diff --git a/junit5/src/test/java/com/baeldung/AssertionTest.java b/junit5/src/test/java/com/baeldung/AssertionUnitTest.java similarity index 93% rename from junit5/src/test/java/com/baeldung/AssertionTest.java rename to junit5/src/test/java/com/baeldung/AssertionUnitTest.java index 1bb543556b..504931b3d7 100644 --- a/junit5/src/test/java/com/baeldung/AssertionTest.java +++ b/junit5/src/test/java/com/baeldung/AssertionUnitTest.java @@ -4,7 +4,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; -public class AssertionTest { +public class AssertionUnitTest { @Test public void testConvertToDoubleThrowException() { diff --git a/junit5/src/test/java/com/baeldung/AssumptionTest.java b/junit5/src/test/java/com/baeldung/AssumptionUnitTest.java similarity index 95% rename from junit5/src/test/java/com/baeldung/AssumptionTest.java rename to junit5/src/test/java/com/baeldung/AssumptionUnitTest.java index f6f288e8a7..afeee642eb 100644 --- a/junit5/src/test/java/com/baeldung/AssumptionTest.java +++ b/junit5/src/test/java/com/baeldung/AssumptionUnitTest.java @@ -7,7 +7,7 @@ import static org.junit.jupiter.api.Assumptions.assumingThat; import org.junit.jupiter.api.Test; -public class AssumptionTest { +public class AssumptionUnitTest { @Test void trueAssumption() { diff --git a/junit5/src/test/java/com/baeldung/ExceptionTest.java b/junit5/src/test/java/com/baeldung/ExceptionUnitTest.java similarity index 94% rename from junit5/src/test/java/com/baeldung/ExceptionTest.java rename to junit5/src/test/java/com/baeldung/ExceptionUnitTest.java index f4567c6c15..6ec1a4b7bd 100644 --- a/junit5/src/test/java/com/baeldung/ExceptionTest.java +++ b/junit5/src/test/java/com/baeldung/ExceptionUnitTest.java @@ -5,7 +5,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; -public class ExceptionTest { +public class ExceptionUnitTest { @Test void shouldThrowException() { diff --git a/junit5/src/test/java/com/baeldung/FirstTest.java b/junit5/src/test/java/com/baeldung/FirstUnitTest.java similarity index 97% rename from junit5/src/test/java/com/baeldung/FirstTest.java rename to junit5/src/test/java/com/baeldung/FirstUnitTest.java index 817d8b36de..78c563cf82 100644 --- a/junit5/src/test/java/com/baeldung/FirstTest.java +++ b/junit5/src/test/java/com/baeldung/FirstUnitTest.java @@ -8,7 +8,7 @@ import java.util.List; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -class FirstTest { +class FirstUnitTest { @Test void lambdaExpressions() { diff --git a/junit5/src/test/java/com/baeldung/JUnit5NewFeaturesTest.java b/junit5/src/test/java/com/baeldung/JUnit5NewFeaturesUnitTest.java similarity index 93% rename from junit5/src/test/java/com/baeldung/JUnit5NewFeaturesTest.java rename to junit5/src/test/java/com/baeldung/JUnit5NewFeaturesUnitTest.java index 6c790a7c8e..a4dfd610a1 100644 --- a/junit5/src/test/java/com/baeldung/JUnit5NewFeaturesTest.java +++ b/junit5/src/test/java/com/baeldung/JUnit5NewFeaturesUnitTest.java @@ -11,9 +11,9 @@ import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; //@RunWith(JUnitPlatform.class) -public class JUnit5NewFeaturesTest { +public class JUnit5NewFeaturesUnitTest { - private static final Logger log = Logger.getLogger(JUnit5NewFeaturesTest.class.getName()); + private static final Logger log = Logger.getLogger(JUnit5NewFeaturesUnitTest.class.getName()); @BeforeAll static void setup() { diff --git a/junit5/src/test/java/com/baeldung/NestedTest.java b/junit5/src/test/java/com/baeldung/NestedUnitTest.java similarity index 98% rename from junit5/src/test/java/com/baeldung/NestedTest.java rename to junit5/src/test/java/com/baeldung/NestedUnitTest.java index 963d75c5b7..7586a2f51a 100644 --- a/junit5/src/test/java/com/baeldung/NestedTest.java +++ b/junit5/src/test/java/com/baeldung/NestedUnitTest.java @@ -9,7 +9,7 @@ import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; -public class NestedTest { +public class NestedUnitTest { Stack stack; boolean isRun = false; diff --git a/junit5/src/test/java/com/baeldung/TaggedTest.java b/junit5/src/test/java/com/baeldung/TaggedUnitTest.java similarity index 89% rename from junit5/src/test/java/com/baeldung/TaggedTest.java rename to junit5/src/test/java/com/baeldung/TaggedUnitTest.java index fa3a500240..8deeeb8abd 100644 --- a/junit5/src/test/java/com/baeldung/TaggedTest.java +++ b/junit5/src/test/java/com/baeldung/TaggedUnitTest.java @@ -6,7 +6,7 @@ import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("Test case") -public class TaggedTest { +public class TaggedUnitTest { @Test @Tag("Method") diff --git a/kotlin/src/test/java/com/baeldung/kotlin/JavaCallToKotlinTest.java b/kotlin/src/test/java/com/baeldung/kotlin/JavaCallToKotlinUnitTest.java similarity index 88% rename from kotlin/src/test/java/com/baeldung/kotlin/JavaCallToKotlinTest.java rename to kotlin/src/test/java/com/baeldung/kotlin/JavaCallToKotlinUnitTest.java index cfad7cefd4..370f24785a 100644 --- a/kotlin/src/test/java/com/baeldung/kotlin/JavaCallToKotlinTest.java +++ b/kotlin/src/test/java/com/baeldung/kotlin/JavaCallToKotlinUnitTest.java @@ -4,7 +4,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; -public class JavaCallToKotlinTest { +public class JavaCallToKotlinUnitTest { @Test public void givenKotlinClass_whenCallFromJava_shouldProduceResults() { //when diff --git a/libraries/src/test/java/com/baeldung/cglib/proxy/BeanGeneratorTest.java b/libraries/src/test/java/com/baeldung/cglib/proxy/BeanGeneratorIntegrationTest.java similarity index 95% rename from libraries/src/test/java/com/baeldung/cglib/proxy/BeanGeneratorTest.java rename to libraries/src/test/java/com/baeldung/cglib/proxy/BeanGeneratorIntegrationTest.java index 1e49536065..033cc47c74 100644 --- a/libraries/src/test/java/com/baeldung/cglib/proxy/BeanGeneratorTest.java +++ b/libraries/src/test/java/com/baeldung/cglib/proxy/BeanGeneratorIntegrationTest.java @@ -8,7 +8,7 @@ import java.lang.reflect.Method; import static junit.framework.TestCase.assertEquals; -public class BeanGeneratorTest { +public class BeanGeneratorIntegrationTest { @Test public void givenBeanCreator_whenAddProperty_thenClassShouldHaveFieldValue() throws Exception { diff --git a/libraries/src/test/java/com/baeldung/cglib/proxy/MixinTest.java b/libraries/src/test/java/com/baeldung/cglib/proxy/MixinUnitTest.java similarity index 96% rename from libraries/src/test/java/com/baeldung/cglib/proxy/MixinTest.java rename to libraries/src/test/java/com/baeldung/cglib/proxy/MixinUnitTest.java index db8453e6c1..a89d9fe2c3 100644 --- a/libraries/src/test/java/com/baeldung/cglib/proxy/MixinTest.java +++ b/libraries/src/test/java/com/baeldung/cglib/proxy/MixinUnitTest.java @@ -6,7 +6,7 @@ import org.junit.Test; import static junit.framework.TestCase.assertEquals; -public class MixinTest { +public class MixinUnitTest { @Test public void givenTwoClasses_whenMixedIntoOne_thenMixinShouldHaveMethodsFromBothClasses() throws Exception { diff --git a/libraries/src/test/java/com/baeldung/commons/lang3/ArrayUtilsTest.java b/libraries/src/test/java/com/baeldung/commons/lang3/ArrayUtilsUnitTest.java similarity index 99% rename from libraries/src/test/java/com/baeldung/commons/lang3/ArrayUtilsTest.java rename to libraries/src/test/java/com/baeldung/commons/lang3/ArrayUtilsUnitTest.java index b579458730..39f9907316 100644 --- a/libraries/src/test/java/com/baeldung/commons/lang3/ArrayUtilsTest.java +++ b/libraries/src/test/java/com/baeldung/commons/lang3/ArrayUtilsUnitTest.java @@ -5,7 +5,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertArrayEquals; -public class ArrayUtilsTest { +public class ArrayUtilsUnitTest { @Test public void givenArray_whenAddingElementAtSpecifiedPosition_thenCorrect() { int[] oldArray = { 2, 3, 4, 5 }; diff --git a/libraries/src/test/java/com/baeldung/commons/lang3/StringUtilsTest.java b/libraries/src/test/java/com/baeldung/commons/lang3/StringUtilsUnitTest.java similarity index 99% rename from libraries/src/test/java/com/baeldung/commons/lang3/StringUtilsTest.java rename to libraries/src/test/java/com/baeldung/commons/lang3/StringUtilsUnitTest.java index a17a8ea60d..15620455aa 100644 --- a/libraries/src/test/java/com/baeldung/commons/lang3/StringUtilsTest.java +++ b/libraries/src/test/java/com/baeldung/commons/lang3/StringUtilsUnitTest.java @@ -6,7 +6,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; -public class StringUtilsTest { +public class StringUtilsUnitTest { @Test public void givenString_whenCheckingContainsAny_thenCorrect() { String string = "baeldung.com"; diff --git a/libraries/src/test/java/com/baeldung/commons/math/ComplexTests.java b/libraries/src/test/java/com/baeldung/commons/math/ComplexUnitTest.java similarity index 94% rename from libraries/src/test/java/com/baeldung/commons/math/ComplexTests.java rename to libraries/src/test/java/com/baeldung/commons/math/ComplexUnitTest.java index 2e5074453e..b10086eabe 100644 --- a/libraries/src/test/java/com/baeldung/commons/math/ComplexTests.java +++ b/libraries/src/test/java/com/baeldung/commons/math/ComplexUnitTest.java @@ -4,7 +4,7 @@ import org.apache.commons.math3.complex.Complex; import org.junit.Assert; import org.junit.Test; -public class ComplexTests { +public class ComplexUnitTest { @Test public void whenComplexPow_thenCorrect() { diff --git a/libraries/src/test/java/com/baeldung/commons/math/FractionTests.java b/libraries/src/test/java/com/baeldung/commons/math/FractionUnitTest.java similarity index 93% rename from libraries/src/test/java/com/baeldung/commons/math/FractionTests.java rename to libraries/src/test/java/com/baeldung/commons/math/FractionUnitTest.java index 6828c8490c..cb433abdb0 100644 --- a/libraries/src/test/java/com/baeldung/commons/math/FractionTests.java +++ b/libraries/src/test/java/com/baeldung/commons/math/FractionUnitTest.java @@ -4,7 +4,7 @@ import org.apache.commons.math3.fraction.Fraction; import org.junit.Assert; import org.junit.Test; -public class FractionTests { +public class FractionUnitTest { @Test public void whenFractionAdd_thenCorrect() { diff --git a/libraries/src/test/java/com/baeldung/commons/math/GeometryTests.java b/libraries/src/test/java/com/baeldung/commons/math/GeometryUnitTest.java similarity index 94% rename from libraries/src/test/java/com/baeldung/commons/math/GeometryTests.java rename to libraries/src/test/java/com/baeldung/commons/math/GeometryUnitTest.java index 17cbb607d6..58fc75aa3e 100644 --- a/libraries/src/test/java/com/baeldung/commons/math/GeometryTests.java +++ b/libraries/src/test/java/com/baeldung/commons/math/GeometryUnitTest.java @@ -5,7 +5,7 @@ import org.apache.commons.math3.geometry.euclidean.twod.Vector2D; import org.junit.Assert; import org.junit.Test; -public class GeometryTests { +public class GeometryUnitTest { @Test public void whenLineIntersection_thenCorrect() { diff --git a/libraries/src/test/java/com/baeldung/commons/math/IntegrationTests.java b/libraries/src/test/java/com/baeldung/commons/math/IntegrationTest.java similarity index 95% rename from libraries/src/test/java/com/baeldung/commons/math/IntegrationTests.java rename to libraries/src/test/java/com/baeldung/commons/math/IntegrationTest.java index 62ae898fa8..65c1a0db8e 100644 --- a/libraries/src/test/java/com/baeldung/commons/math/IntegrationTests.java +++ b/libraries/src/test/java/com/baeldung/commons/math/IntegrationTest.java @@ -6,7 +6,7 @@ import org.apache.commons.math3.analysis.integration.UnivariateIntegrator; import org.junit.Assert; import org.junit.Test; -public class IntegrationTests { +public class IntegrationTest { @Test public void whenUnivariateIntegratorIntegrate_thenCorrect() { diff --git a/libraries/src/test/java/com/baeldung/commons/math/LinearAlgebraTests.java b/libraries/src/test/java/com/baeldung/commons/math/LinearAlgebraUnitTest.java similarity index 95% rename from libraries/src/test/java/com/baeldung/commons/math/LinearAlgebraTests.java rename to libraries/src/test/java/com/baeldung/commons/math/LinearAlgebraUnitTest.java index 981f839280..278f54a67f 100644 --- a/libraries/src/test/java/com/baeldung/commons/math/LinearAlgebraTests.java +++ b/libraries/src/test/java/com/baeldung/commons/math/LinearAlgebraUnitTest.java @@ -4,7 +4,7 @@ import org.apache.commons.math3.linear.*; import org.junit.Assert; import org.junit.Test; -public class LinearAlgebraTests { +public class LinearAlgebraUnitTest { @Test public void whenDecompositionSolverSolve_thenCorrect() { diff --git a/libraries/src/test/java/com/baeldung/commons/math/ProbabilitiesTests.java b/libraries/src/test/java/com/baeldung/commons/math/ProbabilitiesUnitTest.java similarity index 90% rename from libraries/src/test/java/com/baeldung/commons/math/ProbabilitiesTests.java rename to libraries/src/test/java/com/baeldung/commons/math/ProbabilitiesUnitTest.java index 41ccb16c5a..f31bc424c6 100644 --- a/libraries/src/test/java/com/baeldung/commons/math/ProbabilitiesTests.java +++ b/libraries/src/test/java/com/baeldung/commons/math/ProbabilitiesUnitTest.java @@ -3,7 +3,7 @@ package com.baeldung.commons.math; import org.apache.commons.math3.distribution.NormalDistribution; import org.junit.Test; -public class ProbabilitiesTests { +public class ProbabilitiesUnitTest { @Test public void whenNormalDistributionSample_thenSuccess() { diff --git a/libraries/src/test/java/com/baeldung/commons/math/StatisticsTests.java b/libraries/src/test/java/com/baeldung/commons/math/StatisticsUnitTest.java similarity index 96% rename from libraries/src/test/java/com/baeldung/commons/math/StatisticsTests.java rename to libraries/src/test/java/com/baeldung/commons/math/StatisticsUnitTest.java index c1b0619b11..025880fc12 100644 --- a/libraries/src/test/java/com/baeldung/commons/math/StatisticsTests.java +++ b/libraries/src/test/java/com/baeldung/commons/math/StatisticsUnitTest.java @@ -5,7 +5,7 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Test; -public class StatisticsTests { +public class StatisticsUnitTest { private double[] values; private DescriptiveStatistics descriptiveStatistics; diff --git a/libraries/src/test/java/com/baeldung/jasypt/JasyptTest.java b/libraries/src/test/java/com/baeldung/jasypt/JasyptUnitTest.java similarity index 99% rename from libraries/src/test/java/com/baeldung/jasypt/JasyptTest.java rename to libraries/src/test/java/com/baeldung/jasypt/JasyptUnitTest.java index fbfa7f823d..39d54085e2 100644 --- a/libraries/src/test/java/com/baeldung/jasypt/JasyptTest.java +++ b/libraries/src/test/java/com/baeldung/jasypt/JasyptUnitTest.java @@ -11,7 +11,7 @@ import org.junit.Test; import static junit.framework.Assert.*; import static junit.framework.TestCase.assertEquals; -public class JasyptTest { +public class JasyptUnitTest { @Test public void givenTextPrivateData_whenDecrypt_thenCompareToEncrypted() { diff --git a/libraries/src/test/java/com/baeldung/javassist/JavasisstTest.java b/libraries/src/test/java/com/baeldung/javassist/JavasisstUnitTest.java similarity index 99% rename from libraries/src/test/java/com/baeldung/javassist/JavasisstTest.java rename to libraries/src/test/java/com/baeldung/javassist/JavasisstUnitTest.java index da5ae02c56..dd1d1dbcf3 100644 --- a/libraries/src/test/java/com/baeldung/javassist/JavasisstTest.java +++ b/libraries/src/test/java/com/baeldung/javassist/JavasisstUnitTest.java @@ -22,7 +22,7 @@ import java.util.stream.Stream; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -public class JavasisstTest { +public class JavasisstUnitTest { @Test public void givenJavasisstAPI_whenConstructClass_thenGenerateAClassFile() throws CannotCompileException, IOException, ClassNotFoundException, IllegalAccessException, InstantiationException { //given diff --git a/libraries/src/test/java/com/baeldung/javatuples/JavaTuplesTest.java b/libraries/src/test/java/com/baeldung/javatuples/JavaTuplesUnitTest.java similarity index 99% rename from libraries/src/test/java/com/baeldung/javatuples/JavaTuplesTest.java rename to libraries/src/test/java/com/baeldung/javatuples/JavaTuplesUnitTest.java index af4308e188..c99b4d28a2 100644 --- a/libraries/src/test/java/com/baeldung/javatuples/JavaTuplesTest.java +++ b/libraries/src/test/java/com/baeldung/javatuples/JavaTuplesUnitTest.java @@ -13,7 +13,7 @@ import org.javatuples.Triplet; import org.javatuples.Unit; import org.junit.Test; -public class JavaTuplesTest { +public class JavaTuplesUnitTest { @SuppressWarnings("unused") @Test diff --git a/libraries/src/test/java/com/baeldung/javers/JaversTest.java b/libraries/src/test/java/com/baeldung/javers/JaversUnitTest.java similarity index 99% rename from libraries/src/test/java/com/baeldung/javers/JaversTest.java rename to libraries/src/test/java/com/baeldung/javers/JaversUnitTest.java index e8e3e62e08..f261174062 100644 --- a/libraries/src/test/java/com/baeldung/javers/JaversTest.java +++ b/libraries/src/test/java/com/baeldung/javers/JaversUnitTest.java @@ -17,7 +17,7 @@ import java.util.List; import static org.assertj.core.api.Assertions.assertThat; -public class JaversTest { +public class JaversUnitTest { @Test public void givenPersonObject_whenApplyModificationOnIt_thenShouldDetectChange() { diff --git a/libraries/src/test/java/com/baeldung/jsonassert/JsonAssertTest.java b/libraries/src/test/java/com/baeldung/jsonassert/JsonAssertUnitTest.java similarity index 99% rename from libraries/src/test/java/com/baeldung/jsonassert/JsonAssertTest.java rename to libraries/src/test/java/com/baeldung/jsonassert/JsonAssertUnitTest.java index b70703cc08..38595e49d9 100644 --- a/libraries/src/test/java/com/baeldung/jsonassert/JsonAssertTest.java +++ b/libraries/src/test/java/com/baeldung/jsonassert/JsonAssertUnitTest.java @@ -13,7 +13,7 @@ import org.skyscreamer.jsonassert.RegularExpressionValueMatcher; import org.skyscreamer.jsonassert.comparator.ArraySizeComparator; import org.skyscreamer.jsonassert.comparator.CustomComparator; -public class JsonAssertTest { +public class JsonAssertUnitTest { @Test public void givenLenientode_whenAssertEqualsSameJsonString_thenPass() throws JSONException { diff --git a/log-mdc/src/test/java/com/baeldung/mdc/log4j/Demo.java b/log-mdc/src/test/java/com/baeldung/mdc/log4j/DemoIntegrationTest.java similarity index 95% rename from log-mdc/src/test/java/com/baeldung/mdc/log4j/Demo.java rename to log-mdc/src/test/java/com/baeldung/mdc/log4j/DemoIntegrationTest.java index 665168452a..530965a077 100644 --- a/log-mdc/src/test/java/com/baeldung/mdc/log4j/Demo.java +++ b/log-mdc/src/test/java/com/baeldung/mdc/log4j/DemoIntegrationTest.java @@ -9,7 +9,7 @@ import org.junit.Test; import com.baeldung.mdc.TransactionFactory; import com.baeldung.mdc.Transfer; -public class Demo { +public class DemoIntegrationTest { @Test public void main() throws InterruptedException { diff --git a/log-mdc/src/test/java/com/baeldung/mdc/log4j2/Demo.java b/log-mdc/src/test/java/com/baeldung/mdc/log4j2/DemoIntegrationTest.java similarity index 96% rename from log-mdc/src/test/java/com/baeldung/mdc/log4j2/Demo.java rename to log-mdc/src/test/java/com/baeldung/mdc/log4j2/DemoIntegrationTest.java index 78c48c2a83..e36f353d87 100644 --- a/log-mdc/src/test/java/com/baeldung/mdc/log4j2/Demo.java +++ b/log-mdc/src/test/java/com/baeldung/mdc/log4j2/DemoIntegrationTest.java @@ -13,7 +13,7 @@ import com.baeldung.mdc.log4j.Log4JRunnable; import com.baeldung.mdc.log4j2.Log4J2Runnable; import com.baeldung.mdc.slf4j.Slf4jRunnable; -public class Demo { +public class DemoIntegrationTest { @Test public void main() throws InterruptedException { diff --git a/log-mdc/src/test/java/com/baeldung/mdc/slf4j/Demo.java b/log-mdc/src/test/java/com/baeldung/mdc/slf4j/DemoIntegrationTest.java similarity index 96% rename from log-mdc/src/test/java/com/baeldung/mdc/slf4j/Demo.java rename to log-mdc/src/test/java/com/baeldung/mdc/slf4j/DemoIntegrationTest.java index de890f9f5d..e715886cc0 100644 --- a/log-mdc/src/test/java/com/baeldung/mdc/slf4j/Demo.java +++ b/log-mdc/src/test/java/com/baeldung/mdc/slf4j/DemoIntegrationTest.java @@ -13,7 +13,7 @@ import com.baeldung.mdc.log4j.Log4JRunnable; import com.baeldung.mdc.log4j2.Log4J2Runnable; import com.baeldung.mdc.slf4j.Slf4jRunnable; -public class Demo { +public class DemoIntegrationTest { @Test public void main() throws InterruptedException { diff --git a/log-mdc/src/test/java/com/baeldung/ndc/NDCLogTest.java b/log-mdc/src/test/java/com/baeldung/ndc/NDCLogIntegrationTest.java similarity index 98% rename from log-mdc/src/test/java/com/baeldung/ndc/NDCLogTest.java rename to log-mdc/src/test/java/com/baeldung/ndc/NDCLogIntegrationTest.java index 8cba176f7e..a69620f226 100644 --- a/log-mdc/src/test/java/com/baeldung/ndc/NDCLogTest.java +++ b/log-mdc/src/test/java/com/baeldung/ndc/NDCLogIntegrationTest.java @@ -21,7 +21,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = AppConfiguration.class) @WebAppConfiguration -public class NDCLogTest { +public class NDCLogIntegrationTest { private MockMvc mockMvc; diff --git a/log4j2/src/test/java/com/baeldung/logging/log4j2/tests/CustomLoggingTest.java b/log4j2/src/test/java/com/baeldung/logging/log4j2/tests/CustomLoggingIntegrationTest.java similarity index 99% rename from log4j2/src/test/java/com/baeldung/logging/log4j2/tests/CustomLoggingTest.java rename to log4j2/src/test/java/com/baeldung/logging/log4j2/tests/CustomLoggingIntegrationTest.java index 333b4f5e78..c15bd8a514 100644 --- a/log4j2/src/test/java/com/baeldung/logging/log4j2/tests/CustomLoggingTest.java +++ b/log4j2/src/test/java/com/baeldung/logging/log4j2/tests/CustomLoggingIntegrationTest.java @@ -20,7 +20,7 @@ import org.junit.runners.JUnit4; import com.baeldung.logging.log4j2.tests.jdbc.ConnectionFactory; @RunWith(JUnit4.class) -public class CustomLoggingTest { +public class CustomLoggingIntegrationTest { @BeforeClass public static void setup() throws Exception { diff --git a/lombok/src/test/java/com/baeldung/lombok/intro/ApiClientConfigurationTest.java b/lombok/src/test/java/com/baeldung/lombok/intro/ApiClientConfigurationIntegrationTest.java similarity index 96% rename from lombok/src/test/java/com/baeldung/lombok/intro/ApiClientConfigurationTest.java rename to lombok/src/test/java/com/baeldung/lombok/intro/ApiClientConfigurationIntegrationTest.java index 8283fc655e..e1eca0c285 100644 --- a/lombok/src/test/java/com/baeldung/lombok/intro/ApiClientConfigurationTest.java +++ b/lombok/src/test/java/com/baeldung/lombok/intro/ApiClientConfigurationIntegrationTest.java @@ -7,7 +7,7 @@ import com.baeldung.lombok.intro.ApiClientConfiguration.ApiClientConfigurationBu import org.junit.Assert; import org.junit.Test; -public class ApiClientConfigurationTest { +public class ApiClientConfigurationIntegrationTest { @Test public void givenAnnotatedConfiguration_thenCanBeBuiltViaBuilder() { diff --git a/lombok/src/test/java/com/baeldung/lombok/intro/LoginResultTest.java b/lombok/src/test/java/com/baeldung/lombok/intro/LoginResultLiveTest.java similarity index 98% rename from lombok/src/test/java/com/baeldung/lombok/intro/LoginResultTest.java rename to lombok/src/test/java/com/baeldung/lombok/intro/LoginResultLiveTest.java index 56878e4a03..0ac1fb048c 100644 --- a/lombok/src/test/java/com/baeldung/lombok/intro/LoginResultTest.java +++ b/lombok/src/test/java/com/baeldung/lombok/intro/LoginResultLiveTest.java @@ -8,7 +8,7 @@ import java.time.Instant; import org.junit.Assert; import org.junit.Test; -public class LoginResultTest { +public class LoginResultLiveTest { @Test public void givenAnnotatedLoginResult_thenHasConstructorForAllFinalFields() diff --git a/lombok/src/test/java/com/baeldung/lombok/intro/UserTest.java b/lombok/src/test/java/com/baeldung/lombok/intro/UserIntegrationTest.java similarity index 98% rename from lombok/src/test/java/com/baeldung/lombok/intro/UserTest.java rename to lombok/src/test/java/com/baeldung/lombok/intro/UserIntegrationTest.java index b3bf21478f..c449042666 100644 --- a/lombok/src/test/java/com/baeldung/lombok/intro/UserTest.java +++ b/lombok/src/test/java/com/baeldung/lombok/intro/UserIntegrationTest.java @@ -8,7 +8,7 @@ import java.util.List; import org.junit.Assert; import org.junit.Test; -public class UserTest { +public class UserIntegrationTest { @Test public void givenAnnotatedUser_thenHasEmptyConstructor() { diff --git a/mapstruct/src/test/java/com/baeldung/mapper/EmployeeMapperTest.java b/mapstruct/src/test/java/com/baeldung/mapper/EmployeeMapperUnitTest.java similarity index 99% rename from mapstruct/src/test/java/com/baeldung/mapper/EmployeeMapperTest.java rename to mapstruct/src/test/java/com/baeldung/mapper/EmployeeMapperUnitTest.java index 7da6c41dc1..330c12eb13 100644 --- a/mapstruct/src/test/java/com/baeldung/mapper/EmployeeMapperTest.java +++ b/mapstruct/src/test/java/com/baeldung/mapper/EmployeeMapperUnitTest.java @@ -15,7 +15,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; -public class EmployeeMapperTest { +public class EmployeeMapperUnitTest { EmployeeMapper mapper = Mappers.getMapper(EmployeeMapper.class); diff --git a/metrics/src/test/java/com/baeldung/metrics/healthchecks/HealthCheckTest.java b/metrics/src/test/java/com/baeldung/metrics/healthchecks/HealthCheckIntegrationTest.java similarity index 96% rename from metrics/src/test/java/com/baeldung/metrics/healthchecks/HealthCheckTest.java rename to metrics/src/test/java/com/baeldung/metrics/healthchecks/HealthCheckIntegrationTest.java index b1b2cc2ff9..0f1e7c97c9 100644 --- a/metrics/src/test/java/com/baeldung/metrics/healthchecks/HealthCheckTest.java +++ b/metrics/src/test/java/com/baeldung/metrics/healthchecks/HealthCheckIntegrationTest.java @@ -11,7 +11,7 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; -public class HealthCheckTest { +public class HealthCheckIntegrationTest { @Test public void whenUseHealthCheck_thenHealthChecked() { diff --git a/mockito/src/test/java/com/baeldung/powermockito/introduction/PowerMockitoTest.java b/mockito/src/test/java/com/baeldung/powermockito/introduction/PowerMockitoIntegrationTest.java similarity index 98% rename from mockito/src/test/java/com/baeldung/powermockito/introduction/PowerMockitoTest.java rename to mockito/src/test/java/com/baeldung/powermockito/introduction/PowerMockitoIntegrationTest.java index 6f12f3e459..4a98bbcb87 100644 --- a/mockito/src/test/java/com/baeldung/powermockito/introduction/PowerMockitoTest.java +++ b/mockito/src/test/java/com/baeldung/powermockito/introduction/PowerMockitoIntegrationTest.java @@ -11,7 +11,7 @@ import static org.powermock.api.mockito.PowerMockito.*; @RunWith(PowerMockRunner.class) @PrepareForTest(fullyQualifiedNames = "com.baeldung.powermockito.introduction.*") -public class PowerMockitoTest { +public class PowerMockitoIntegrationTest { @Test public void givenFinalMethods_whenUsingPowerMockito_thenCorrect() throws Exception { diff --git a/mockito/src/test/java/org/baeldung/mockito/MockitoAnnotationTest.java b/mockito/src/test/java/org/baeldung/mockito/MockitoAnnotationIntegrationTest.java similarity index 98% rename from mockito/src/test/java/org/baeldung/mockito/MockitoAnnotationTest.java rename to mockito/src/test/java/org/baeldung/mockito/MockitoAnnotationIntegrationTest.java index ec68c38f70..4e090e6652 100644 --- a/mockito/src/test/java/org/baeldung/mockito/MockitoAnnotationTest.java +++ b/mockito/src/test/java/org/baeldung/mockito/MockitoAnnotationIntegrationTest.java @@ -11,7 +11,7 @@ import java.util.Map; import static org.junit.Assert.assertEquals; //@RunWith(MockitoJUnitRunner.class) -public class MockitoAnnotationTest { +public class MockitoAnnotationIntegrationTest { @Mock private List mockedList; diff --git a/mockito/src/test/java/org/baeldung/mockito/MockitoConfigExamplesTest.java b/mockito/src/test/java/org/baeldung/mockito/MockitoConfigExamplesIntegrationTest.java similarity index 98% rename from mockito/src/test/java/org/baeldung/mockito/MockitoConfigExamplesTest.java rename to mockito/src/test/java/org/baeldung/mockito/MockitoConfigExamplesIntegrationTest.java index 5050a2d6bc..5da86dfb9a 100644 --- a/mockito/src/test/java/org/baeldung/mockito/MockitoConfigExamplesTest.java +++ b/mockito/src/test/java/org/baeldung/mockito/MockitoConfigExamplesIntegrationTest.java @@ -11,7 +11,7 @@ import static org.mockito.Matchers.anyInt; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.*; -public class MockitoConfigExamplesTest { +public class MockitoConfigExamplesIntegrationTest { // tests diff --git a/mockito/src/test/java/org/baeldung/mockito/MockitoMockTest.java b/mockito/src/test/java/org/baeldung/mockito/MockitoMockIntegrationTest.java similarity index 98% rename from mockito/src/test/java/org/baeldung/mockito/MockitoMockTest.java rename to mockito/src/test/java/org/baeldung/mockito/MockitoMockIntegrationTest.java index 5a1996fa97..6ec3b34db5 100644 --- a/mockito/src/test/java/org/baeldung/mockito/MockitoMockTest.java +++ b/mockito/src/test/java/org/baeldung/mockito/MockitoMockIntegrationTest.java @@ -14,7 +14,7 @@ import org.mockito.exceptions.verification.TooLittleActualInvocations; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; -public class MockitoMockTest { +public class MockitoMockIntegrationTest { private static class CustomAnswer implements Answer { @Override diff --git a/mockito/src/test/java/org/baeldung/mockito/MockitoSpyTest.java b/mockito/src/test/java/org/baeldung/mockito/MockitoSpyIntegrationTest.java similarity index 97% rename from mockito/src/test/java/org/baeldung/mockito/MockitoSpyTest.java rename to mockito/src/test/java/org/baeldung/mockito/MockitoSpyIntegrationTest.java index 8682e16e5d..206e0f4daf 100644 --- a/mockito/src/test/java/org/baeldung/mockito/MockitoSpyTest.java +++ b/mockito/src/test/java/org/baeldung/mockito/MockitoSpyIntegrationTest.java @@ -12,7 +12,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; @RunWith(MockitoJUnitRunner.class) -public class MockitoSpyTest { +public class MockitoSpyIntegrationTest { @Spy private List aSpyList = new ArrayList(); diff --git a/mockito/src/test/java/org/baeldung/mockito/MockitoVerifyExamplesTest.java b/mockito/src/test/java/org/baeldung/mockito/MockitoVerifyExamplesIntegrationTest.java similarity index 98% rename from mockito/src/test/java/org/baeldung/mockito/MockitoVerifyExamplesTest.java rename to mockito/src/test/java/org/baeldung/mockito/MockitoVerifyExamplesIntegrationTest.java index 6beae34138..418e9693b8 100644 --- a/mockito/src/test/java/org/baeldung/mockito/MockitoVerifyExamplesTest.java +++ b/mockito/src/test/java/org/baeldung/mockito/MockitoVerifyExamplesIntegrationTest.java @@ -14,7 +14,7 @@ import static org.junit.Assert.assertThat; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.*; -public class MockitoVerifyExamplesTest { +public class MockitoVerifyExamplesIntegrationTest { // tests diff --git a/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/AdvancedCollaboratorTest.java b/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/AdvancedCollaboratorIntegrationTest.java similarity index 96% rename from mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/AdvancedCollaboratorTest.java rename to mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/AdvancedCollaboratorIntegrationTest.java index aaabe44f66..5cde912277 100644 --- a/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/AdvancedCollaboratorTest.java +++ b/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/AdvancedCollaboratorIntegrationTest.java @@ -20,7 +20,7 @@ import mockit.Tested; import mockit.integration.junit4.JMockit; @RunWith(JMockit.class) -public class AdvancedCollaboratorTest & Comparable>> { +public class AdvancedCollaboratorIntegrationTest & Comparable>> { @Tested private AdvancedCollaborator mock; diff --git a/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ExpectationsTest.java b/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ExpectationsIntegrationTest.java similarity index 99% rename from mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ExpectationsTest.java rename to mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ExpectationsIntegrationTest.java index 1c72647133..c176cdc182 100644 --- a/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ExpectationsTest.java +++ b/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ExpectationsIntegrationTest.java @@ -18,7 +18,7 @@ import static org.junit.Assert.assertEquals; @RunWith(JMockit.class) @SuppressWarnings("unchecked") -public class ExpectationsTest { +public class ExpectationsIntegrationTest { @Test public void testForAny(@Mocked ExpectationsCollaborator mock) throws Exception { diff --git a/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/PerformerTest.java b/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/PerformerIntegrationTest.java similarity index 93% rename from mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/PerformerTest.java rename to mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/PerformerIntegrationTest.java index 2b1b3be0f7..7c79a5979e 100644 --- a/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/PerformerTest.java +++ b/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/PerformerIntegrationTest.java @@ -7,7 +7,7 @@ import mockit.*; import mockit.integration.junit4.JMockit; @RunWith(JMockit.class) -public class PerformerTest { +public class PerformerIntegrationTest { @Injectable private Collaborator collaborator; diff --git a/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ReusingTest.java b/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ReusingIntegrationTest.java similarity index 97% rename from mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ReusingTest.java rename to mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ReusingIntegrationTest.java index 729cb30cd2..73bc712143 100644 --- a/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ReusingTest.java +++ b/mocks/jmockit/src/test/java/org/baeldung/mocks/jmockit/ReusingIntegrationTest.java @@ -12,7 +12,7 @@ import mockit.Verifications; import mockit.integration.junit4.JMockit; @RunWith(JMockit.class) -public class ReusingTest { +public class ReusingIntegrationTest { @Injectable private Collaborator collaborator; diff --git a/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/easymock/LoginControllerTest.java b/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/easymock/LoginControllerIntegrationTest.java similarity index 98% rename from mocks/mock-comparisons/src/test/java/org/baeldung/mocks/easymock/LoginControllerTest.java rename to mocks/mock-comparisons/src/test/java/org/baeldung/mocks/easymock/LoginControllerIntegrationTest.java index 25d2b91ede..4cf2a23ee8 100644 --- a/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/easymock/LoginControllerTest.java +++ b/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/easymock/LoginControllerIntegrationTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import org.junit.runner.RunWith; @RunWith(EasyMockRunner.class) -public class LoginControllerTest { +public class LoginControllerIntegrationTest { @Mock private LoginDao loginDao; diff --git a/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/jmockit/LoginControllerTest.java b/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/jmockit/LoginControllerIntegrationTest.java similarity index 98% rename from mocks/mock-comparisons/src/test/java/org/baeldung/mocks/jmockit/LoginControllerTest.java rename to mocks/mock-comparisons/src/test/java/org/baeldung/mocks/jmockit/LoginControllerIntegrationTest.java index 621342fed2..ecad7df5b5 100644 --- a/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/jmockit/LoginControllerTest.java +++ b/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/jmockit/LoginControllerIntegrationTest.java @@ -13,7 +13,7 @@ import org.junit.Test; import org.junit.runner.RunWith; @RunWith(JMockit.class) -public class LoginControllerTest { +public class LoginControllerIntegrationTest { @Injectable private LoginDao loginDao; diff --git a/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/mockito/LoginControllerTest.java b/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/mockito/LoginControllerIntegrationTest.java similarity index 98% rename from mocks/mock-comparisons/src/test/java/org/baeldung/mocks/mockito/LoginControllerTest.java rename to mocks/mock-comparisons/src/test/java/org/baeldung/mocks/mockito/LoginControllerIntegrationTest.java index 59b28a2cb4..18bc2ae189 100644 --- a/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/mockito/LoginControllerTest.java +++ b/mocks/mock-comparisons/src/test/java/org/baeldung/mocks/mockito/LoginControllerIntegrationTest.java @@ -9,7 +9,7 @@ import org.junit.Before; import org.junit.Test; import org.mockito.*; -public class LoginControllerTest { +public class LoginControllerIntegrationTest { @Mock private LoginDao loginDao; diff --git a/orika/src/test/java/com/baeldung/orika/OrikaTest.java b/orika/src/test/java/com/baeldung/orika/OrikaUnitTest.java similarity index 99% rename from orika/src/test/java/com/baeldung/orika/OrikaTest.java rename to orika/src/test/java/com/baeldung/orika/OrikaUnitTest.java index f7f14a5f2d..deeed135cc 100644 --- a/orika/src/test/java/com/baeldung/orika/OrikaTest.java +++ b/orika/src/test/java/com/baeldung/orika/OrikaUnitTest.java @@ -18,7 +18,7 @@ import ma.glasnost.orika.MapperFacade; import ma.glasnost.orika.MapperFactory; import ma.glasnost.orika.impl.DefaultMapperFactory; -public class OrikaTest { +public class OrikaUnitTest { MapperFactory mapperFactory; diff --git a/play-framework/introduction/test/ApplicationTest.java b/play-framework/introduction/test/ApplicationLiveTest.java similarity index 99% rename from play-framework/introduction/test/ApplicationTest.java rename to play-framework/introduction/test/ApplicationLiveTest.java index 1133978e9a..beeef1a602 100644 --- a/play-framework/introduction/test/ApplicationTest.java +++ b/play-framework/introduction/test/ApplicationLiveTest.java @@ -21,7 +21,7 @@ import model.Student; import play.test.*; import static play.test.Helpers.*; -public class ApplicationTest{ +public class ApplicationLiveTest{ private static final String BASE_URL = "http://localhost:9000"; @Test diff --git a/play-framework/routing-in-play/test/ApplicationTest.java b/play-framework/routing-in-play/test/ApplicationUnitTest.java similarity index 96% rename from play-framework/routing-in-play/test/ApplicationTest.java rename to play-framework/routing-in-play/test/ApplicationUnitTest.java index 3d7c4875aa..572ce282bc 100644 --- a/play-framework/routing-in-play/test/ApplicationTest.java +++ b/play-framework/routing-in-play/test/ApplicationUnitTest.java @@ -26,7 +26,7 @@ import static org.junit.Assert.*; * If you are interested in mocking a whole application, see the wiki for more details. * */ -public class ApplicationTest { +public class ApplicationUnitTest { @Test public void simpleCheck() { diff --git a/play-framework/student-api/test/ApplicationTest.java b/play-framework/student-api/test/ApplicationLiveTest.java similarity index 99% rename from play-framework/student-api/test/ApplicationTest.java rename to play-framework/student-api/test/ApplicationLiveTest.java index 1133978e9a..beeef1a602 100644 --- a/play-framework/student-api/test/ApplicationTest.java +++ b/play-framework/student-api/test/ApplicationLiveTest.java @@ -21,7 +21,7 @@ import model.Student; import play.test.*; import static play.test.Helpers.*; -public class ApplicationTest{ +public class ApplicationLiveTest{ private static final String BASE_URL = "http://localhost:9000"; @Test diff --git a/ratpack/src/test/java/com/baeldung/ApplicationTest.java b/ratpack/src/test/java/com/baeldung/ApplicationIntegrationTest.java similarity index 97% rename from ratpack/src/test/java/com/baeldung/ApplicationTest.java rename to ratpack/src/test/java/com/baeldung/ApplicationIntegrationTest.java index 047575ca6e..5614f6617c 100644 --- a/ratpack/src/test/java/com/baeldung/ApplicationTest.java +++ b/ratpack/src/test/java/com/baeldung/ApplicationIntegrationTest.java @@ -16,7 +16,7 @@ import java.util.ArrayList; import java.util.List; @RunWith(JUnit4.class) -public class ApplicationTest { +public class ApplicationIntegrationTest { MainClassApplicationUnderTest appUnderTest = new MainClassApplicationUnderTest(Application.class); diff --git a/rest-testing/src/test/java/com/baeldung/rest/wiremock/introduction/JUnitManaged.java b/rest-testing/src/test/java/com/baeldung/rest/wiremock/introduction/JUnitManagedIntegrationTest.java similarity index 99% rename from rest-testing/src/test/java/com/baeldung/rest/wiremock/introduction/JUnitManaged.java rename to rest-testing/src/test/java/com/baeldung/rest/wiremock/introduction/JUnitManagedIntegrationTest.java index 664c3fac78..aa0c6696a4 100644 --- a/rest-testing/src/test/java/com/baeldung/rest/wiremock/introduction/JUnitManaged.java +++ b/rest-testing/src/test/java/com/baeldung/rest/wiremock/introduction/JUnitManagedIntegrationTest.java @@ -29,7 +29,7 @@ import static com.github.tomakehurst.wiremock.client.WireMock.urlPathMatching; import static com.github.tomakehurst.wiremock.client.WireMock.verify; import static org.junit.Assert.assertEquals; -public class JUnitManaged { +public class JUnitManagedIntegrationTest { private static final String BAELDUNG_WIREMOCK_PATH = "/baeldung/wiremock"; private static final String APPLICATION_JSON = "application/json"; diff --git a/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ComposedAnnotationTests.java b/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ComposedAnnotationIntegrationTest.java similarity index 95% rename from spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ComposedAnnotationTests.java rename to spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ComposedAnnotationIntegrationTest.java index d15857e0a5..b90012edf6 100644 --- a/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ComposedAnnotationTests.java +++ b/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ComposedAnnotationIntegrationTest.java @@ -13,7 +13,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; @SpringJUnit5Config(TestConfig.class) @DisplayName("@SpringJUnit5Config Tests") -class Spring5JUnit5ComposedAnnotationTests { +class Spring5JUnit5ComposedAnnotationIntegrationTest { @Autowired Task task; diff --git a/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5Tests.java b/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5IntegrationTest.java similarity index 96% rename from spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5Tests.java rename to spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5IntegrationTest.java index c4c3148b1e..f0cc55fc80 100644 --- a/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5Tests.java +++ b/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5IntegrationTest.java @@ -14,7 +14,7 @@ import org.junit.jupiter.api.Test; @ExtendWith(SpringExtension.class) @ContextConfiguration(classes = TestConfig.class) -class Spring5JUnit5Tests { +class Spring5JUnit5IntegrationTest { @Autowired Task task; diff --git a/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelTest.java b/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelIntegrationTest.java similarity index 94% rename from spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelTest.java rename to spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelIntegrationTest.java index 92d69b2d91..1794da45f5 100644 --- a/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelTest.java +++ b/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelIntegrationTest.java @@ -7,7 +7,7 @@ import org.junit.jupiter.api.Test; import org.junit.runner.Computer; import org.junit.runner.JUnitCore; -public class Spring5JUnit5ParallelTest { +public class Spring5JUnit5ParallelIntegrationTest { @Test public void givenTwoTestClasses_whenJUnitRunParallel_thenTheTestsExecutingParallel() { diff --git a/spring-5/src/test/java/com/baeldung/jupiter/Spring5Java8NewFeaturesTest.java b/spring-5/src/test/java/com/baeldung/jupiter/Spring5Java8NewFeaturesIntegrationTest.java similarity index 94% rename from spring-5/src/test/java/com/baeldung/jupiter/Spring5Java8NewFeaturesTest.java rename to spring-5/src/test/java/com/baeldung/jupiter/Spring5Java8NewFeaturesIntegrationTest.java index 36adf1f7ff..97efa19255 100644 --- a/spring-5/src/test/java/com/baeldung/jupiter/Spring5Java8NewFeaturesTest.java +++ b/spring-5/src/test/java/com/baeldung/jupiter/Spring5Java8NewFeaturesIntegrationTest.java @@ -6,7 +6,7 @@ import java.util.regex.Pattern; import java.util.stream.Collectors; import static org.junit.jupiter.api.Assertions.assertEquals; -public class Spring5Java8NewFeaturesTest { +public class Spring5Java8NewFeaturesIntegrationTest { @FunctionalInterface public interface FunctionalInterfaceExample { diff --git a/spring-5/src/test/java/com/baeldung/jupiter/Spring5ReactiveServerClientTest.java b/spring-5/src/test/java/com/baeldung/jupiter/Spring5ReactiveServerClientIntegrationTest.java similarity index 98% rename from spring-5/src/test/java/com/baeldung/jupiter/Spring5ReactiveServerClientTest.java rename to spring-5/src/test/java/com/baeldung/jupiter/Spring5ReactiveServerClientIntegrationTest.java index d3e194d10d..c44728c856 100644 --- a/spring-5/src/test/java/com/baeldung/jupiter/Spring5ReactiveServerClientTest.java +++ b/spring-5/src/test/java/com/baeldung/jupiter/Spring5ReactiveServerClientIntegrationTest.java @@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.springframework.web.reactive.function.server.RequestPredicates.GET; import static org.springframework.web.reactive.function.server.RequestPredicates.POST; -public class Spring5ReactiveServerClientTest { +public class Spring5ReactiveServerClientIntegrationTest { private static NettyContext nettyContext; diff --git a/spring-aop/src/test/java/org/baeldung/aspectj/AccountTest.java b/spring-aop/src/test/java/org/baeldung/aspectj/AccountUnitTest.java similarity index 94% rename from spring-aop/src/test/java/org/baeldung/aspectj/AccountTest.java rename to spring-aop/src/test/java/org/baeldung/aspectj/AccountUnitTest.java index f118dad034..3d5384a7f7 100644 --- a/spring-aop/src/test/java/org/baeldung/aspectj/AccountTest.java +++ b/spring-aop/src/test/java/org/baeldung/aspectj/AccountUnitTest.java @@ -6,7 +6,7 @@ import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class AccountTest { +public class AccountUnitTest { private Account account; @Before diff --git a/spring-boot-custom-starter/greeter-spring-boot-sample-app/src/test/java/com/baeldung/greeter/sample/GreeterSampleApplicationTest.java b/spring-boot-custom-starter/greeter-spring-boot-sample-app/src/test/java/com/baeldung/greeter/sample/GreeterSampleApplicationIntegrationTest.java similarity index 96% rename from spring-boot-custom-starter/greeter-spring-boot-sample-app/src/test/java/com/baeldung/greeter/sample/GreeterSampleApplicationTest.java rename to spring-boot-custom-starter/greeter-spring-boot-sample-app/src/test/java/com/baeldung/greeter/sample/GreeterSampleApplicationIntegrationTest.java index bdb8fd0112..a4816cf319 100644 --- a/spring-boot-custom-starter/greeter-spring-boot-sample-app/src/test/java/com/baeldung/greeter/sample/GreeterSampleApplicationTest.java +++ b/spring-boot-custom-starter/greeter-spring-boot-sample-app/src/test/java/com/baeldung/greeter/sample/GreeterSampleApplicationIntegrationTest.java @@ -14,7 +14,7 @@ import com.baeldung.greeter.Greeter; @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest(classes = GreeterSampleApplication.class) -public class GreeterSampleApplicationTest { +public class GreeterSampleApplicationIntegrationTest { @Autowired private Greeter greeter; diff --git a/spring-boot-custom-starter/greeter/src/test/java/com/baeldung/greeter/GreeterTest.java b/spring-boot-custom-starter/greeter/src/test/java/com/baeldung/greeter/GreeterIntegrationTest.java similarity index 98% rename from spring-boot-custom-starter/greeter/src/test/java/com/baeldung/greeter/GreeterTest.java rename to spring-boot-custom-starter/greeter/src/test/java/com/baeldung/greeter/GreeterIntegrationTest.java index 834f1447bd..787f795480 100644 --- a/spring-boot-custom-starter/greeter/src/test/java/com/baeldung/greeter/GreeterTest.java +++ b/spring-boot-custom-starter/greeter/src/test/java/com/baeldung/greeter/GreeterIntegrationTest.java @@ -8,7 +8,7 @@ import java.time.LocalDateTime; import org.junit.BeforeClass; import org.junit.Test; -public class GreeterTest { +public class GreeterIntegrationTest { private static GreetingConfig greetingConfig; diff --git a/spring-boot/src/test/java/com/baeldung/autoconfiguration/AutoconfigurationTest.java b/spring-boot/src/test/java/com/baeldung/autoconfiguration/AutoconfigurationIntegrationTest.java similarity index 95% rename from spring-boot/src/test/java/com/baeldung/autoconfiguration/AutoconfigurationTest.java rename to spring-boot/src/test/java/com/baeldung/autoconfiguration/AutoconfigurationIntegrationTest.java index 608d0d10bc..dda9d69edd 100644 --- a/spring-boot/src/test/java/com/baeldung/autoconfiguration/AutoconfigurationTest.java +++ b/spring-boot/src/test/java/com/baeldung/autoconfiguration/AutoconfigurationIntegrationTest.java @@ -14,7 +14,7 @@ import com.baeldung.autoconfiguration.example.MyUserRepository; @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest(classes = AutoconfigurationApplication.class) @EnableJpaRepositories(basePackages = { "com.baeldung.autoconfiguration.example" }) -public class AutoconfigurationTest { +public class AutoconfigurationIntegrationTest { @Autowired private MyUserRepository userRepository; diff --git a/spring-custom-aop/spring-custom-aop/src/test/java/com/baeldung/utils/UtilsControllerTest.java b/spring-boot/src/test/java/com/baeldung/utils/UtilsControllerIntegrationTest.java similarity index 95% rename from spring-custom-aop/spring-custom-aop/src/test/java/com/baeldung/utils/UtilsControllerTest.java rename to spring-boot/src/test/java/com/baeldung/utils/UtilsControllerIntegrationTest.java index 7aed45dbb0..829c0a6ac4 100644 --- a/spring-custom-aop/spring-custom-aop/src/test/java/com/baeldung/utils/UtilsControllerTest.java +++ b/spring-boot/src/test/java/com/baeldung/utils/UtilsControllerIntegrationTest.java @@ -13,7 +13,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. import com.baeldung.utils.controller.UtilsController; -public class UtilsControllerTest { +public class UtilsControllerIntegrationTest { @InjectMocks private UtilsController utilsController; diff --git a/spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerTest.java b/spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerIntegrationTest.java similarity index 94% rename from spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerTest.java rename to spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerIntegrationTest.java index b61cd6d61d..f30c8ee4e7 100644 --- a/spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerTest.java +++ b/spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerIntegrationTest.java @@ -11,7 +11,7 @@ import org.springframework.messaging.simp.stomp.StompSession; * @author Kalyan * */ -public class MyStompSessionHandlerTest { +public class MyStompSessionHandlerIntegrationTest { @Test public void givenValidSession_whenConnected_SendsMessage() { diff --git a/spring-cloud/spring-cloud-config/server/src/test/java/com/baeldung/spring/cloud/config/server/ConfigServerListTest.java b/spring-cloud/spring-cloud-config/server/src/test/java/com/baeldung/spring/cloud/config/server/ConfigServerListIntegrationTest.java similarity index 91% rename from spring-cloud/spring-cloud-config/server/src/test/java/com/baeldung/spring/cloud/config/server/ConfigServerListTest.java rename to spring-cloud/spring-cloud-config/server/src/test/java/com/baeldung/spring/cloud/config/server/ConfigServerListIntegrationTest.java index 306c120e43..34c08cc815 100644 --- a/spring-cloud/spring-cloud-config/server/src/test/java/com/baeldung/spring/cloud/config/server/ConfigServerListTest.java +++ b/spring-cloud/spring-cloud-config/server/src/test/java/com/baeldung/spring/cloud/config/server/ConfigServerListIntegrationTest.java @@ -11,7 +11,7 @@ import org.springframework.test.context.web.WebAppConfiguration; @SpringApplicationConfiguration(classes = ConfigServer.class) @WebAppConfiguration @Ignore -public class ConfigServerListTest { +public class ConfigServerListIntegrationTest { @Test public void contextLoads() { } diff --git a/spring-core/src/test/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResourceTest.java b/spring-core/src/test/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResourceIntegrationTest.java similarity index 93% rename from spring-core/src/test/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResourceTest.java rename to spring-core/src/test/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResourceIntegrationTest.java index 80123a1bee..315111b93a 100644 --- a/spring-core/src/test/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResourceTest.java +++ b/spring-core/src/test/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResourceIntegrationTest.java @@ -9,7 +9,7 @@ import org.springframework.core.io.Resource; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class BeanFactoryWithClassPathResourceTest { +public class BeanFactoryWithClassPathResourceIntegrationTest { @Test public void createBeanFactoryAndCheckEmployeeBean() { diff --git a/spring-core/src/test/java/com/baeldung/factorybean/AbstractFactoryBeanTest.java b/spring-core/src/test/java/com/baeldung/factorybean/AbstractFactoryBeanIntegrationTest.java similarity index 95% rename from spring-core/src/test/java/com/baeldung/factorybean/AbstractFactoryBeanTest.java rename to spring-core/src/test/java/com/baeldung/factorybean/AbstractFactoryBeanIntegrationTest.java index aa6d7c2cd2..3d75539bf4 100644 --- a/spring-core/src/test/java/com/baeldung/factorybean/AbstractFactoryBeanTest.java +++ b/spring-core/src/test/java/com/baeldung/factorybean/AbstractFactoryBeanIntegrationTest.java @@ -13,7 +13,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:factorybean-abstract-spring-ctx.xml" }) -public class AbstractFactoryBeanTest { +public class AbstractFactoryBeanIntegrationTest { @Resource(name = "singleTool") private Tool tool1; diff --git a/spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanJavaConfigTest.java b/spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanJavaConfigIntegrationTest.java similarity index 93% rename from spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanJavaConfigTest.java rename to spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanJavaConfigIntegrationTest.java index c725f786dc..3b3cbf51d9 100644 --- a/spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanJavaConfigTest.java +++ b/spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanJavaConfigIntegrationTest.java @@ -13,7 +13,7 @@ import static org.junit.Assert.assertThat; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = FactoryBeanAppConfig.class) -public class FactoryBeanJavaConfigTest { +public class FactoryBeanJavaConfigIntegrationTest { @Autowired private Tool tool; diff --git a/spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanXmlConfigTest.java b/spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanXmlConfigIntegrationTest.java similarity index 94% rename from spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanXmlConfigTest.java rename to spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanXmlConfigIntegrationTest.java index 443515f872..816ff0f119 100644 --- a/spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanXmlConfigTest.java +++ b/spring-core/src/test/java/com/baeldung/factorybean/FactoryBeanXmlConfigIntegrationTest.java @@ -13,7 +13,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:factorybean-spring-ctx.xml" }) -public class FactoryBeanXmlConfigTest { +public class FactoryBeanXmlConfigIntegrationTest { @Autowired private Tool tool; diff --git a/spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceAutowiringTest.java b/spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceAutowiringIntegrationTest.java similarity index 94% rename from spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceAutowiringTest.java rename to spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceAutowiringIntegrationTest.java index 755fc5868b..a49dd84f11 100644 --- a/spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceAutowiringTest.java +++ b/spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceAutowiringIntegrationTest.java @@ -14,7 +14,7 @@ import static org.mockito.Mockito.when; @ContextConfiguration( loader = AnnotationConfigContextLoader.class, classes = TestConfig.class) -public class ApologizeServiceAutowiringTest { +public class ApologizeServiceAutowiringIntegrationTest { private final static String TRANSLATED = "TRANSLATED"; diff --git a/spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceTest.java b/spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceIntegrationTest.java similarity index 93% rename from spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceTest.java rename to spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceIntegrationTest.java index ab545e7adf..77f0c94299 100644 --- a/spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceTest.java +++ b/spring-core/src/test/java/com/baeldung/lombok/ApologizeServiceIntegrationTest.java @@ -6,7 +6,7 @@ import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class ApologizeServiceTest { +public class ApologizeServiceIntegrationTest { private final static String MESSAGE = "MESSAGE"; private final static String TRANSLATED = "TRANSLATED"; diff --git a/spring-core/src/test/java/com/baeldung/lombok/FarewellAutowiringTest.java b/spring-core/src/test/java/com/baeldung/lombok/FarewellAutowiringIntegrationTest.java similarity index 95% rename from spring-core/src/test/java/com/baeldung/lombok/FarewellAutowiringTest.java rename to spring-core/src/test/java/com/baeldung/lombok/FarewellAutowiringIntegrationTest.java index 592e309236..ec0793bd2e 100644 --- a/spring-core/src/test/java/com/baeldung/lombok/FarewellAutowiringTest.java +++ b/spring-core/src/test/java/com/baeldung/lombok/FarewellAutowiringIntegrationTest.java @@ -14,7 +14,7 @@ import static org.mockito.Mockito.when; @ContextConfiguration( loader = AnnotationConfigContextLoader.class, classes = TestConfig.class) -public class FarewellAutowiringTest { +public class FarewellAutowiringIntegrationTest { @Autowired private FarewellService farewellService; diff --git a/spring-core/src/test/java/com/baeldung/lombok/FarewellServiceTest.java b/spring-core/src/test/java/com/baeldung/lombok/FarewellServiceIntegrationTest.java similarity index 92% rename from spring-core/src/test/java/com/baeldung/lombok/FarewellServiceTest.java rename to spring-core/src/test/java/com/baeldung/lombok/FarewellServiceIntegrationTest.java index 9ad593a489..38959a511f 100644 --- a/spring-core/src/test/java/com/baeldung/lombok/FarewellServiceTest.java +++ b/spring-core/src/test/java/com/baeldung/lombok/FarewellServiceIntegrationTest.java @@ -6,7 +6,7 @@ import static org.junit.Assert.*; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class FarewellServiceTest { +public class FarewellServiceIntegrationTest { private final static String TRANSLATED = "TRANSLATED"; diff --git a/spring-core/src/test/java/com/baeldung/lombok/GreetingServiceTest.java b/spring-core/src/test/java/com/baeldung/lombok/GreetingServiceIntegrationTest.java similarity index 96% rename from spring-core/src/test/java/com/baeldung/lombok/GreetingServiceTest.java rename to spring-core/src/test/java/com/baeldung/lombok/GreetingServiceIntegrationTest.java index d0207d681b..0516b5eb56 100644 --- a/spring-core/src/test/java/com/baeldung/lombok/GreetingServiceTest.java +++ b/spring-core/src/test/java/com/baeldung/lombok/GreetingServiceIntegrationTest.java @@ -14,7 +14,7 @@ import static org.mockito.Mockito.when; @ContextConfiguration( loader = AnnotationConfigContextLoader.class, classes = TestConfig.class) -public class GreetingServiceTest { +public class GreetingServiceIntegrationTest { @Autowired private GreetingService greetingService; diff --git a/spring-core/src/test/java/com/baeldung/lombok/ThankingServiceAutowiringTest.java b/spring-core/src/test/java/com/baeldung/lombok/ThankingServiceAutowiringIntegrationTest.java similarity index 94% rename from spring-core/src/test/java/com/baeldung/lombok/ThankingServiceAutowiringTest.java rename to spring-core/src/test/java/com/baeldung/lombok/ThankingServiceAutowiringIntegrationTest.java index b2a338b18f..fb9abbad46 100644 --- a/spring-core/src/test/java/com/baeldung/lombok/ThankingServiceAutowiringTest.java +++ b/spring-core/src/test/java/com/baeldung/lombok/ThankingServiceAutowiringIntegrationTest.java @@ -14,7 +14,7 @@ import static org.mockito.Mockito.when; @ContextConfiguration( loader = AnnotationConfigContextLoader.class, classes = TestConfig.class) -public class ThankingServiceAutowiringTest { +public class ThankingServiceAutowiringIntegrationTest { @Autowired private ThankingService thankingService; diff --git a/spring-core/src/test/java/com/baeldung/lombok/ThankingServiceTest.java b/spring-core/src/test/java/com/baeldung/lombok/ThankingServiceIntegrationTest.java similarity index 92% rename from spring-core/src/test/java/com/baeldung/lombok/ThankingServiceTest.java rename to spring-core/src/test/java/com/baeldung/lombok/ThankingServiceIntegrationTest.java index 7dc663622b..680f926717 100644 --- a/spring-core/src/test/java/com/baeldung/lombok/ThankingServiceTest.java +++ b/spring-core/src/test/java/com/baeldung/lombok/ThankingServiceIntegrationTest.java @@ -6,7 +6,7 @@ import static org.junit.Assert.*; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class ThankingServiceTest { +public class ThankingServiceIntegrationTest { private final static String TRANSLATED = "TRANSLATED"; diff --git a/spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionJavaConfigTest.java b/spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionJavaConfigIntegrationTest.java similarity index 96% rename from spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionJavaConfigTest.java rename to spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionJavaConfigIntegrationTest.java index 4befd884eb..809ce02519 100644 --- a/spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionJavaConfigTest.java +++ b/spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionJavaConfigIntegrationTest.java @@ -18,7 +18,7 @@ import com.baeldung.configuration.ApplicationContextTestBeanInjectionTypes; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = ApplicationContextTestBeanInjectionTypes.class) -public class BeanInjectionJavaConfigTest implements ApplicationContextAware { +public class BeanInjectionJavaConfigIntegrationTest implements ApplicationContextAware { private ApplicationContext beanInjectedContext; diff --git a/spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionXMLConfigTest.java b/spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionXMLConfigIntegrationTest.java similarity index 96% rename from spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionXMLConfigTest.java rename to spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionXMLConfigIntegrationTest.java index d19a099aad..2f29bb52a8 100644 --- a/spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionXMLConfigTest.java +++ b/spring-core/src/test/java/com/baeldung/test/beaninjection/BeanInjectionXMLConfigIntegrationTest.java @@ -17,7 +17,7 @@ import com.baeldung.beaninjection.ExampleServiceBean; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = "classpath:beaninjectiontypes-context.xml") -public class BeanInjectionXMLConfigTest implements ApplicationContextAware { +public class BeanInjectionXMLConfigIntegrationTest implements ApplicationContextAware { private ApplicationContext beanInjectedContext; diff --git a/spring-boot/src/test/java/com/baeldung/utils/UtilsControllerTest.java b/spring-custom-aop/spring-custom-aop/src/test/java/com/baeldung/utils/UtilsControllerIntegrationTest.java similarity index 95% rename from spring-boot/src/test/java/com/baeldung/utils/UtilsControllerTest.java rename to spring-custom-aop/spring-custom-aop/src/test/java/com/baeldung/utils/UtilsControllerIntegrationTest.java index 7aed45dbb0..829c0a6ac4 100644 --- a/spring-boot/src/test/java/com/baeldung/utils/UtilsControllerTest.java +++ b/spring-custom-aop/spring-custom-aop/src/test/java/com/baeldung/utils/UtilsControllerIntegrationTest.java @@ -13,7 +13,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. import com.baeldung.utils.controller.UtilsController; -public class UtilsControllerTest { +public class UtilsControllerIntegrationTest { @InjectMocks private UtilsController utilsController; diff --git a/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooComponentTests.java b/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooComponentIntegrationTest.java similarity index 98% rename from spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooComponentTests.java rename to spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooComponentIntegrationTest.java index 72ccc0bfb8..df975df0c1 100644 --- a/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooComponentTests.java +++ b/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooComponentIntegrationTest.java @@ -26,7 +26,7 @@ import static org.mockito.Mockito.doReturn; @SpringBootTest( classes = DemoApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT) -public class FooComponentTests { +public class FooComponentIntegrationTest { @Autowired private TestRestTemplate testRestTemplate; diff --git a/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJPATest.java b/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJPAIntegrationTest.java similarity index 96% rename from spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJPATest.java rename to spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJPAIntegrationTest.java index c29aa64e6c..87afe565ee 100644 --- a/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJPATest.java +++ b/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJPAIntegrationTest.java @@ -14,7 +14,7 @@ import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @DataJpaTest -public class FooJPATest { +public class FooJPAIntegrationTest { @Autowired private TestEntityManager entityManager; diff --git a/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJsonTest.java b/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJsonIntegrationTest.java similarity index 96% rename from spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJsonTest.java rename to spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJsonIntegrationTest.java index 2789ed0a8c..c74fd83e89 100644 --- a/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJsonTest.java +++ b/spring-custom-aop/spring-custom-aop/src/test/java/org/baeldung/boot/FooJsonIntegrationTest.java @@ -12,7 +12,7 @@ import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @JsonTest -public class FooJsonTest { +public class FooJsonIntegrationTest { @Autowired private JacksonTester json; diff --git a/spring-data-elasticsearch/src/test/java/com/baeldung/elasticsearch/ElasticSearchUnitTests.java b/spring-data-elasticsearch/src/test/java/com/baeldung/elasticsearch/ElasticSearchUnitTest.java similarity index 99% rename from spring-data-elasticsearch/src/test/java/com/baeldung/elasticsearch/ElasticSearchUnitTests.java rename to spring-data-elasticsearch/src/test/java/com/baeldung/elasticsearch/ElasticSearchUnitTest.java index 4ab5d40788..410b000e29 100644 --- a/spring-data-elasticsearch/src/test/java/com/baeldung/elasticsearch/ElasticSearchUnitTests.java +++ b/spring-data-elasticsearch/src/test/java/com/baeldung/elasticsearch/ElasticSearchUnitTest.java @@ -24,7 +24,7 @@ import org.junit.Test; import com.alibaba.fastjson.JSON; -public class ElasticSearchUnitTests { +public class ElasticSearchUnitTest { private List listOfPersons = new ArrayList(); String jsonString = null; Client client = null; diff --git a/spring-data-neo4j/src/test/java/com/baeldung/neo4j/Neo4JServerTest.java b/spring-data-neo4j/src/test/java/com/baeldung/neo4j/Neo4JServerLiveTest.java similarity index 98% rename from spring-data-neo4j/src/test/java/com/baeldung/neo4j/Neo4JServerTest.java rename to spring-data-neo4j/src/test/java/com/baeldung/neo4j/Neo4JServerLiveTest.java index e959e0237d..bf187ccb2d 100644 --- a/spring-data-neo4j/src/test/java/com/baeldung/neo4j/Neo4JServerTest.java +++ b/spring-data-neo4j/src/test/java/com/baeldung/neo4j/Neo4JServerLiveTest.java @@ -15,7 +15,7 @@ import org.neo4j.driver.v1.Session; import org.neo4j.driver.v1.StatementResult; @Ignore -public class Neo4JServerTest { +public class Neo4JServerLiveTest { @Test public void standAloneDriver() { diff --git a/spring-hibernate4/src/test/java/com/baeldung/hibernate/oneToMany/main/HibernateOneToManyAnnotationMainTest.java b/spring-hibernate4/src/test/java/com/baeldung/hibernate/oneToMany/main/HibernateOneToManyAnnotationMainIntegrationTest.java similarity index 95% rename from spring-hibernate4/src/test/java/com/baeldung/hibernate/oneToMany/main/HibernateOneToManyAnnotationMainTest.java rename to spring-hibernate4/src/test/java/com/baeldung/hibernate/oneToMany/main/HibernateOneToManyAnnotationMainIntegrationTest.java index e2d2bf9143..b3a091ebf1 100644 --- a/spring-hibernate4/src/test/java/com/baeldung/hibernate/oneToMany/main/HibernateOneToManyAnnotationMainTest.java +++ b/spring-hibernate4/src/test/java/com/baeldung/hibernate/oneToMany/main/HibernateOneToManyAnnotationMainIntegrationTest.java @@ -21,13 +21,13 @@ import org.junit.Test; import com.baeldung.hibernate.oneToMany.model.Cart; import com.baeldung.hibernate.oneToMany.model.Items; -public class HibernateOneToManyAnnotationMainTest { +public class HibernateOneToManyAnnotationMainIntegrationTest { private static SessionFactory sessionFactory; private Session session; - public HibernateOneToManyAnnotationMainTest() { + public HibernateOneToManyAnnotationMainIntegrationTest() { } @BeforeClass diff --git a/spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderTest.java b/spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderIntegrationTest.java similarity index 92% rename from spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderTest.java rename to spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderIntegrationTest.java index c0761939ad..f87d26b144 100644 --- a/spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderTest.java +++ b/spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderIntegrationTest.java @@ -5,7 +5,7 @@ import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; -public class DefaultTextMessageSenderTest { +public class DefaultTextMessageSenderIntegrationTest { private static SampleJmsMessageSender messageProducer; diff --git a/spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitWebLiveScraping.java b/spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitWebScrapingLiveTest.java similarity index 96% rename from spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitWebLiveScraping.java rename to spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitWebScrapingLiveTest.java index e8869e8232..479b02e77f 100644 --- a/spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitWebLiveScraping.java +++ b/spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitWebScrapingLiveTest.java @@ -12,7 +12,7 @@ import com.gargoylesoftware.htmlunit.html.HtmlAnchor; import com.gargoylesoftware.htmlunit.html.HtmlHeading1; import com.gargoylesoftware.htmlunit.html.HtmlPage; -public class HtmlUnitWebLiveScraping { +public class HtmlUnitWebScrapingLiveTest { private WebClient webClient; diff --git a/spring-mvc-java/src/test/java/com/baeldung/web/controller/ClassValidationMvcTest.java b/spring-mvc-java/src/test/java/com/baeldung/web/controller/ClassValidationMvcIntegrationTest.java similarity index 97% rename from spring-mvc-java/src/test/java/com/baeldung/web/controller/ClassValidationMvcTest.java rename to spring-mvc-java/src/test/java/com/baeldung/web/controller/ClassValidationMvcIntegrationTest.java index 7a3317df06..a86f71011c 100644 --- a/spring-mvc-java/src/test/java/com/baeldung/web/controller/ClassValidationMvcTest.java +++ b/spring-mvc-java/src/test/java/com/baeldung/web/controller/ClassValidationMvcIntegrationTest.java @@ -13,7 +13,7 @@ import org.springframework.test.web.servlet.MockMvc; import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.test.web.servlet.setup.MockMvcBuilders; -public class ClassValidationMvcTest { +public class ClassValidationMvcIntegrationTest { private MockMvc mockMvc; @Before diff --git a/spring-mvc-java/src/test/java/com/baeldung/web/controller/CustomMVCValidatorTest.java b/spring-mvc-java/src/test/java/com/baeldung/web/controller/CustomMVCValidatorIntegrationTest.java similarity index 94% rename from spring-mvc-java/src/test/java/com/baeldung/web/controller/CustomMVCValidatorTest.java rename to spring-mvc-java/src/test/java/com/baeldung/web/controller/CustomMVCValidatorIntegrationTest.java index 069cc8e141..013cf9c91d 100644 --- a/spring-mvc-java/src/test/java/com/baeldung/web/controller/CustomMVCValidatorTest.java +++ b/spring-mvc-java/src/test/java/com/baeldung/web/controller/CustomMVCValidatorIntegrationTest.java @@ -13,7 +13,7 @@ import org.springframework.test.web.servlet.MockMvc; import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.test.web.servlet.setup.MockMvcBuilders; -public class CustomMVCValidatorTest { +public class CustomMVCValidatorIntegrationTest { private MockMvc mockMvc; diff --git a/spring-rest/src/test/java/org/baeldung/uribuilder/SpringUriBuilderTest.java b/spring-rest/src/test/java/org/baeldung/uribuilder/SpringUriBuilderIntegrationTest.java similarity index 97% rename from spring-rest/src/test/java/org/baeldung/uribuilder/SpringUriBuilderTest.java rename to spring-rest/src/test/java/org/baeldung/uribuilder/SpringUriBuilderIntegrationTest.java index 84ae1063d9..bdc24f7f34 100644 --- a/spring-rest/src/test/java/org/baeldung/uribuilder/SpringUriBuilderTest.java +++ b/spring-rest/src/test/java/org/baeldung/uribuilder/SpringUriBuilderIntegrationTest.java @@ -8,7 +8,7 @@ import org.junit.Test; import org.springframework.web.util.UriComponents; import org.springframework.web.util.UriComponentsBuilder; -public class SpringUriBuilderTest { +public class SpringUriBuilderIntegrationTest { @Test public void constructUri() { diff --git a/spring-security-mvc-boot/src/test/java/org/baeldung/web/MultipleEntryPointsTest.java b/spring-security-mvc-boot/src/test/java/org/baeldung/web/MultipleEntryPointsIntegrationTest.java similarity index 98% rename from spring-security-mvc-boot/src/test/java/org/baeldung/web/MultipleEntryPointsTest.java rename to spring-security-mvc-boot/src/test/java/org/baeldung/web/MultipleEntryPointsIntegrationTest.java index 050d2363af..737b716209 100644 --- a/spring-security-mvc-boot/src/test/java/org/baeldung/web/MultipleEntryPointsTest.java +++ b/spring-security-mvc-boot/src/test/java/org/baeldung/web/MultipleEntryPointsIntegrationTest.java @@ -20,7 +20,7 @@ import static org.springframework.security.test.web.servlet.request.SecurityMock @RunWith(SpringRunner.class) @WebAppConfiguration @SpringBootTest(classes = MultipleEntryPointsApplication.class) -public class MultipleEntryPointsTest { +public class MultipleEntryPointsIntegrationTest { @Autowired private WebApplicationContext wac; diff --git a/spring-state-machine/src/test/java/com/baeldung/spring/statemachine/StateMachineBuilderTest.java b/spring-state-machine/src/test/java/com/baeldung/spring/statemachine/StateMachineBuilderIntegrationTest.java similarity index 95% rename from spring-state-machine/src/test/java/com/baeldung/spring/statemachine/StateMachineBuilderTest.java rename to spring-state-machine/src/test/java/com/baeldung/spring/statemachine/StateMachineBuilderIntegrationTest.java index a5e4d07f18..c1de8b8958 100644 --- a/spring-state-machine/src/test/java/com/baeldung/spring/statemachine/StateMachineBuilderTest.java +++ b/spring-state-machine/src/test/java/com/baeldung/spring/statemachine/StateMachineBuilderIntegrationTest.java @@ -6,7 +6,7 @@ import org.junit.Test; import org.springframework.statemachine.StateMachine; import org.springframework.statemachine.config.StateMachineBuilder; -public class StateMachineBuilderTest { +public class StateMachineBuilderIntegrationTest { @Test public void whenUseStateMachineBuilder_thenBuildSuccessAndMachineWorks() throws Exception { diff --git a/testing/src/test/java/com/baeldung/mutation/test/TestPalindrome.java b/testing/src/test/java/com/baeldung/mutation/test/PalindromeUnitTest.java similarity index 96% rename from testing/src/test/java/com/baeldung/mutation/test/TestPalindrome.java rename to testing/src/test/java/com/baeldung/mutation/test/PalindromeUnitTest.java index 11ed966b16..5321735469 100644 --- a/testing/src/test/java/com/baeldung/mutation/test/TestPalindrome.java +++ b/testing/src/test/java/com/baeldung/mutation/test/PalindromeUnitTest.java @@ -7,7 +7,7 @@ import org.junit.Test; import com.baeldung.testing.mutation.Palindrome; -public class TestPalindrome { +public class PalindromeUnitTest { @Test public void whenEmptyString_thanAccept() { Palindrome palindromeTester = new Palindrome(); diff --git a/testing/src/test/java/com/baeldung/testing/assertj/AssertJCoreTest.java b/testing/src/test/java/com/baeldung/testing/assertj/AssertJCoreUnitTest.java similarity index 99% rename from testing/src/test/java/com/baeldung/testing/assertj/AssertJCoreTest.java rename to testing/src/test/java/com/baeldung/testing/assertj/AssertJCoreUnitTest.java index 2e95355df5..6836bb79c5 100644 --- a/testing/src/test/java/com/baeldung/testing/assertj/AssertJCoreTest.java +++ b/testing/src/test/java/com/baeldung/testing/assertj/AssertJCoreUnitTest.java @@ -14,7 +14,7 @@ import java.util.NoSuchElementException; import static org.assertj.core.api.Assertions.*; -public class AssertJCoreTest { +public class AssertJCoreUnitTest { @Test public void whenComparingReferences_thenNotEqual() throws Exception { diff --git a/testing/src/test/java/com/baeldung/testing/assertj/AssertJGuavaTest.java b/testing/src/test/java/com/baeldung/testing/assertj/AssertJGuavaUnitTest.java similarity index 98% rename from testing/src/test/java/com/baeldung/testing/assertj/AssertJGuavaTest.java rename to testing/src/test/java/com/baeldung/testing/assertj/AssertJGuavaUnitTest.java index d226c3fce9..2056d7e61a 100644 --- a/testing/src/test/java/com/baeldung/testing/assertj/AssertJGuavaTest.java +++ b/testing/src/test/java/com/baeldung/testing/assertj/AssertJGuavaUnitTest.java @@ -19,7 +19,7 @@ import java.util.HashSet; import static org.assertj.guava.api.Assertions.assertThat; import static org.assertj.guava.api.Assertions.entry; -public class AssertJGuavaTest { +public class AssertJGuavaUnitTest { @Test public void givenTwoEmptyFiles_whenComparingContent_thenEqual() throws Exception { diff --git a/testing/src/test/java/com/baeldung/testing/assertj/AssertJJava8Test.java b/testing/src/test/java/com/baeldung/testing/assertj/AssertJJava8UnitTest.java similarity index 99% rename from testing/src/test/java/com/baeldung/testing/assertj/AssertJJava8Test.java rename to testing/src/test/java/com/baeldung/testing/assertj/AssertJJava8UnitTest.java index a671a49da1..7ec6d0caa7 100644 --- a/testing/src/test/java/com/baeldung/testing/assertj/AssertJJava8Test.java +++ b/testing/src/test/java/com/baeldung/testing/assertj/AssertJJava8UnitTest.java @@ -14,7 +14,7 @@ import static java.time.LocalDate.ofYearDay; import static java.util.Arrays.asList; import static org.assertj.core.api.Assertions.assertThat; -public class AssertJJava8Test { +public class AssertJJava8UnitTest { @Test public void givenOptional_shouldAssert() throws Exception { diff --git a/testng/src/test/java/baeldung/com/DependentTests.java b/testng/src/test/java/baeldung/com/DependentUnitTest.java similarity index 87% rename from testng/src/test/java/baeldung/com/DependentTests.java rename to testng/src/test/java/baeldung/com/DependentUnitTest.java index 8d3bbfc11b..315014f1cf 100644 --- a/testng/src/test/java/baeldung/com/DependentTests.java +++ b/testng/src/test/java/baeldung/com/DependentUnitTest.java @@ -5,9 +5,9 @@ import org.slf4j.LoggerFactory; import org.testng.Assert; import org.testng.annotations.Test; -public class DependentTests { +public class DependentUnitTest { - private static final Logger LOGGER = LoggerFactory.getLogger(DependentTests.class); + private static final Logger LOGGER = LoggerFactory.getLogger(DependentUnitTest.class); private String email = "abc@qwe.com"; diff --git a/testng/src/test/java/baeldung/com/TestGroup.java b/testng/src/test/java/baeldung/com/GroupIntegrationTest.java similarity index 92% rename from testng/src/test/java/baeldung/com/TestGroup.java rename to testng/src/test/java/baeldung/com/GroupIntegrationTest.java index a592000bed..8bb389aeae 100644 --- a/testng/src/test/java/baeldung/com/TestGroup.java +++ b/testng/src/test/java/baeldung/com/GroupIntegrationTest.java @@ -4,7 +4,7 @@ import org.testng.annotations.AfterGroups; import org.testng.annotations.BeforeGroups; import org.testng.annotations.Test; -public class TestGroup { +public class GroupIntegrationTest { @BeforeGroups("database") public void setupDB() { diff --git a/testng/src/test/java/baeldung/com/MultiThreadedTests.java b/testng/src/test/java/baeldung/com/MultiThreadedIntegrationTest.java similarity index 84% rename from testng/src/test/java/baeldung/com/MultiThreadedTests.java rename to testng/src/test/java/baeldung/com/MultiThreadedIntegrationTest.java index 4476eaa7a0..fc6c45ff55 100644 --- a/testng/src/test/java/baeldung/com/MultiThreadedTests.java +++ b/testng/src/test/java/baeldung/com/MultiThreadedIntegrationTest.java @@ -3,7 +3,7 @@ package baeldung.com; import org.testng.Assert; import org.testng.annotations.Test; -public class MultiThreadedTests { +public class MultiThreadedIntegrationTest { @Test(threadPoolSize = 5, invocationCount = 10, timeOut = 1000) public void givenMethod_whenRunInThreads_thenCorrect() { diff --git a/testng/src/test/java/baeldung/com/ParametrizedTests.java b/testng/src/test/java/baeldung/com/ParametrizedUnitTest.java similarity index 93% rename from testng/src/test/java/baeldung/com/ParametrizedTests.java rename to testng/src/test/java/baeldung/com/ParametrizedUnitTest.java index 693a1b5cde..cf12d879de 100644 --- a/testng/src/test/java/baeldung/com/ParametrizedTests.java +++ b/testng/src/test/java/baeldung/com/ParametrizedUnitTest.java @@ -7,9 +7,9 @@ import org.testng.annotations.DataProvider; import org.testng.annotations.Parameters; import org.testng.annotations.Test; -public class ParametrizedTests { +public class ParametrizedUnitTest { - private static final Logger LOGGER = LoggerFactory.getLogger(ParametrizedTests.class); + private static final Logger LOGGER = LoggerFactory.getLogger(ParametrizedUnitTest.class); @Test @Parameters({"value", "isEven"}) diff --git a/testng/src/test/java/baeldung/com/PriorityTest.java b/testng/src/test/java/baeldung/com/PriorityUnitTest.java similarity index 93% rename from testng/src/test/java/baeldung/com/PriorityTest.java rename to testng/src/test/java/baeldung/com/PriorityUnitTest.java index d014d5c920..4985cbaf55 100644 --- a/testng/src/test/java/baeldung/com/PriorityTest.java +++ b/testng/src/test/java/baeldung/com/PriorityUnitTest.java @@ -3,7 +3,7 @@ package baeldung.com; import org.testng.Assert; import org.testng.annotations.Test; -public class PriorityTest { +public class PriorityUnitTest { private String testString = "10"; private int testInt = 23; diff --git a/testng/src/test/java/baeldung/com/RegistrationTest.java b/testng/src/test/java/baeldung/com/RegistrationUnitTest.java similarity index 78% rename from testng/src/test/java/baeldung/com/RegistrationTest.java rename to testng/src/test/java/baeldung/com/RegistrationUnitTest.java index e9d744902b..663bb9c738 100644 --- a/testng/src/test/java/baeldung/com/RegistrationTest.java +++ b/testng/src/test/java/baeldung/com/RegistrationUnitTest.java @@ -4,8 +4,8 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.annotations.Test; -public class RegistrationTest { - private static final Logger LOGGER = LoggerFactory.getLogger(RegistrationTest.class); +public class RegistrationUnitTest { + private static final Logger LOGGER = LoggerFactory.getLogger(RegistrationUnitTest.class); @Test public void whenCalledFromSuite_thanOK() { diff --git a/testng/src/test/java/baeldung/com/SignInTest.java b/testng/src/test/java/baeldung/com/SignInUnitTest.java similarity index 80% rename from testng/src/test/java/baeldung/com/SignInTest.java rename to testng/src/test/java/baeldung/com/SignInUnitTest.java index d5cad78de0..85ccd43095 100644 --- a/testng/src/test/java/baeldung/com/SignInTest.java +++ b/testng/src/test/java/baeldung/com/SignInUnitTest.java @@ -4,8 +4,8 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.annotations.Test; -public class SignInTest { - private static final Logger LOGGER = LoggerFactory.getLogger(SignInTest.class); +public class SignInUnitTest { + private static final Logger LOGGER = LoggerFactory.getLogger(SignInUnitTest.class); @Test public void whenCalledFromSuite_thanOK() { diff --git a/testng/src/test/java/baeldung/com/SimpleTest.java b/testng/src/test/java/baeldung/com/SimpleUnitTest.java similarity index 86% rename from testng/src/test/java/baeldung/com/SimpleTest.java rename to testng/src/test/java/baeldung/com/SimpleUnitTest.java index 24bf3a6f01..a46ee90ce2 100644 --- a/testng/src/test/java/baeldung/com/SimpleTest.java +++ b/testng/src/test/java/baeldung/com/SimpleUnitTest.java @@ -6,7 +6,7 @@ import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; -public class SimpleTest extends TestNG { +public class SimpleUnitTest extends TestNG { private int number; @BeforeClass diff --git a/testng/src/test/java/baeldung/com/SummationServiceTest.java b/testng/src/test/java/baeldung/com/SummationServiceIntegrationTest.java similarity index 92% rename from testng/src/test/java/baeldung/com/SummationServiceTest.java rename to testng/src/test/java/baeldung/com/SummationServiceIntegrationTest.java index ceed53ca42..f8c9bdff43 100644 --- a/testng/src/test/java/baeldung/com/SummationServiceTest.java +++ b/testng/src/test/java/baeldung/com/SummationServiceIntegrationTest.java @@ -9,8 +9,8 @@ import org.testng.annotations.*; import java.util.ArrayList; import java.util.List; -public class SummationServiceTest extends TestNG { - private static final Logger LOGGER = LoggerFactory.getLogger(DependentTests.class); +public class SummationServiceIntegrationTest extends TestNG { + private static final Logger LOGGER = LoggerFactory.getLogger(DependentUnitTest.class); private List numbers; diff --git a/testng/src/test/java/baeldung/com/TimeOutTest.java b/testng/src/test/java/baeldung/com/TimeOutIntegrationTest.java similarity index 79% rename from testng/src/test/java/baeldung/com/TimeOutTest.java rename to testng/src/test/java/baeldung/com/TimeOutIntegrationTest.java index f84367a972..92ea847bcf 100644 --- a/testng/src/test/java/baeldung/com/TimeOutTest.java +++ b/testng/src/test/java/baeldung/com/TimeOutIntegrationTest.java @@ -2,7 +2,7 @@ package baeldung.com; import org.testng.annotations.Test; -public class TimeOutTest { +public class TimeOutIntegrationTest { @Test(timeOut = 1000, enabled = false) public void givenExecution_takeMoreTime_thenFail() { diff --git a/testng/src/test/resources/parametrized_testng.xml b/testng/src/test/resources/parametrized_testng.xml index c8ec7209f8..bd70945457 100644 --- a/testng/src/test/resources/parametrized_testng.xml +++ b/testng/src/test/resources/parametrized_testng.xml @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/testng/src/test/resources/test_group.xml b/testng/src/test/resources/test_group.xml index 77edb85cdc..c656e6145d 100644 --- a/testng/src/test/resources/test_group.xml +++ b/testng/src/test/resources/test_group.xml @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/testng/src/test/resources/test_setup.xml b/testng/src/test/resources/test_setup.xml index 9197f9fd0e..2e466c91cc 100644 --- a/testng/src/test/resources/test_setup.xml +++ b/testng/src/test/resources/test_setup.xml @@ -7,7 +7,7 @@ - + diff --git a/testng/src/test/resources/test_suite.xml b/testng/src/test/resources/test_suite.xml index 4d0b17cbe8..fb92b4f61b 100644 --- a/testng/src/test/resources/test_suite.xml +++ b/testng/src/test/resources/test_suite.xml @@ -5,9 +5,9 @@ - - - + + + \ No newline at end of file diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jacksoninject/JacksonInjectTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jacksoninject/JacksonInjectUnitTest.java similarity index 96% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jacksoninject/JacksonInjectTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jacksoninject/JacksonInjectUnitTest.java index e6c12f14a6..2ea90f9c40 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jacksoninject/JacksonInjectTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jacksoninject/JacksonInjectUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JacksonInjectTest { +public class JacksonInjectUnitTest { @Test public void whenDeserializingUsingJacksonInject_thenCorrect() throws IOException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonanysetter/JsonAnySetterTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonanysetter/JsonAnySetterUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonanysetter/JsonAnySetterTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonanysetter/JsonAnySetterUnitTest.java index 3d49d699ac..2610d9caee 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonanysetter/JsonAnySetterTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonanysetter/JsonAnySetterUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonAnySetterTest { +public class JsonAnySetterUnitTest { @Test public void whenDeserializingUsingJsonAnySetter_thenCorrect() throws IOException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsoncreator/JsonCreatorTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsoncreator/JsonCreatorUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsoncreator/JsonCreatorTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsoncreator/JsonCreatorUnitTest.java index b40c639042..1b1986417d 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsoncreator/JsonCreatorTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsoncreator/JsonCreatorUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonCreatorTest { +public class JsonCreatorUnitTest { @Test public void whenDeserializingUsingJsonCreator_thenCorrect() throws IOException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsondeserialize/JsonDeserializeTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsondeserialize/JsonDeserializeUnitTest.java similarity index 96% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsondeserialize/JsonDeserializeTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsondeserialize/JsonDeserializeUnitTest.java index 77dde1b59b..f7b143c234 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsondeserialize/JsonDeserializeTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsondeserialize/JsonDeserializeUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonDeserializeTest { +public class JsonDeserializeUnitTest { @Test public void whenDeserializingUsingJsonDeserialize_thenCorrect() throws IOException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonsetter/JsonSetterTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonsetter/JsonSetterUnitTest.java similarity index 96% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonsetter/JsonSetterTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonsetter/JsonSetterUnitTest.java index 3a99c972b6..d4630259b9 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonsetter/JsonSetterTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/deserialization/jsonsetter/JsonSetterUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonSetterTest { +public class JsonSetterUnitTest { @Test public void whenDeserializingUsingJsonSetter_thenCorrect() throws IOException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonfilter/JsonFilterTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonfilter/JsonFilterUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonfilter/JsonFilterTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonfilter/JsonFilterUnitTest.java index cd18eed6fe..133f8b1f21 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonfilter/JsonFilterTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonfilter/JsonFilterUnitTest.java @@ -16,7 +16,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonFilterTest { +public class JsonFilterUnitTest { @Test public void whenSerializingUsingJsonFilter_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonformat/JsonFormatTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonformat/JsonFormatUnitTest.java similarity index 98% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonformat/JsonFormatTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonformat/JsonFormatUnitTest.java index 8f35cf0270..373e8d716a 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonformat/JsonFormatTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonformat/JsonFormatUnitTest.java @@ -19,7 +19,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonFormatTest { +public class JsonFormatUnitTest { @Test public void whenSerializingUsingJsonFormat_thenCorrect() throws JsonProcessingException, ParseException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonidentityinfo/JsonIdentityInfoTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonidentityinfo/JsonIdentityInfoUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonidentityinfo/JsonIdentityInfoTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonidentityinfo/JsonIdentityInfoUnitTest.java index e3e53ebdbd..d816984a21 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonidentityinfo/JsonIdentityInfoTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonidentityinfo/JsonIdentityInfoUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonIdentityInfoTest { +public class JsonIdentityInfoUnitTest { @Test public void whenSerializingUsingJsonIdentityInfo_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonproperty/JsonPropertyTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonproperty/JsonPropertyUnitTest.java similarity index 98% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonproperty/JsonPropertyTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonproperty/JsonPropertyUnitTest.java index a05c3b2294..191330be86 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonproperty/JsonPropertyTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonproperty/JsonPropertyUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonPropertyTest { +public class JsonPropertyUnitTest { @Test public void whenSerializingUsingJsonProperty_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonunwrapped/JsonUnwrappedTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonunwrapped/JsonUnwrappedUnitTest.java similarity index 96% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonunwrapped/JsonUnwrappedTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonunwrapped/JsonUnwrappedUnitTest.java index 6fff64c64e..528a901d34 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonunwrapped/JsonUnwrappedTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonunwrapped/JsonUnwrappedUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonUnwrappedTest { +public class JsonUnwrappedUnitTest { @Test public void whenSerializingUsingJsonUnwrapped_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonview/JsonViewTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonview/JsonViewUnitTest.java similarity index 98% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonview/JsonViewTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonview/JsonViewUnitTest.java index 3e06b0f669..c521136b79 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonview/JsonViewTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/jsonview/JsonViewUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonViewTest { +public class JsonViewUnitTest { @Test public void whenSerializingUsingJsonView_andInternalView_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/reference/ReferenceTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/reference/ReferenceUnitTest.java similarity index 98% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/reference/ReferenceTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/reference/ReferenceUnitTest.java index 34b223c98f..39c145f7ed 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/reference/ReferenceTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/general/reference/ReferenceUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class ReferenceTest { +public class ReferenceUnitTest { @Test public void whenSerializingUsingReference_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonautodetect/JsonAutoDetectTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonautodetect/JsonAutoDetectUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonautodetect/JsonAutoDetectTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonautodetect/JsonAutoDetectUnitTest.java index 87d3e7ddbf..286059d55a 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonautodetect/JsonAutoDetectTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonautodetect/JsonAutoDetectUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonAutoDetectTest { +public class JsonAutoDetectUnitTest { @Test public void whenSerializingUsingJsonAutoDetect_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignore/JsonIgnoreTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignore/JsonIgnoreUnitTest.java similarity index 96% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignore/JsonIgnoreTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignore/JsonIgnoreUnitTest.java index eeff2069b6..39f8613385 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignore/JsonIgnoreTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignore/JsonIgnoreUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonIgnoreTest { +public class JsonIgnoreUnitTest { @Test public void whenSerializingUsingJsonIgnore_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoreproperties/JsonIgnorePropertiesTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoreproperties/JsonIgnorePropertiesUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoreproperties/JsonIgnorePropertiesTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoreproperties/JsonIgnorePropertiesUnitTest.java index f0e6f1b684..115bd3358f 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoreproperties/JsonIgnorePropertiesTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoreproperties/JsonIgnorePropertiesUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonIgnorePropertiesTest { +public class JsonIgnorePropertiesUnitTest { @Test public void whenSerializingUsingJsonIgnoreProperties_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoretype/JsonIgnoreTypeTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoretype/JsonIgnoreTypeUnitTest.java similarity index 96% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoretype/JsonIgnoreTypeTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoretype/JsonIgnoreTypeUnitTest.java index dbb12b46d5..f615fb1726 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoretype/JsonIgnoreTypeTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsonignoretype/JsonIgnoreTypeUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonIgnoreTypeTest { +public class JsonIgnoreTypeUnitTest { @Test public void whenSerializingUsingJsonIgnoreType_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsoninclude/JsonIncludeTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsoninclude/JsonIncludeUnitTest.java similarity index 96% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsoninclude/JsonIncludeTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsoninclude/JsonIncludeUnitTest.java index 7d24d006e8..79ab03d4f3 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsoninclude/JsonIncludeTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/inclusion/jsoninclude/JsonIncludeUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonIncludeTest { +public class JsonIncludeUnitTest { @Test public void whenSerializingUsingJsonInclude_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/custom/CustomTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/custom/CustomUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/custom/CustomTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/custom/CustomUnitTest.java index aa885d6804..4cc2ec891f 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/custom/CustomTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/custom/CustomUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class CustomTest { +public class CustomUnitTest { @Test public void whenSerializingUsingCustom_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/disable/DisableTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/disable/DisableUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/disable/DisableTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/disable/DisableUnitTest.java index b66adea8c8..8b4752d707 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/disable/DisableTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/disable/DisableUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class DisableTest { +public class DisableUnitTest { @Test public void whenSerializingUsingDisable_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/mixin/MixInTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/mixin/MixInUnitTest.java similarity index 98% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/mixin/MixInTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/mixin/MixInUnitTest.java index 7c021e5a4f..a0ce8cb4bf 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/mixin/MixInTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/miscellaneous/mixin/MixInUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class MixInTest { +public class MixInUnitTest { @Test public void whenSerializingUsingMixIn_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/polymorphism/PolymorphismTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/polymorphism/PolymorphismUnitTest.java similarity index 98% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/polymorphism/PolymorphismTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/polymorphism/PolymorphismUnitTest.java index 702c39eb11..c3f36e162e 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/polymorphism/PolymorphismTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/polymorphism/PolymorphismUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class PolymorphismTest { +public class PolymorphismUnitTest { @Test public void whenSerializingUsingPolymorphism_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonanygetter/JsonAnyGetterTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonanygetter/JsonAnyGetterUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonanygetter/JsonAnyGetterTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonanygetter/JsonAnyGetterUnitTest.java index efbc271b2a..df3272bc39 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonanygetter/JsonAnyGetterTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonanygetter/JsonAnyGetterUnitTest.java @@ -15,7 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonAnyGetterTest { +public class JsonAnyGetterUnitTest { @Test public void whenSerializingUsingJsonAnyGetter_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsongetter/JsonGetterTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsongetter/JsonGetterUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsongetter/JsonGetterTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsongetter/JsonGetterUnitTest.java index 4df2e98cab..9151bb9e7c 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsongetter/JsonGetterTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsongetter/JsonGetterUnitTest.java @@ -13,7 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonGetterTest { +public class JsonGetterUnitTest { @Test public void whenSerializingUsingJsonGetter_andNoPropertyNameSet_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonpropertyorder/JsonPropertyOrderTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonpropertyorder/JsonPropertyOrderUnitTest.java similarity index 96% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonpropertyorder/JsonPropertyOrderTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonpropertyorder/JsonPropertyOrderUnitTest.java index cfd0f5a28b..42999b5cc6 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonpropertyorder/JsonPropertyOrderTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonpropertyorder/JsonPropertyOrderUnitTest.java @@ -13,7 +13,7 @@ import static org.hamcrest.MatcherAssert.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonPropertyOrderTest { +public class JsonPropertyOrderUnitTest { @Test public void whenSerializingUsingJsonPropertyOrder_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrawvalue/JsonRawValueTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrawvalue/JsonRawValueUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrawvalue/JsonRawValueTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrawvalue/JsonRawValueUnitTest.java index 9d15be149a..74990f804f 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrawvalue/JsonRawValueTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrawvalue/JsonRawValueUnitTest.java @@ -12,7 +12,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonRawValueTest { +public class JsonRawValueUnitTest { @Test public void whenSerializingUsingJsonRawValue_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrootname/JsonRootNameTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrootname/JsonRootNameUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrootname/JsonRootNameTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrootname/JsonRootNameUnitTest.java index 6d63d28eaf..86762edf55 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrootname/JsonRootNameTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonrootname/JsonRootNameUnitTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonRootNameTest { +public class JsonRootNameUnitTest { @Test public void whenSerializingUsingJsonRootName_thenCorrect() throws JsonProcessingException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonserialize/JsonSerializeTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonserialize/JsonSerializeUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonserialize/JsonSerializeTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonserialize/JsonSerializeUnitTest.java index 4b15f1f459..e6ecfa4df6 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonserialize/JsonSerializeTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonserialize/JsonSerializeUnitTest.java @@ -16,7 +16,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonSerializeTest { +public class JsonSerializeUnitTest { @Test public void whenSerializingUsingJsonSerialize_thenCorrect() throws JsonProcessingException, ParseException { diff --git a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonvalue/JsonValueTest.java b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonvalue/JsonValueUnitTest.java similarity index 97% rename from video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonvalue/JsonValueTest.java rename to video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonvalue/JsonValueUnitTest.java index 91541f60f2..e82c6fff13 100644 --- a/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonvalue/JsonValueTest.java +++ b/video-tutorials/jackson-annotations/src/test/java/com/baeldung/jacksonannotation/serialization/jsonvalue/JsonValueUnitTest.java @@ -12,7 +12,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Alex Theedom www.baeldung.com * @version 1.0 */ -public class JsonValueTest { +public class JsonValueUnitTest { @Test public void whenSerializingUsingJsonValue_thenCorrect() throws JsonProcessingException { diff --git a/wicket/src/main/test/java/com/baeldung/wicket/examples/TestHomePage.java b/wicket/src/main/test/java/com/baeldung/wicket/examples/HomePageIntegrationTest.java similarity index 93% rename from wicket/src/main/test/java/com/baeldung/wicket/examples/TestHomePage.java rename to wicket/src/main/test/java/com/baeldung/wicket/examples/HomePageIntegrationTest.java index 7015ffd255..491ceefb16 100644 --- a/wicket/src/main/test/java/com/baeldung/wicket/examples/TestHomePage.java +++ b/wicket/src/main/test/java/com/baeldung/wicket/examples/HomePageIntegrationTest.java @@ -4,7 +4,7 @@ import org.apache.wicket.util.tester.WicketTester; import org.junit.Before; import org.junit.Test; -public class TestHomePage { +public class HomePageIntegrationTest { private WicketTester tester; @Before diff --git a/xml/src/test/java/com/baeldung/xml/jibx/CustomerTest.java b/xml/src/test/java/com/baeldung/xml/jibx/CustomerIntegrationTest.java similarity index 98% rename from xml/src/test/java/com/baeldung/xml/jibx/CustomerTest.java rename to xml/src/test/java/com/baeldung/xml/jibx/CustomerIntegrationTest.java index 8b14277799..be28dfe00a 100644 --- a/xml/src/test/java/com/baeldung/xml/jibx/CustomerTest.java +++ b/xml/src/test/java/com/baeldung/xml/jibx/CustomerIntegrationTest.java @@ -11,7 +11,7 @@ import java.io.InputStream; import static junit.framework.Assert.assertEquals; -public class CustomerTest { +public class CustomerIntegrationTest { @Test public void whenUnmarshalXML_ThenFieldsAreMapped() throws JiBXException, FileNotFoundException { diff --git a/xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectAnnotationTest.java b/xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectAnnotationUnitTest.java similarity index 96% rename from xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectAnnotationTest.java rename to xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectAnnotationUnitTest.java index ed74086ed6..2b9c03a467 100644 --- a/xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectAnnotationTest.java +++ b/xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectAnnotationUnitTest.java @@ -11,7 +11,7 @@ import java.io.FileReader; import static org.junit.Assert.assertNotNull; -public class ComplexXmlToObjectAnnotationTest { +public class ComplexXmlToObjectAnnotationUnitTest { private XStream xstream = null; diff --git a/xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectCollectionTest.java b/xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectCollectionUnitTest.java similarity index 95% rename from xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectCollectionTest.java rename to xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectCollectionUnitTest.java index 02cdbd734f..ff969c2177 100644 --- a/xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectCollectionTest.java +++ b/xstream/src/test/java/com/baeldung/pojo/test/ComplexXmlToObjectCollectionUnitTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import java.io.FileNotFoundException; import java.io.FileReader; -public class ComplexXmlToObjectCollectionTest { +public class ComplexXmlToObjectCollectionUnitTest { private XStream xstream = null; diff --git a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAliasTest.java b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAliasIntegrationTest.java similarity index 95% rename from xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAliasTest.java rename to xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAliasIntegrationTest.java index b7c6a8b496..0e847ddbfc 100644 --- a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAliasTest.java +++ b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAliasIntegrationTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import java.io.FileNotFoundException; import java.io.FileReader; -public class XmlToObjectAliasTest { +public class XmlToObjectAliasIntegrationTest { private XStream xstream = null; diff --git a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAnnotationTest.java b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAnnotationIntegrationTest.java similarity index 95% rename from xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAnnotationTest.java rename to xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAnnotationIntegrationTest.java index c2bb859e70..24f4e38d5e 100644 --- a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAnnotationTest.java +++ b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectAnnotationIntegrationTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import java.io.FileNotFoundException; import java.io.FileReader; -public class XmlToObjectAnnotationTest { +public class XmlToObjectAnnotationIntegrationTest { private XStream xstream = null; diff --git a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectFieldAliasTest.java b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectFieldAliasIntegrationTest.java similarity index 95% rename from xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectFieldAliasTest.java rename to xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectFieldAliasIntegrationTest.java index 71e1cee809..1413372d74 100644 --- a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectFieldAliasTest.java +++ b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectFieldAliasIntegrationTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import java.io.FileNotFoundException; import java.io.FileReader; -public class XmlToObjectFieldAliasTest { +public class XmlToObjectFieldAliasIntegrationTest { private XStream xstream = null; diff --git a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIgnoreFieldsTest.java b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIgnoreFieldsIntegrationTest.java similarity index 95% rename from xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIgnoreFieldsTest.java rename to xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIgnoreFieldsIntegrationTest.java index 7726fef0fc..e0bea07ac3 100644 --- a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIgnoreFieldsTest.java +++ b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIgnoreFieldsIntegrationTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import java.io.FileNotFoundException; import java.io.FileReader; -public class XmlToObjectIgnoreFieldsTest { +public class XmlToObjectIgnoreFieldsIntegrationTest { private XStream xstream = null; diff --git a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectTest.java b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIntegrationTest.java similarity index 96% rename from xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectTest.java rename to xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIntegrationTest.java index b7d8f27e5f..d024b3517d 100644 --- a/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectTest.java +++ b/xstream/src/test/java/com/baeldung/pojo/test/XmlToObjectIntegrationTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import java.io.FileReader; -public class XmlToObjectTest { +public class XmlToObjectIntegrationTest { private XStream xstream = null; diff --git a/xstream/src/test/java/com/baeldung/test/XStreamJettisonTest.java b/xstream/src/test/java/com/baeldung/test/XStreamJettisonIntegrationTest.java similarity index 96% rename from xstream/src/test/java/com/baeldung/test/XStreamJettisonTest.java rename to xstream/src/test/java/com/baeldung/test/XStreamJettisonIntegrationTest.java index f37605cc98..265de461bf 100644 --- a/xstream/src/test/java/com/baeldung/test/XStreamJettisonTest.java +++ b/xstream/src/test/java/com/baeldung/test/XStreamJettisonIntegrationTest.java @@ -9,7 +9,7 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Test; -public class XStreamJettisonTest { +public class XStreamJettisonIntegrationTest { private Customer customer = null; diff --git a/xstream/src/test/java/com/baeldung/test/XStreamJsonHierarchicalTest.java b/xstream/src/test/java/com/baeldung/test/XStreamJsonHierarchicalIntegrationTest.java similarity index 96% rename from xstream/src/test/java/com/baeldung/test/XStreamJsonHierarchicalTest.java rename to xstream/src/test/java/com/baeldung/test/XStreamJsonHierarchicalIntegrationTest.java index 1e71cb7066..d714123aaa 100644 --- a/xstream/src/test/java/com/baeldung/test/XStreamJsonHierarchicalTest.java +++ b/xstream/src/test/java/com/baeldung/test/XStreamJsonHierarchicalIntegrationTest.java @@ -9,7 +9,7 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Test; -public class XStreamJsonHierarchicalTest { +public class XStreamJsonHierarchicalIntegrationTest { private Customer customer = null; private String dataJson = null; diff --git a/xstream/src/test/java/com/baeldung/utility/XStreamSimpleXmlTest.java b/xstream/src/test/java/com/baeldung/utility/XStreamSimpleXmlIntegrationTest.java similarity index 97% rename from xstream/src/test/java/com/baeldung/utility/XStreamSimpleXmlTest.java rename to xstream/src/test/java/com/baeldung/utility/XStreamSimpleXmlIntegrationTest.java index 83a965ce1b..b7eeb129f0 100644 --- a/xstream/src/test/java/com/baeldung/utility/XStreamSimpleXmlTest.java +++ b/xstream/src/test/java/com/baeldung/utility/XStreamSimpleXmlIntegrationTest.java @@ -9,7 +9,7 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Test; -public class XStreamSimpleXmlTest { +public class XStreamSimpleXmlIntegrationTest { private Customer customer; private String dataXml;