From: aclement Date: Mon, 3 Nov 2008 18:53:54 +0000 (+0000) Subject: 253109: testcode X-Git-Tag: V1_6_3rc1~105 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d7b075ceff892cc24267141897183e0c007c0d1;p=aspectj.git 253109: testcode --- diff --git a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java index 2c83fd4db..8713edbb5 100644 --- a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java @@ -31,6 +31,10 @@ public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase { runTest("generic pointcuts - 2"); } + public void testGenericPointcuts_3() { + runTest("generic pointcuts - 3"); + } + public void testBrokenLVT_pr194314_1() throws Exception { runTest("broken lvt - 1"); JavaClass jc = Utils.getClassFrom(ajc.getSandboxDirectory().getAbsolutePath(), "Service"); @@ -65,28 +69,20 @@ public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase { System.out.println(m.getLocalVariableTable()); LocalVariable[] lvt = m.getLocalVariableTable().getLocalVariableTable(); assertEquals(8, lvt.length); - // assertEquals(2, - // m.getLocalVariableTable().getLocalVariableTable().length); + // assertEquals(2, m.getLocalVariableTable().getLocalVariableTable().length); // Before I've started any work on this: - // LocalVariable(start_pc = 0, length = 68, index = - // 0:ServiceInterceptorCodeStyle this) - // LocalVariable(start_pc = 0, length = 68, index = - // 1:org.aspectj.runtime.internal.AroundClosure ajc_aroundClosure) - // LocalVariable(start_pc = 0, length = 68, index = - // 2:org.aspectj.lang.JoinPoint thisJoinPoint) + // LocalVariable(start_pc = 0, length = 68, index = 0:ServiceInterceptorCodeStyle this) + // LocalVariable(start_pc = 0, length = 68, index = 1:org.aspectj.runtime.internal.AroundClosure ajc_aroundClosure) + // LocalVariable(start_pc = 0, length = 68, index = 2:org.aspectj.lang.JoinPoint thisJoinPoint) // LocalVariable(start_pc = 9, length = 59, index = 3:Object[] args) // LocalVariable(start_pc = 21, length = 47, index = 4:long id) // Method signature: - // private static final void method_aroundBody1$advice(Service, long, - // org.aspectj.lang.JoinPoint, - // ServiceInterceptorCodeStyle, - // org.aspectj.runtime.internal.AroundClosure, - // org.aspectj.lang.JoinPoint); + // private static final void method_aroundBody1$advice(Service, long, org.aspectj.lang.JoinPoint, + // ServiceInterceptorCodeStyle, org.aspectj.runtime.internal.AroundClosure, org.aspectj.lang.JoinPoint); // - // Service, JoinPoint, ServiceInterceptorCodeStyle, AroundClosure, - // JoinPoint + // Service, JoinPoint, ServiceInterceptorCodeStyle, AroundClosure, JoinPoint // args should be in slot 7 and the long in position 8 diff --git a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml index b7ddfa85c..29dfada49 100644 --- a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml +++ b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml @@ -15,6 +15,18 @@ + + + + + + + + + + + +