Show FITTestConfiguration.java syntax highlighted
package ca.ucalgary.cpsc.ebe.fitClipse.runner;
import java.io.Serializable;
import org.eclipse.core.resources.IProject;
public class FITTestConfiguration implements Serializable {
private IProject project;
public FITTestConfiguration(IProject project){
this.project=project;
// System.out.println("PrjRoot: " + project.getFullPath().toFile().getAbsolutePath());
String projectRoot=project.getWorkspace().getRoot().getLocation().toOSString()+ project.getFullPath().toOSString();
DEFAULT_TEST_SOURCE_LOCATION=projectRoot+"\\"+"FITSrc";
DEFAULT_TEST_RESULT_LOCATION=projectRoot+"\\"+"FITResult";
DEFAULT_PATH=new String[2];
DEFAULT_PATH[0] = projectRoot+"\\"+"bin";
DEFAULT_PATH[1] = projectRoot+"\\"+"lib\\*";
}
public String[] DEFAULT_PATH;
public String DEFAULT_TEST_SOURCE_LOCATION;
public String DEFAULT_TEST_RESULT_LOCATION;
private String [] classPath= null;
private String testSourceLoc = null;
private String testResultLoc = null;
public String[] getClassPath() {
return classPath;
}
public void setClassPath(String[] classPath) {
this.classPath = classPath;
}
public String getTestResultLoc() {
return testResultLoc;
}
public void setTestResultLoc(String testResultLoc) {
this.testResultLoc = testResultLoc;
}
public String getTestSourceLoc() {
return testSourceLoc;
}
public void setTestSourceLoc(String testSourceLoc) {
this.testSourceLoc = testSourceLoc;
}
}
See more files for this project here