[JAVA-30541] - Enable back spring-aop module (#15791)
This commit is contained in:
parent
886b58550b
commit
9bb86532eb
4
pom.xml
4
pom.xml
|
@ -822,7 +822,7 @@
|
|||
<module>spring-actuator</module>
|
||||
<module>spring-ai</module>
|
||||
<module>spring-aop-2</module>
|
||||
<!--<module>spring-aop</module>--><!-- JAVA-30541 -->
|
||||
<module>spring-aop</module>
|
||||
<module>spring-batch-2</module>
|
||||
<module>spring-batch</module>
|
||||
<module>spring-boot-modules</module>
|
||||
|
@ -1063,7 +1063,7 @@
|
|||
<module>spring-actuator</module>
|
||||
<module>spring-ai</module>
|
||||
<module>spring-aop-2</module>
|
||||
<!--<module>spring-aop</module>--><!-- JAVA-30541 -->
|
||||
<module>spring-aop</module>
|
||||
<module>spring-batch-2</module>
|
||||
<module>spring-batch</module>
|
||||
<module>spring-boot-modules</module>
|
||||
|
|
|
@ -86,6 +86,7 @@
|
|||
|
||||
<properties>
|
||||
<aspectj-plugin.version>1.14.0</aspectj-plugin.version>
|
||||
<java.version>16</java.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -1,5 +1,6 @@
|
|||
package com.baeldung.joinpoint;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -21,6 +22,10 @@ public class JoinPointAroundCacheAspectIntegrationTest {
|
|||
@Autowired
|
||||
private ArticleService articleService;
|
||||
|
||||
@Before
|
||||
public void removeCache() {
|
||||
JoinPointAroundCacheAspect.CACHE.clear();
|
||||
}
|
||||
@Test
|
||||
public void shouldPopulateCache() {
|
||||
assertTrue(JoinPointAroundCacheAspect.CACHE.isEmpty());
|
||||
|
|
Loading…
Reference in New Issue