diff options
author | jhugunin <jhugunin> | 2002-12-16 23:35:04 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2002-12-16 23:35:04 +0000 |
commit | 3d7ca3cb9639b81c3dbb5b6afdffe54e97f864fc (patch) | |
tree | 9d3729cb3bb2c64757c274bbff3eb17927c10cb7 /tests | |
parent | 6338556123543cf33fc42ee6f3af4e5768805adc (diff) | |
download | aspectj-3d7ca3cb9639b81c3dbb5b6afdffe54e97f864fc.tar.gz aspectj-3d7ca3cb9639b81c3dbb5b6afdffe54e97f864fc.zip |
updated for better source locations from eclipse compiler
Diffstat (limited to 'tests')
-rw-r--r-- | tests/new/SourceLocationWithinExpr.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/new/SourceLocationWithinExpr.java b/tests/new/SourceLocationWithinExpr.java index 20352adea..797fc430e 100644 --- a/tests/new/SourceLocationWithinExpr.java +++ b/tests/new/SourceLocationWithinExpr.java @@ -6,14 +6,14 @@ import org.aspectj.lang.reflect.*; /** @testcase PR#885 call source locations within expression */ public class SourceLocationWithinExpr { public static void main (String[] args) { - new // 7* - C() // 8 - . // 9* - getD() // 10 - . // 11* - getE() // 12 - . // 13* - getF() // 14 + new // 9* + C() // 10 + . // 11 + getD() // 12* + . // 13 + getE() // 14* + . // 15 + getF() // 16* ; Tester.expectEvent("setup"); Tester.checkAllEvents(); @@ -28,10 +28,10 @@ aspect A { private static final String SEP = " - "; static { // using qualifying expr? - Tester.expectEvent("C()" + SEP + "7"); - Tester.expectEvent("getD()" + SEP + "9"); - Tester.expectEvent("getE()" + SEP + "11"); - Tester.expectEvent("getF()" + SEP + "13"); + Tester.expectEvent("C()" + SEP + "9"); + Tester.expectEvent("getD()" + SEP + "12"); + Tester.expectEvent("getE()" + SEP + "14"); + Tester.expectEvent("getF()" + SEP + "16"); Tester.event("setup"); } pointcut filter() : withincode(static void SourceLocationWithinExpr.main(String[])); |