From cd9ab90fc857627079b9f57c7fc894fdd63f8669 Mon Sep 17 00:00:00 2001 From: parthiv39731 <70740707+parthiv39731@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:51:43 +0530 Subject: [PATCH] BAEL-7091 Moved to new module --- testing-modules/hamcrest/pom.xml | 12 ------------ testing-modules/testing-assertions/pom.xml | 12 ++++++++++++ .../assertnestedmap/AssertNestedMapUnitTest.java | 4 ++-- .../assertnestedmap/matchers/NestedMapMatcher.java | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) rename testing-modules/{hamcrest/src/test/java/com/baeldung/hamcrest => testing-assertions/src/test/java/com/baeldung}/assertnestedmap/AssertNestedMapUnitTest.java (95%) rename testing-modules/{hamcrest/src/test/java/com/baeldung/hamcrest => testing-assertions/src/test/java/com/baeldung}/assertnestedmap/matchers/NestedMapMatcher.java (94%) diff --git a/testing-modules/hamcrest/pom.xml b/testing-modules/hamcrest/pom.xml index b5a8277deb..df8c543edb 100644 --- a/testing-modules/hamcrest/pom.xml +++ b/testing-modules/hamcrest/pom.xml @@ -6,18 +6,6 @@ hamcrest 0.0.1-SNAPSHOT hamcrest - - - - org.apache.maven.plugins - maven-compiler-plugin - - 9 - 9 - - - - jar diff --git a/testing-modules/testing-assertions/pom.xml b/testing-modules/testing-assertions/pom.xml index 1da53bd77e..1f2b4e335d 100644 --- a/testing-modules/testing-assertions/pom.xml +++ b/testing-modules/testing-assertions/pom.xml @@ -4,6 +4,18 @@ 4.0.0 testing-assertions 0.0.1-SNAPSHOT + + + + org.apache.maven.plugins + maven-compiler-plugin + + 9 + 9 + + + + com.baeldung diff --git a/testing-modules/hamcrest/src/test/java/com/baeldung/hamcrest/assertnestedmap/AssertNestedMapUnitTest.java b/testing-modules/testing-assertions/src/test/java/com/baeldung/assertnestedmap/AssertNestedMapUnitTest.java similarity index 95% rename from testing-modules/hamcrest/src/test/java/com/baeldung/hamcrest/assertnestedmap/AssertNestedMapUnitTest.java rename to testing-modules/testing-assertions/src/test/java/com/baeldung/assertnestedmap/AssertNestedMapUnitTest.java index b5b4d652a0..7c48a5eb4a 100644 --- a/testing-modules/hamcrest/src/test/java/com/baeldung/hamcrest/assertnestedmap/AssertNestedMapUnitTest.java +++ b/testing-modules/testing-assertions/src/test/java/com/baeldung/assertnestedmap/AssertNestedMapUnitTest.java @@ -1,11 +1,11 @@ -package com.baeldung.hamcrest.assertnestedmap; +package com.baeldung.assertnestedmap; import org.junit.jupiter.api.Test; import java.util.Map; -import static com.baeldung.hamcrest.assertnestedmap.matchers.NestedMapMatcher.hasNestedMapEntry; +import static com.baeldung.assertnestedmap.matchers.NestedMapMatcher.hasNestedMapEntry; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; import static org.junit.jupiter.api.Assertions.*; diff --git a/testing-modules/hamcrest/src/test/java/com/baeldung/hamcrest/assertnestedmap/matchers/NestedMapMatcher.java b/testing-modules/testing-assertions/src/test/java/com/baeldung/assertnestedmap/matchers/NestedMapMatcher.java similarity index 94% rename from testing-modules/hamcrest/src/test/java/com/baeldung/hamcrest/assertnestedmap/matchers/NestedMapMatcher.java rename to testing-modules/testing-assertions/src/test/java/com/baeldung/assertnestedmap/matchers/NestedMapMatcher.java index 760edebb35..961130bb20 100644 --- a/testing-modules/hamcrest/src/test/java/com/baeldung/hamcrest/assertnestedmap/matchers/NestedMapMatcher.java +++ b/testing-modules/testing-assertions/src/test/java/com/baeldung/assertnestedmap/matchers/NestedMapMatcher.java @@ -1,4 +1,4 @@ -package com.baeldung.hamcrest.assertnestedmap.matchers; +package com.baeldung.assertnestedmap.matchers; import org.hamcrest.Description;