From 303571e4cc04c78440f06766ef8d211a7a5422ed Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 15 Nov 2005 17:08:01 +0000 Subject: [PATCH] more tests... binary bridge methods and the one reported via the list which includes decps parameterization and ITDs --- .../aspectj/systemtest/ajc150/GenericsTests.java | 11 +++++++++++ tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 14 +++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java index 8e10c9e17..a42f62f05 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java @@ -208,6 +208,10 @@ public class GenericsTests extends XMLBasedAjcTestCase { runTest("Compilation error on generic member introduction"); } + public void testGenericsOverrides() { + runTest("generics and ITD overrides"); + } + public void testPR88606() { runTest("Parameterized types on introduced fields not correctly recognized"); } @@ -501,6 +505,13 @@ public class GenericsTests extends XMLBasedAjcTestCase { "java.lang.Integer TwoB.firstMethod(java.lang.String)" }); } + public void testBinaryBridgeMethodsThree() { + runTest("binary bridge methods - three"); + checkMethodsExist("ThreeB",new String[]{ + "java.lang.Number ThreeB.m() [BridgeMethod]", + "java.lang.Double ThreeB.m()" + }); + } public void testGenericITDsBridgeMethodsPR91381() {runTest("abstract intertype methods and covariant returns");} diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index f49ea1c2e..f84bcf8cf 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -190,6 +190,12 @@ + + + + + +