diff options
author | aclement <aclement> | 2008-05-27 18:43:36 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-05-27 18:43:36 +0000 |
commit | bcd990177151a73a48505c77d1007075262aee0d (patch) | |
tree | d12b9993ec4d57815df1aaca417d9366f4a37fd5 | |
parent | 4c58246253458e494b3db5dbda10cb4d0e665af1 (diff) | |
download | aspectj-bcd990177151a73a48505c77d1007075262aee0d.tar.gz aspectj-bcd990177151a73a48505c77d1007075262aee0d.zip |
allow use of DOLLARsandbox in the arguments to a 'run' test
-rw-r--r-- | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |