From e62cc6cf8dd6b455afd8bd0792de2199addb63b8 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 18 Dec 2008 17:56:43 +0000 Subject: [PATCH] 259279: test and fix: bridge pipeline --- tests/bugs163/pr259279/Aspect.java | 1 + tests/bugs163/pr259279/GenericService.java | 4 ++++ tests/bugs163/pr259279/GenericServiceImpl.java | 5 +++++ tests/bugs163/pr259279/Main.java | 6 ++++++ tests/bugs163/pr259279/SomeInterface.java | 2 ++ tests/bugs163/pr259279/SomeServiceImpl.java | 6 ++++++ .../org/aspectj/systemtest/ajc163/Ajc163Tests.java | 8 ++++++++ tests/src/org/aspectj/systemtest/ajc163/ajc163.xml | 11 +++++++++++ 8 files changed, 43 insertions(+) create mode 100644 tests/bugs163/pr259279/Aspect.java create mode 100644 tests/bugs163/pr259279/GenericService.java create mode 100644 tests/bugs163/pr259279/GenericServiceImpl.java create mode 100644 tests/bugs163/pr259279/Main.java create mode 100644 tests/bugs163/pr259279/SomeInterface.java create mode 100644 tests/bugs163/pr259279/SomeServiceImpl.java diff --git a/tests/bugs163/pr259279/Aspect.java b/tests/bugs163/pr259279/Aspect.java new file mode 100644 index 000000000..9c6d898b5 --- /dev/null +++ b/tests/bugs163/pr259279/Aspect.java @@ -0,0 +1 @@ +public aspect Aspect pertypewithin(*){} diff --git a/tests/bugs163/pr259279/GenericService.java b/tests/bugs163/pr259279/GenericService.java new file mode 100644 index 000000000..6fdd7a4fd --- /dev/null +++ b/tests/bugs163/pr259279/GenericService.java @@ -0,0 +1,4 @@ +public interface GenericService { + public void doStuff(T t); +} + diff --git a/tests/bugs163/pr259279/GenericServiceImpl.java b/tests/bugs163/pr259279/GenericServiceImpl.java new file mode 100644 index 000000000..3b38bb4d3 --- /dev/null +++ b/tests/bugs163/pr259279/GenericServiceImpl.java @@ -0,0 +1,5 @@ +public class GenericServiceImpl implements +GenericService { + public void doStuff(T t) {} +} + diff --git a/tests/bugs163/pr259279/Main.java b/tests/bugs163/pr259279/Main.java new file mode 100644 index 000000000..bcda99e82 --- /dev/null +++ b/tests/bugs163/pr259279/Main.java @@ -0,0 +1,6 @@ +public class Main { + public static void main(String[] args) { + new SomeServiceImpl(); + } +} + diff --git a/tests/bugs163/pr259279/SomeInterface.java b/tests/bugs163/pr259279/SomeInterface.java new file mode 100644 index 000000000..b1039b8d2 --- /dev/null +++ b/tests/bugs163/pr259279/SomeInterface.java @@ -0,0 +1,2 @@ +public interface SomeInterface {} + diff --git a/tests/bugs163/pr259279/SomeServiceImpl.java b/tests/bugs163/pr259279/SomeServiceImpl.java new file mode 100644 index 000000000..96ac4e4d0 --- /dev/null +++ b/tests/bugs163/pr259279/SomeServiceImpl.java @@ -0,0 +1,6 @@ +public class SomeServiceImpl extends GenericServiceImpl { + @Override + public void doStuff(SomeInterface someInterface) { + } +} + diff --git a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java index a6c3900f4..e45c448ee 100644 --- a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java @@ -31,6 +31,14 @@ public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // runTest("itd anonymous inner class in wrong package"); // } + public void testOrderingRepetitive_pr259279() { + runTest("ordering repetitive method"); + } + + public void testOrderingRepetitive_pr259279_2() { + runTest("ordering repetitive method - 2"); + } + public void testExtendingASI_pr252722() { runTest("extending AbstractSecurityInterceptor"); } diff --git a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml index cf8c9cf61..211b8b22e 100644 --- a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml +++ b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml @@ -2,6 +2,17 @@ + + + + + + + + + + + -- 2.39.5