diff options
author | jhugunin <jhugunin> | 2002-12-23 23:10:37 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2002-12-23 23:10:37 +0000 |
commit | e386c4664517e61f36917dbe86a590bba3c60d3c (patch) | |
tree | ca744c7a3b21e45490d37991f5ce2ec49498b2d1 /tests | |
parent | cd120597a7fef187088a4d53cdd78450f0f233f7 (diff) | |
download | aspectj-e386c4664517e61f36917dbe86a590bba3c60d3c.tar.gz aspectj-e386c4664517e61f36917dbe86a590bba3c60d3c.zip |
better error lines
forcing a few tests to use -1.4 for correct declaring type at call sites
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTests.xml | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 653c3bb64..70fe32041 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -2145,6 +2145,7 @@ <ajc-test dir="errors" title="multiple conflicting introductions" keywords="from-errors"> <compile files="MultipleIntros.java"> + <message kind="error" line="5"/> <message kind="error" line="16"/> <message kind="error" line="18"/> <message kind="error" line="19"/> @@ -2190,6 +2191,7 @@ title="should give an error for introducing two members with the same name" keywords="from-errors"> <compile files="TwoIntros.java"> + <message kind="error" line="10"/> <message kind="error" line="14"/> <message kind="error" line="16"/> </compile> @@ -3493,12 +3495,15 @@ <run class="ObjectForInt"/> </ajc-test> + <!-- This test case requires bytecode generated according to the declaring type + rules in JLS 2nd edition. -1.4 must be passed to the eclipse compiler for + this behavior. --> <ajc-test dir="new" title="Does the matrix coverage thing for the new method signatures" keywords="from-resolved_10x"> - <compile files="MethodSignatures.java"/> - <run class="MethodSignatures"/> - </ajc-test> + <compile files="MethodSignatures.java" options="-1.4"/> + <run class="MethodSignatures" vm="1.4"/> + </ajc-test> <ajc-test dir="new" title="join points in static/dynamic initializers aren't showing up." @@ -3514,10 +3519,13 @@ <run class="Gets"/> </ajc-test> + <!-- This test case requires bytecode generated according to the declaring type + rules in JLS 2nd edition. -1.4 must be passed to the eclipse compiler for + this behavior. --> <ajc-test dir="new" title="correct types of parameters at call-sites" keywords="from-resolved_10x"> - <compile files="CallTypes.java"/> - <run class="CallTypes"/> + <compile files="CallTypes.java" options="-1.4"/> + <run class="CallTypes" vm="1.4"/> </ajc-test> <ajc-test dir="new" @@ -3673,11 +3681,14 @@ <run class="CflowBelowTest"/> </ajc-test> + <!-- This test case requires bytecode generated according to the declaring type + rules in JLS 2nd edition. -1.4 must be passed to the eclipse compiler for + this behavior. That means that this case will only work under 1.4. --> <ajc-test dir="new" title="target type matching with messy interface hierarchies" keywords="from-resolved_10x"> - <compile files="CallTypesI.java"/> - <run class="CallTypesI"/> + <compile files="CallTypesI.java" options="-1.4"/> + <run class="CallTypesI" vm="1.4"/> </ajc-test> <ajc-test dir="new" pr="490" @@ -3856,8 +3867,10 @@ keywords="from-resolved_10x"> <compile files="MethodConflictsCF.java"> <message kind="error" line="8"/> + <message kind="error" line="20"/> + <message kind="error" line="28"/> </compile> - </ajc-test> + </ajc-test> <ajc-test dir="new" title="AspectOf available for different aspect types" keywords="from-resolved_10x"> |