From bcd990177151a73a48505c77d1007075262aee0d Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 27 May 2008 18:43:36 +0000 Subject: [PATCH] allow use of DOLLARsandbox in the arguments to a 'run' test --- .../testsrc/org/aspectj/tools/ajc/AjcTestCase.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java index e034255ce..d15b6e2d9 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java @@ -566,6 +566,11 @@ public class AjcTestCase extends TestCase { * the sandbox. */ public RunResult run(String className, String[] args, final String classpath, boolean useLTW) { + if (args != null) { + for (int i = 0; i < args.length; i++) { + args[i] = substituteSandbox(args[i]); + } + } lastRunResult = null; StringBuffer cp = new StringBuffer(); if (classpath != null) { -- 2.39.5