Browse Source

minor enhancement to harness

tags/V162DEV_M1
aclement 16 years ago
parent
commit
9e759ec041

+ 8
- 0
tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java View File

@@ -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);

Loading…
Cancel
Save