@ -317,15 +318,13 @@ public final class CglibProxyTests extends AbstractAopProxyTests implements Seri
@@ -317,15 +318,13 @@ public final class CglibProxyTests extends AbstractAopProxyTests implements Seri
@ -335,17 +334,13 @@ public final class CglibProxyTests extends AbstractAopProxyTests implements Seri
@@ -335,17 +334,13 @@ public final class CglibProxyTests extends AbstractAopProxyTests implements Seri
pf.setProxyTargetClass(true);
TestBeanproxy=(TestBean)pf.getProxy();
assertTrue(AopUtils.isCglibProxy(proxy));
proxy.getAge();
assertEquals(0,cba.getCalls());
((Advised)proxy).addAdvice(cba);
proxy.getAge();
assertEquals(1,cba.getCalls());
}
@ -357,7 +352,6 @@ public final class CglibProxyTests extends AbstractAopProxyTests implements Seri
@@ -357,7 +352,6 @@ public final class CglibProxyTests extends AbstractAopProxyTests implements Seri
proxyFactory.setProxyTargetClass(true);
MyBeanproxy=(MyBean)proxyFactory.getProxy();
assertEquals(4,proxy.add(1,3));
assertEquals(1,advice.getCalls("add"));
}
@ -415,7 +409,6 @@ public final class CglibProxyTests extends AbstractAopProxyTests implements Seri
@@ -415,7 +409,6 @@ public final class CglibProxyTests extends AbstractAopProxyTests implements Seri
publicfinalvoidfoo(){
}
}
}
@ -452,7 +445,6 @@ class NoArgCtorTestBean {
@@ -452,7 +445,6 @@ class NoArgCtorTestBean {
publicvoidreset(){
called=false;
}
}
@ -461,15 +453,11 @@ class ProtectedMethodTestBean {
@@ -461,15 +453,11 @@ class ProtectedMethodTestBean {