randoop.experiments
Class ExperimentBase
Object
ExperimentBase
public class ExperimentBase
extends Object
Specifies a number of properties about a subject program, e.g.:
+ A classpath containing the subject program classes,
+ A classpath containing coverage-instrumented versions of the classes,
+ The location of a file containing a list of public, top-level classes.
For most of these properties to refer to valid resources, the script
randoop.experiments.PrepareSubjectPrograms must be called first.
Constructor Summary
ExperimentBase(String fileName)
Creates a new ExperimentBase whose properties are
obtained from inStream. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
experimentName
public String experimentName
classDirAbs
public String classDirAbs
auxJarsDir
public String auxJarsDir
classOmitPattern
public String classOmitPattern
methodOmitPattern
public String methodOmitPattern
extraProperties
public Properties extraProperties
classPath
public String classPath
targetClassListFile
public String targetClassListFile
covInstClassListFile
public String covInstClassListFile
covInstSourcesDir
public String covInstSourcesDir
ExperimentBase
public ExperimentBase(String fileName)
throws IOException
- Creates a new ExperimentBase whose properties are
obtained from inStream.
- Throws:
IOException
printCommand
protected static void printCommand(List<String> command,
boolean truncateLongLines,
boolean oneline)
getExperimentBasesFromFiles
protected static List<ExperimentBase> getExperimentBasesFromFiles(String[] fileNames)
throws IOException
- Throws:
IOException
findJavaFilesRecursively
protected static List<String> findJavaFilesRecursively(File dir)
toString
public String toString()
- Overrides:
toString in class Object