Spring AOP切入表达式来断言那个函数

时间:2018-09-24 14:31:18

标签: aop spring-aop

我试图用Spring AOP在测试报告中记录测试的实际值和期望值,但是我无法获得正确的PointCut表达式来执行此操作。我尝试使用@Before("execution(* * org.fest.assertions..assertThat(..))") @Before("execution(* static org.fest.assertions..assertThat(..))")等,但似乎都不起作用。有人可以帮忙吗?

0 个答案:

没有答案