From: aclement Date: Fri, 16 Apr 2010 16:20:40 +0000 (+0000) Subject: 309440 testcode X-Git-Tag: V1_6_9M1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e15ff536953b9936d700050805498d9ff0cbaceb;p=aspectj.git 309440 testcode --- diff --git a/tests/bugs169/pr309440/foobar/CrashAspectJCompiler.java b/tests/bugs169/pr309440/foobar/CrashAspectJCompiler.java new file mode 100644 index 000000000..6baca78f4 --- /dev/null +++ b/tests/bugs169/pr309440/foobar/CrashAspectJCompiler.java @@ -0,0 +1,10 @@ +package foobar; + + +public class CrashAspectJCompiler +{ + public void export(ExportMode aMode) + { + + } +} diff --git a/tests/bugs169/pr309440/foobar/ExportMode.java b/tests/bugs169/pr309440/foobar/ExportMode.java new file mode 100644 index 000000000..6611c8504 --- /dev/null +++ b/tests/bugs169/pr309440/foobar/ExportMode.java @@ -0,0 +1,41 @@ +package foobar; + +import javax.annotation.Nonnull; + +public enum ExportMode +{ + /** + * export configuration and project data + */ + COMPLETE("Complete"), + + /** + * exports configuration only + */ + CONFIGURATION_ONLY("Configuration only"); + + /** + * The display-name + */ + private final String mDisplayName; + + /** + * Stores the displayName + * @param aDisplayName + */ + ExportMode(@Nonnull String aDisplayName) + { + mDisplayName = aDisplayName; + } + + /** + * + * @return the display name + */ + public @Nonnull + String getDisplayName() + { + return mDisplayName; + } + +} diff --git a/tests/bugs169/pr309440/jsr305.jar b/tests/bugs169/pr309440/jsr305.jar new file mode 100644 index 000000000..43807b02f Binary files /dev/null and b/tests/bugs169/pr309440/jsr305.jar differ diff --git a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java index 2a51db99a..d6abf0796 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java @@ -29,7 +29,13 @@ public class Ajc169Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // public void testAdvisingPrivilegedAccessMethod_307147() { // runTest("advising privileged access method"); // } + /* + public void testCrashParamAnnos_309440() { + runTest("crash param annos"); + } + */ + // 1.6.9 M1 below here public void testSubtleGenericsIssue_308773() { runTest("subtle generics problem"); } diff --git a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml index 8a83d5bc4..c877cd92b 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml +++ b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml @@ -21,6 +21,11 @@ + + + + +