瀏覽代碼

minor enhancement to harness

tags/V162DEV_M1
aclement 16 年之前
父節點
當前提交
9e759ec041
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. 8
    0
      tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java

+ 8
- 0
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);

Loading…
取消
儲存