From d10618d25a9e995ffeb8080b3b9468ad241a163c Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Fri, 2 Dec 2016 10:32:17 -0800 Subject: 259416: preliminary work --- .../aspectj/systemtest/ajc1810/Ajc1810Tests.java | 36 +++++++++++++++++ .../src/org/aspectj/systemtest/ajc1810/ajc1810.xml | 45 ++++++++++++++++++++++ 2 files changed, 81 insertions(+) (limited to 'tests/src') diff --git a/tests/src/org/aspectj/systemtest/ajc1810/Ajc1810Tests.java b/tests/src/org/aspectj/systemtest/ajc1810/Ajc1810Tests.java index 3cae1378c..36232a91d 100644 --- a/tests/src/org/aspectj/systemtest/ajc1810/Ajc1810Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc1810/Ajc1810Tests.java @@ -24,6 +24,42 @@ import junit.framework.Test; */ public class Ajc1810Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + // Basic with execution(* *(@Foo (*))) && @args(ca (*)) + public void testParamAnnoBinding_259416_1() { + runTest("param anno binding"); + } + + // Basic with execution(* *(..)) && args(ca (*)) + public void testParamAnnoBinding_259416_2() { + runTest("param anno binding 2"); + } + + // Basic with execution(* *(..)) && args(*,ca (*)) + public void testParamAnnoBinding_259416_3() { + runTest("param anno binding 3"); + } + + // Basic with execution(* *(..)) && args(*,ca (*)) where target has two parameter annotations and we match the 2nd one + public void testParamAnnoBinding_259416_4() { + runTest("param anno binding 4"); + } + + // execution(* *(..)) && args(f *,ca (*)) + + // args(ca1 (*),ca2 (*)) + + // args(ca(*)) + + // args(ca1 (f)) + + // args(ca1 ba1 (*)) + + // args(ca1 ba1 (f1 f2)) + + // args(ca1 (*), .., ca2 (*)) + + + public void testBinding_500035() { runTest("ataspectj binding"); } diff --git a/tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml b/tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml index 7485c1c20..75edcbc5e 100644 --- a/tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml +++ b/tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml @@ -2,6 +2,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3