From 9dca72e7c63a5623f3d442bf43bb88810368a65a Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 17 Mar 2006 16:47:06 +0000 Subject: test and fix for 132130 --- ajde/testsrc/org/aspectj/ajde/AsmDeclarationsTest.java | 6 +++--- ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ajde') 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); } -- cgit v1.2.3