randoop.experiments
Class ExperimentBase

Object
  extended by 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.


Field Summary
Modifier and Type Field and Description
 String auxJarsDir
           
 String classDirAbs
           
 String classOmitPattern
           
 String classPath
           
 String covInstClassListFile
           
 String covInstSourcesDir
           
 String experimentName
           
 Properties extraProperties
           
 String methodOmitPattern
           
 String targetClassListFile
           
 
Constructor Summary
Constructor and Description
ExperimentBase(String fileName)
          Creates a new ExperimentBase whose properties are obtained from inStream.
 
Method Summary
Modifier and Type Method and Description
protected static List<String> findJavaFilesRecursively(File dir)
           
protected static List<ExperimentBase> getExperimentBasesFromFiles(String[] fileNames)
           
protected static void printCommand(List<String> command, boolean truncateLongLines, boolean oneline)
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ExperimentBase

public ExperimentBase(String fileName)
               throws IOException
Creates a new ExperimentBase whose properties are obtained from inStream.

Throws:
IOException
Method Detail

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