From d88e3ffbeb710e6b44e0d51af56715355fbb2b83 Mon Sep 17 00:00:00 2001 From: Dhawal Kapil Date: Sat, 7 Dec 2019 22:42:06 +0530 Subject: [PATCH] BAEL-19369 go through the integration test results and see what NEW failing tests we have - Fixes ComponentScanAspectJFilterAppUnitTest --- spring-di/pom.xml | 7 +++++++ ...est.java => ComponentScanAspectJFilterAppUnitTest.java} | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) rename spring-di/src/test/java/com/baeldung/componentscan/filter/aspectj/{ComponentScanAspectJFilterAppIntegrationTest.java => ComponentScanAspectJFilterAppUnitTest.java} (95%) diff --git a/spring-di/pom.xml b/spring-di/pom.xml index e819d096e5..48cdf60673 100644 --- a/spring-di/pom.xml +++ b/spring-di/pom.xml @@ -85,6 +85,12 @@ commons-io ${commons.io.version} + + org.aspectj + aspectjweaver + ${aspectjweaver.version} + + @@ -157,6 +163,7 @@ 1.5.2.RELEASE 1.10.19 3.12.2 + 1.9.5 \ No newline at end of file diff --git a/spring-di/src/test/java/com/baeldung/componentscan/filter/aspectj/ComponentScanAspectJFilterAppIntegrationTest.java b/spring-di/src/test/java/com/baeldung/componentscan/filter/aspectj/ComponentScanAspectJFilterAppUnitTest.java similarity index 95% rename from spring-di/src/test/java/com/baeldung/componentscan/filter/aspectj/ComponentScanAspectJFilterAppIntegrationTest.java rename to spring-di/src/test/java/com/baeldung/componentscan/filter/aspectj/ComponentScanAspectJFilterAppUnitTest.java index 945a0085f6..a85c451299 100644 --- a/spring-di/src/test/java/com/baeldung/componentscan/filter/aspectj/ComponentScanAspectJFilterAppIntegrationTest.java +++ b/spring-di/src/test/java/com/baeldung/componentscan/filter/aspectj/ComponentScanAspectJFilterAppUnitTest.java @@ -16,7 +16,7 @@ import static org.hamcrest.CoreMatchers.*; @RunWith(SpringRunner.class) @SpringBootTest(classes = ComponentScanAspectJFilterApp.class) -public class ComponentScanAspectJFilterAppIntegrationTest { +public class ComponentScanAspectJFilterAppUnitTest { @Test public void whenAspectJFilterIsUsed_thenComponentScanShouldRegisterBeanMatchingAspectJCreteria() {