|
|
@ -42,7 +42,8 @@ public final class TargetPointcutSelectionTests { |
|
|
|
|
|
|
|
|
|
|
|
@Before |
|
|
|
@Before |
|
|
|
public void setUp() { |
|
|
|
public void setUp() { |
|
|
|
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("targetPointcutSelectionTests_.xml", getClass()); |
|
|
|
ClassPathXmlApplicationContext ctx = |
|
|
|
|
|
|
|
new ClassPathXmlApplicationContext(getClass().getSimpleName() + ".xml", getClass()); |
|
|
|
testImpl1 = (TestInterface) ctx.getBean("testImpl1"); |
|
|
|
testImpl1 = (TestInterface) ctx.getBean("testImpl1"); |
|
|
|
testImpl2 = (TestInterface) ctx.getBean("testImpl2"); |
|
|
|
testImpl2 = (TestInterface) ctx.getBean("testImpl2"); |
|
|
|
testAspectForTestImpl1 = (TestAspect) ctx.getBean("testAspectForTestImpl1"); |
|
|
|
testAspectForTestImpl1 = (TestAspect) ctx.getBean("testAspectForTestImpl1"); |
|
|
|