aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-14 15:44:51 +0000
committeraclement <aclement>2008-08-14 15:44:51 +0000
commit9e759ec041041529c028606a3df438102acc37e8 (patch)
tree85f9e03bb18393e19a7a1c6983d051caa796cd24 /tests
parenteac29f3b88c39f70e4fa0ea6715ea698e914c22a (diff)
downloadaspectj-9e759ec041041529c028606a3df438102acc37e8.tar.gz
aspectj-9e759ec041041529c028606a3df438102acc37e8.zip
minor enhancement to harness
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java b/tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java
index 0f12baba3..639f29fb4 100644
--- a/tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java
+++ b/tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java
@@ -14,6 +14,7 @@ package org.aspectj.systemtest.incremental.tools;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
@@ -64,6 +65,13 @@ public class AjdeInteractionTestbed extends TestCase {
AjCompiler compiler = CompilerFactory.getCompilerForProjectWithDir(sandboxDir + File.separator + projectName);
((MultiProjTestCompilerConfiguration)compiler.getCompilerConfiguration()).setAspectPath(aspectpath);
}
+
+ public void configureAspectPath(String projectName, File aspectpath) {
+ AjCompiler compiler = CompilerFactory.getCompilerForProjectWithDir(sandboxDir + File.separator + projectName);
+ Set s = new HashSet();
+ s.add(aspectpath);
+ ((MultiProjTestCompilerConfiguration)compiler.getCompilerConfiguration()).setAspectPath(s);
+ }
public void configureResourceMap(String projectName, Map resourcesMap) {
AjCompiler compiler = CompilerFactory.getCompilerForProjectWithDir(sandboxDir + File.separator + projectName);