Merge pull request #519 from marschall/spring-aop-warnings
* spring-aop-warnings: Clean up spring-aop tests warnings
This commit is contained in:
commit
9ca9363c2f
|
@ -38,6 +38,7 @@ import org.aspectj.lang.annotation.DeclarePrecedence;
|
||||||
import org.aspectj.lang.annotation.Pointcut;
|
import org.aspectj.lang.annotation.Pointcut;
|
||||||
import org.aspectj.lang.reflect.MethodSignature;
|
import org.aspectj.lang.reflect.MethodSignature;
|
||||||
|
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import org.springframework.aop.Advisor;
|
import org.springframework.aop.Advisor;
|
||||||
|
@ -402,8 +403,8 @@ public abstract class AbstractAspectJAdvisorFactoryTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testIntroductionOnTargetExcludedByTypePattern() {
|
public void testIntroductionOnTargetExcludedByTypePattern() {
|
||||||
LinkedList target = new LinkedList();
|
LinkedList<Object> target = new LinkedList<Object>();
|
||||||
List proxy = (List) createProxy(target,
|
List<?> proxy = (List<?>) createProxy(target,
|
||||||
AopUtils.findAdvisorsThatCanApply(
|
AopUtils.findAdvisorsThatCanApply(
|
||||||
getFixture().getAdvisors(new SingletonMetadataAwareAspectInstanceFactory(new MakeLockable(), "someBean")),
|
getFixture().getAdvisors(new SingletonMetadataAwareAspectInstanceFactory(new MakeLockable(), "someBean")),
|
||||||
List.class
|
List.class
|
||||||
|
@ -431,7 +432,9 @@ public abstract class AbstractAspectJAdvisorFactoryTests {
|
||||||
|
|
||||||
// TODO: Why does this test fail? It hasn't been run before, so it maybe never actually passed...
|
// TODO: Why does this test fail? It hasn't been run before, so it maybe never actually passed...
|
||||||
|
|
||||||
public void XtestIntroductionWithArgumentBinding() {
|
@Test
|
||||||
|
@Ignore
|
||||||
|
public void testIntroductionWithArgumentBinding() {
|
||||||
TestBean target = new TestBean();
|
TestBean target = new TestBean();
|
||||||
|
|
||||||
List<Advisor> advisors = getFixture().getAdvisors(
|
List<Advisor> advisors = getFixture().getAdvisors(
|
||||||
|
|
Loading…
Reference in New Issue