diff options
author | aclement <aclement> | 2006-03-17 16:47:06 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-03-17 16:47:06 +0000 |
commit | 9dca72e7c63a5623f3d442bf43bb88810368a65a (patch) | |
tree | 1bd437e1ae0a60a350fb0bcb7399b7e39d8cec2e /ajde | |
parent | 95b9c8d913732532cf636aad8ba1afc3b471de7d (diff) | |
download | aspectj-9dca72e7c63a5623f3d442bf43bb88810368a65a.tar.gz aspectj-9dca72e7c63a5623f3d442bf43bb88810368a65a.zip |
test and fix for 132130
Diffstat (limited to 'ajde')
-rw-r--r-- | ajde/testsrc/org/aspectj/ajde/AsmDeclarationsTest.java | 6 | ||||
-rw-r--r-- | ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ajde/testsrc/org/aspectj/ajde/AsmDeclarationsTest.java b/ajde/testsrc/org/aspectj/ajde/AsmDeclarationsTest.java index 1925ea02b..9411c433d 100644 --- a/ajde/testsrc/org/aspectj/ajde/AsmDeclarationsTest.java +++ b/ajde/testsrc/org/aspectj/ajde/AsmDeclarationsTest.java @@ -111,7 +111,7 @@ public class AsmDeclarationsTest extends AjdeTestCase { assertNotNull(fieldNode); assertEquals(fieldNode.toLabelString(), fieldMsg); - String methodMsg = "Point.check(int, Line)"; + String methodMsg = "Point.check(int,Line)"; IProgramElement methodNode = model.findElementForLabel(aspect, IProgramElement.Kind.INTER_TYPE_METHOD, methodMsg); assertNotNull(methodNode); assertEquals(methodNode.toLabelString(), methodMsg); @@ -135,7 +135,7 @@ public class AsmDeclarationsTest extends AjdeTestCase { assertNotNull(ptctNode); assertEquals(ptctNode.toLabelString(), ptct); - String params = "namedWithArgs(int, int)"; + String params = "namedWithArgs(int,int)"; IProgramElement paramsNode = model.findElementForSignature(aspect, IProgramElement.Kind.POINTCUT, params); assertNotNull(paramsNode); assertEquals(paramsNode.toLabelString(), params); @@ -176,7 +176,7 @@ public class AsmDeclarationsTest extends AjdeTestCase { assertNotNull(namedWithOneArgNode); assertEquals(namedWithOneArgNode.toLabelString(), namedWithOneArg); - String afterReturning = "afterReturning(int, int): namedWithArgs.."; + String afterReturning = "afterReturning(int,int): namedWithArgs.."; IProgramElement afterReturningNode = model.findElementForLabel(aspect, IProgramElement.Kind.ADVICE, afterReturning); assertNotNull(afterReturningNode); assertEquals(afterReturningNode.toLabelString(), afterReturning); diff --git a/ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java b/ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java index ce89a6c6a..1b674dc15 100644 --- a/ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java +++ b/ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java @@ -82,7 +82,7 @@ public class AsmRelationshipsTest extends AjdeTestCase { public void testInterTypeDeclarations() { checkInterTypeMapping("InterTypeDecCoverage", "Point", "Point.xxx", "Point", "declared on", "aspect declarations", IProgramElement.Kind.INTER_TYPE_FIELD); - checkInterTypeMapping("InterTypeDecCoverage", "Point", "Point.check(int, Line)", + checkInterTypeMapping("InterTypeDecCoverage", "Point", "Point.check(int,Line)", "Point", "declared on", "aspect declarations", IProgramElement.Kind.INTER_TYPE_METHOD); } |