From b0089cb8c4931f46ba84a2462d08f3d30488df98 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 9 Feb 2009 20:13:30 +0000 Subject: [PATCH] 124460: simple basic control of weaving via aop.xml --- .../systemtest/ajc164/Ajc164Tests.java | 23 +++++++++++++++---- .../org/aspectj/systemtest/ajc164/ajc164.xml | 20 ++++++++++++---- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java b/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java index 6b0f35462..1bc7ddc30 100644 --- a/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java @@ -29,16 +29,26 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testHandles_pr263310() { + runTest("inner handles"); + IHierarchy top = AsmManager.lastActiveStructureModel.getHierarchy(); + IProgramElement ipe = null; + ipe = findElementAtLine(top.getRoot(), 13); + assertEquals(" Ship.i(List[][] u) + ipe = findElementAtLine(top.getRoot(), 22); assertEquals(" Ship.i(List[][] u) + ipe = findElementAtLine(top.getRoot(), 29); assertEquals(" - - - - - @@ -21,6 +16,21 @@ + + + + + + + + + + + + + + + -- 2.39.5