Fixed SPR-6734 by resticting record/replay logic to only entity methods that originated in a test method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3063 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
0c5a876ff2
commit
eeb15e4809
|
|
@ -151,7 +151,7 @@ public abstract aspect AbstractMethodMockingControl percflow(mockStaticsTestMeth
|
|||
expectations.verify();
|
||||
}
|
||||
|
||||
Object around() : methodToMock() {
|
||||
Object around() : methodToMock() && cflowbelow(mockStaticsTestMethod()) {
|
||||
if (recording) {
|
||||
expectations.expectCall(thisJoinPointStaticPart.toLongString(), thisJoinPoint.getArgs());
|
||||
// Return value doesn't matter
|
||||
|
|
|
|||
Loading…
Reference in New Issue