From 96ebaaed65fe5d507cae3d56126d76f217a9f13a Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Mon, 21 Jan 2013 10:46:15 -0800 Subject: 398588 fix --- .../org/aspectj/systemtest/ajc172/Ajc172Tests.java | 27 ++++++++++------- tests/src/org/aspectj/systemtest/ajc172/ajc172.xml | 34 +++++++++++++++++++++- 2 files changed, 50 insertions(+), 11 deletions(-) (limited to 'tests/src') diff --git a/tests/src/org/aspectj/systemtest/ajc172/Ajc172Tests.java b/tests/src/org/aspectj/systemtest/ajc172/Ajc172Tests.java index 88094cba6..292efcbee 100644 --- a/tests/src/org/aspectj/systemtest/ajc172/Ajc172Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc172/Ajc172Tests.java @@ -18,13 +18,17 @@ import org.aspectj.testing.XMLBasedAjcTestCase; /** * @author Andy Clement - */ + */ public class Ajc172Tests extends org.aspectj.testing.XMLBasedAjcTestCase { - + + public void testOptionalAspects_pr398588() { + runTest("optional aspects"); + } + public void testInconsistentClassFile_pr389750() { runTest("inconsistent class file"); } - + public void testInconsistentClassFile_pr389750_2() { runTest("inconsistent class file 2"); } @@ -44,13 +48,16 @@ public class Ajc172Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testAnnotationValueError_pr389752_2() { runTest("annotation value error 2"); } - - // this needs some cleverness to fix... the annotation value is parsed as a string and then not checked - // to see if the user is accidentally supplying, for example, an enum value. Due to the use of strings, it - // is hard to check. The verification code might go here: WildAnnotationTypePattern, line 205 (the string case) -// public void testAnnotationValueError_pr389752_3() { -// runTest("annotation value error 3"); -// } + + // this needs some cleverness to fix... the annotation value is parsed as a + // string and then not checked + // to see if the user is accidentally supplying, for example, an enum value. + // Due to the use of strings, it + // is hard to check. The verification code might go here: + // WildAnnotationTypePattern, line 205 (the string case) + // public void testAnnotationValueError_pr389752_3() { + // runTest("annotation value error 3"); + // } // --- diff --git a/tests/src/org/aspectj/systemtest/ajc172/ajc172.xml b/tests/src/org/aspectj/systemtest/ajc172/ajc172.xml index d6a2897ad..81217b60f 100644 --- a/tests/src/org/aspectj/systemtest/ajc172/ajc172.xml +++ b/tests/src/org/aspectj/systemtest/ajc172/ajc172.xml @@ -1,7 +1,39 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3