A B C D E F G H I J K L M N O P R S T U V W X Z

A

AbstractGenerator - Class in randoop
Algorithm template for implementing a test generator.
AbstractGenerator(List<StatementKind>, long, int, ComponentManager, IStopper, RandoopListenerManager, List<ITestFilter>) - Constructor for class AbstractGenerator
Constructs a generator with the given parameters.
activeFlags - Variable in class Sequence
 
add(Object) - Method in class EqualsMethodMatcher
 
add(Object) - Method in class EverythingIsDifferentMatcher
 
add(ExecutableSequence) - Method in class SizeEqualizer
 
add(Sequence) - Method in class SequenceCollection
Add a sequence to this collection.
add(Object) - Method in interface StateMatcher
 
add(Class<?>) - Method in class SubTypeSet
 
add(T) - Method in class ArrayListSimpleList
 
add(K1, K2, V) - Method in class DoubleKeyToSetMap
Returns true if the doubly-nested set did not contain v.
add(T1, T2) - Method in interface IMultiMap
Precondition: the mapping key->value is not already in the map.
add(T) - Method in interface ISimpleSet
Adds the given elt to the set.
add(T1, T2) - Method in class KeyToMultiSet
 
add(T1, T2) - Method in class MultiMap
 
add(T) - Method in class MultiSet
 
add(T1, T2) - Method in class ReversibleMultiMap
 
add(T) - Method in class ReversibleSet
 
add(T) - Method in class SimpleSet
 
add(WeightedElement) - Method in class WeightedList
 
add_branch_compare(String) - Method in class DFResultsOneSeq.VariableInfo
 
add_map_file_shutdown_hook() - Method in class Instrument
Adds a shutdown hook that prints out the results of the method maps
addAll(Collection<Sequence>) - Method in class SequenceCollection
 
addAll(SequenceCollection) - Method in class SequenceCollection
 
addAll(K1, K2, Set<V>) - Method in class DoubleKeyToSetMap
Returns true if the doubly-nested set did not contain all of the vs.
addAll(Map<? extends T1, ? extends T2>) - Method in class KeyToMultiSet
 
addAll(T1, Collection<? extends T2>) - Method in class KeyToMultiSet
 
addAll(Map<? extends T1, ? extends T2>) - Method in class MultiMap
 
addAll(T1, Collection<? extends T2>) - Method in class MultiMap
 
addCheck(int, Check, boolean) - Method in class ExecutableSequence
Adds the given check to the i-th element of the sequence.
addClassLevelLiteral(Class<?>, Sequence) - Method in class ComponentManager
Add a sequence representing a literal value that can be used when testing members of the given class.
addGeneratedSequence(Sequence) - Method in class ComponentManager
Add a component sequence.
additionalJunitClasses - Variable in class PluginBridge
 
addListener(IEventListener) - Method in class RandoopListenerManager
 
addObject(Object) - Method in class TypeToObjectMap
Requires: runtimeObject is not null.
addOneToCount(T) - Method in class Histogram
 
addPackageLevelLiteral(Package, Sequence) - Method in class ComponentManager
Add a sequence representing a literal value that can be used when testing classes in the given package.
addProjectPath(String) - Static method in class Files
 
addRunResults(String, Properties) - Method in class MultiRunResults
 
addSequence(Class<?>, Sequence) - Method in class ClassLiterals
 
addSequence(T, Sequence) - Method in class MappedSequences
Adds a sequence to the set of sequences associated with the given key.
addSequence(Package, Sequence) - Method in class PackageLiterals
 
addToArray(T[], T) - Static method in class CollectionsExt
Creates and returns an array that contains all elements of the array parameter and has the el parameter appened.
addToCount(T, int) - Method in class Histogram
 
agent - Static variable in class GenInputsAbstract
 
alias_ratio - Static variable in class GenInputsAbstract
Try to reuse values from a sequence with the given frequency.
all - Static variable in class GenInputsAbstract
 
allCombinations(List<List<T>>) - Static method in class CollectionsExt
For a given list of list of objects, create and return the (exponential in size) list of list of objects that comes from combining the every element from the first list with every element from the second list etc.
allInstancesOf(Class<?>, Object[]) - Static method in class CollectionsExt
Returns whether all objects are instances of a given class.
allSequences - Variable in class ForwardGenerator
The set of ALL sequences ever generated, including sequences that were executed and then discarded.
allSequences() - Method in class ForwardGenerator
 
always_use_ints_as_objects - Static variable in class GenInputsAbstract
 
appendCode(Variable, List<Variable>, StringBuilder) - Method in class ArrayDeclaration
Appends string representation of ArrayDeclarationInfo into b.
appendCode(Variable, List<Variable>, StringBuilder) - Method in class DummyStatement
 
appendCode(Variable, List<Variable>, StringBuilder) - Method in class PrimitiveOrStringOrNullDecl
 
appendCode(Variable, List<Variable>, StringBuilder) - Method in class RConstructor
 
appendCode(Variable, List<Variable>, StringBuilder) - Method in class RMethod
 
appendCode(Variable, List<Variable>, StringBuilder) - Method in interface StatementKind
Produces a Java source code representation of this statement and append it to the given StringBuilder.
areDisjoint(Set<?>...) - Static method in class CollectionsExt
Returns whether the sets are disjoint.
ArrayDeclaration - Class in randoop
Immutable.
ArrayDeclaration(Class<?>, int) - Constructor for class ArrayDeclaration
 
ArrayListSimpleList<T> - Class in randoop.util
 
ArrayListSimpleList(ArrayList<T>) - Constructor for class ArrayListSimpleList
 
ArrayListSimpleList() - Constructor for class ArrayListSimpleList
 
ArrayListSimpleList(int) - Constructor for class ArrayListSimpleList
 
auxJarsDir - Variable in class ExperimentBase
 

B

BDGenOneFile - Class in randoop.experiments
 
BDGenOneFile() - Constructor for class BDGenOneFile
 
blackHole - Static variable in class Globals
 
bos - Static variable in class Log
 
boxedType(Class<?>) - Static method in class PrimitiveTypes
 
branch_compares - Variable in class DFResultsOneSeq.VariableInfo
 
BranchDir - Class in randoop.experiments
Runs branch-directed generation on a given subject program.
BranchDir() - Constructor for class BranchDir
 
BranchDirMutator - Class in randoop.experiments
 
BranchDirMutator() - Constructor for class BranchDirMutator
 
branchesCovered - Variable in class CodeCoverageTracker
 
branchesToCoveringSeqs - Variable in class CodeCoverageTracker
 
branchFalse - Variable in class TestCoverageInfo
 
branchTrue - Variable in class TestCoverageInfo
 
BugInRandoopException - Exception in randoop
Thrown to indicate exceptional behavior that definitely indicates a bug in Randoop.
BugInRandoopException() - Constructor for exception BugInRandoopException
 
BugInRandoopException(String) - Constructor for exception BugInRandoopException
 
BugInRandoopException(Exception) - Constructor for exception BugInRandoopException
 
BugInRandoopException(Throwable) - Constructor for exception BugInRandoopException
 

C

CalculateCovTimeRatios - Class in randoop.experiments
 
CalculateCovTimeRatios() - Constructor for class CalculateCovTimeRatios
 
CalculateSequenceSpace - Class in randoop.experiments
 
CalculateSequenceSpace() - Constructor for class CalculateSequenceSpace
 
calls_num - Variable in class RConstructor
 
calls_num - Variable in class RMethod
 
calls_time - Variable in class RConstructor
 
calls_time - Variable in class RMethod
 
canBePassedAsArgument(Object, Class<?>) - Static method in class Reflection
Returns whether the input can be used as argument for the specified parameter type.
canBeUsedAs(Class<?>, Class<?>) - Static method in class Reflection
Checks if an object of class c1 can be used as an object of class c2.
canUse(Class<?>) - Method in class JPFExperimentFilter
 
canUse(Method) - Method in class JPFExperimentFilter
 
canUse(Constructor<?>) - Method in class JPFExperimentFilter
 
canUse(Class<?>) - Method in class DefaultReflectionFilter
 
canUse(Method) - Method in class DefaultReflectionFilter
 
canUse(Constructor<?>) - Method in class DefaultReflectionFilter
 
canUse(Class<?>) - Method in class EverythingAllowedFilter
 
canUse(Method) - Method in class EverythingAllowedFilter
 
canUse(Constructor<?>) - Method in class EverythingAllowedFilter
 
canUse(Class<?>) - Method in interface ReflectionFilter
 
canUse(Method) - Method in interface ReflectionFilter
 
canUse(Constructor<?>) - Method in interface ReflectionFilter
 
capture_output - Static variable in class GenInputsAbstract
 
cat(String) - Static method in class Files
Prints out the contents of the give file to stdout.
Check - Interface in randoop
A correctness check performed on some aspect of a unit test's execution.
Check_no_error_reports - Class in randoop.experiments
Randoop should generate Junit tests that result in testclasses failures.
Check_no_error_reports() - Constructor for class Check_no_error_reports
 
check_no_error_reports(Reader) - Static method in class Check_no_error_reports
 
check_object_contracts - Static variable in class GenInputsAbstract
Use Randoop's default set of object contracts.
checkAccept(String, int) - Method in class RandoopSecurityManager
 
checkAccess(Thread) - Method in class RandoopSecurityManager
 
checkAccess(ThreadGroup) - Method in class RandoopSecurityManager
 
checkArgumentTypes(Object[], Class<?>[], Object) - Static method in class Reflection
Checks whether the inputs can be used as arguments for the specified parameter types.
checkAwtEventQueueAccess() - Method in class RandoopSecurityManager
 
checkConnect(String, int, Object) - Method in class RandoopSecurityManager
 
checkConnect(String, int) - Method in class RandoopSecurityManager
 
checkCreateClassLoader() - Method in class RandoopSecurityManager
 
checkDelete(String) - Method in class RandoopSecurityManager
 
checkExec(String) - Method in class RandoopSecurityManager
 
checkExit(int) - Method in class RandoopSecurityManager
 
checkIfReproduced(RandoopRun.RunType, String, Properties) - Static method in class ReproduceISSTA06
 
checkIndex(int) - Method in class Sequence
 
checkLink(String) - Method in class RandoopSecurityManager
 
checkListen(int) - Method in class RandoopSecurityManager
 
checkMemberAccess(Class<?>, int) - Method in class RandoopSecurityManager
 
checkMulticast(InetAddress, byte) - Method in class RandoopSecurityManager
 
checkMulticast(InetAddress) - Method in class RandoopSecurityManager
 
checkOptionsValid() - Method in class GenInputsAbstract
Check that the options given satisfy any specified constraints, and fail if they do not.
checkPackageAccess(String) - Method in class RandoopSecurityManager
 
checkPackageDefinition(String) - Method in class RandoopSecurityManager
 
checkPermission(Permission, Object) - Method in class RandoopSecurityManager
 
checkPermission(Permission) - Method in class RandoopSecurityManager
 
checkPrintJobAccess() - Method in class RandoopSecurityManager
 
checkPropertiesAccess() - Method in class RandoopSecurityManager
 
checkPropertyAccess(String) - Method in class RandoopSecurityManager
 
checkRead(FileDescriptor) - Method in class RandoopSecurityManager
 
checkRead(String, Object) - Method in class RandoopSecurityManager
 
checkRead(String) - Method in class RandoopSecurityManager
 
CheckRep - Annotation Type in randoop
An annotation that a user of Randoop can place next to a method to specify that that the method should be used as a representation invariant.
checkRep() - Method in class MSequence
Checks the following well-formedness properties for every statement in the list of statements: The number of inputs is the same as the input of inputs specified by the statement kind.
CheckRepContract - Class in randoop
Represents the contract that an object should conform to its representation invariant, as expressed in a user-supplied representation check method.A rep check method for a class must be declared as a public instance method with no parameters in the given class, annotated with a @CheckRep annotation, and have return type boolean or void.
CheckRepContract(Method) - Constructor for class CheckRepContract
 
checkRepMethod - Variable in class CheckRepContract
 
checks - Variable in class ExecutableSequence
 
checks_count(List<ExecutableSequence>) - Static method in class ExecutableSequence
Return the total number of checks in a list of sequences
checkSecurityAccess(String) - Method in class RandoopSecurityManager
 
checkSetFactory() - Method in class RandoopSecurityManager
 
checksResults - Variable in class ExecutableSequence
 
checkSystemClipboardAccess() - Method in class RandoopSecurityManager
 
checkTopLevelWindow(Object) - Method in class RandoopSecurityManager
 
checkWrite(FileDescriptor) - Method in class RandoopSecurityManager
 
checkWrite(String) - Method in class RandoopSecurityManager
 
chunkUp(List<T>, int) - Static method in class CollectionsExt
Divides the argument into chunks of at most the given length.
classComplexity(Class<?>) - Method in class ClassComplexityCalculator
 
ClassComplexityCalculator - Class in randoop.util
For each class, it can calculate the length of the shortest sequence of method calls that creates an object of the class (for abstract classes and interfaces: any concrete subclass), using only the classes in the provided set.
ClassComplexityCalculator(Collection<Class<?>>) - Constructor for class ClassComplexityCalculator
 
classDepth(String) - Method in class RandoopSecurityManager
 
classDirAbs - Variable in class ExperimentBase
 
classes - Variable in class ClassFileConstants.ConstantSet
 
classesForNames(ArrayList<String>) - Static method in class Reflection
 
ClassFileConstants - Class in randoop.util
Reads literals from a class file, including from the constant pool and from bytecodes that take immediate arguments.
ClassFileConstants() - Constructor for class ClassFileConstants
 
ClassFileConstants.ConstantSet - Class in randoop.util
 
ClassFileConstants.ConstantSet() - Constructor for class ClassFileConstants.ConstantSet
 
ClassFilter - Interface in randoop.experiments
A ClassFilter is used by a ClassListPrinter to determine which classes from a list of classes to print.
classForName(String) - Static method in class Reflection
Gets the class corresponding to the given string.
classForName(String, boolean) - Static method in class Reflection
Gets the class corresponding to the given string.
ClassHierarchy - Class in randoop.util
For a given set of classes, this object can answer queries about sub/superclass dependencies.
ClassHierarchy(Collection<Class<?>>) - Constructor for class ClassHierarchy
 
classifdepsizes - Variable in class StatsWriter
 
classifNames - Variable in class StatsWriter
 
classifSources - Variable in class StatsWriter
 
classlist - Static variable in class GenInputsAbstract
The name of a file that lists classes under test.
classlist - Static variable in class UniversalDriverHandler
 
ClassListPrinter - Class in randoop.experiments
Finds all files ending in ".class" in the given package, located in directory classDir.
ClassListPrinter() - Constructor for class ClassListPrinter
 
ClassLiterals - Class in randoop
For a given class C, ClassLiterals maps C (if present) to a collection of literals (represented as single-element sequences) that can be used as inputs to members of the given class.
ClassLiterals() - Constructor for class ClassLiterals
 
classLoaderDepth() - Method in class RandoopSecurityManager
 
classname - Variable in class ClassFileConstants.ConstantSet
 
classOmitPattern - Variable in class ExperimentBase
 
classPath - Variable in class ExperimentBase
 
clean() - Method in class KeyToMultiSet
 
clean_checks - Static variable in class GenInputsAbstract
 
CleanObservations - Class in randoop.main
 
CleanObservations() - Constructor for class CleanObservations
 
clear - Static variable in class GenInputsAbstract
Clear the component set each time it reaches inputs.
clear() - Method in class SequenceCollection
Removes all sequences from this collection.
clear() - Method in class DoubleKeyMap
 
clear() - Method in class DoubleKeyToSetMap
 
clear() - Method in class Histogram
 
clear() - Method in class KeyToMultiSet
 
clear() - Method in class MultiMap
 
clear() - Method in class ProgressDisplay
Clear the display; good to do before printing to System.out.
clearActiveFlag(int) - Method in class Sequence
 
clearAllActiveFlags() - Method in class Sequence
 
clearGeneratedSequences() - Method in class ComponentManager
Removes any components sequences added so far, except for seed sequences, which are preserved.
clone() - Method in class RandoopSecurityManager
 
close() - Method in class MessageSender
 
ClosingStream - Class in randoop.runtime
 
ClosingStream() - Constructor for class ClosingStream
 
CodeCoverageTracker - Class in randoop.experiments
 
CodeCoverageTracker(List<Class<?>>) - Constructor for class CodeCoverageTracker
Creates a coverage tracker that tracks the classes specified in the given list.
CollectionsExt - Class in randoop.util
 
COLWIDTH - Static variable in class Globals
 
CombineCovMaps - Class in randoop.experiments
Used to combine the coverage results of multiple Randoop runs.
CombineCovMaps() - Constructor for class CombineCovMaps
 
CombinedStats - Class in randoop.experiments
 
CombinedStats() - Constructor for class CombinedStats
 
comm_port - Static variable in class GenInputsAbstract
 
Command - Class in randoop.experiments
The important method in this class is exec(String).
Command() - Constructor for class Command
 
Command - Class in randoop.util
The important method in this class is exec(String[]).
Command() - Constructor for class Command
 
Command.KillBecauseTimeLimitExceed - Exception in randoop.experiments
 
Command.KillBecauseTimeLimitExceed(String) - Constructor for exception Command.KillBecauseTimeLimitExceed
 
Command.StreamGobbler - Class in randoop.experiments
Helper class for Command.
Command.StreamGobbler - Class in randoop.util
Helper class for Command.
CommandHandler - Class in randoop.main
A command is the first argument given to Randoop.
CommandHandler(String, String, String, String, String, List<String>, String, String, String, Options) - Constructor for class CommandHandler
No arguments should be null.
compare(String, SimpleList<T>, String, SimpleList<T>) - Method in class InformationalComparator
Compares two lists for equality.
compare_checks(ExecutableSequence, boolean, boolean) - Method in class ExecutableSequence
Compares the results of the checks of two sequences (the code in each sequence should be the same).
compare_checks - Static variable in class GenInputsAbstract
Run each test twice and compare the checks.
compareTo(Variable) - Method in class Variable
 
component_based - Static variable in class RandoopAllClasses
 
componentfile_ser - Static variable in class GenInputsAbstract
 
componentfile_txt - Static variable in class GenInputsAbstract
 
componentManager - Variable in class AbstractGenerator
Component manager responsible for storing previously-generated sequences.
ComponentManager - Class in randoop
Stores and provides means to access the component sequences generated during a run of Randoop.
ComponentManager() - Constructor for class ComponentManager
Create an empty component manager, with an empty seed sequence set.
ComponentManager(Collection<Sequence>) - Constructor for class ComponentManager
Create a component manager, initially populated with the given sequences, which are considered seed sequences.
ComputeFrontierBranches - Class in randoop.main
 
ComputeFrontierBranches() - Constructor for class ComputeFrontierBranches
 
concat(List<? extends T>...) - Static method in class CollectionsExt
Returns an ArrayList that is a concatenation of the arguments.
concatAll(Collection<? extends List<? extends T>>) - Static method in class CollectionsExt
Returns an ArrayList that is a concatenation of the arguments.
concatenate(List<Sequence>) - Static method in class Sequence
Create a new sequence that is the concatenation of the given sequences.
ConstructorReflectionCode - Class in randoop.util
This is used to wrap a constructor together with its parameters, ready for execution.
ConstructorReflectionCode(Constructor<?>, Object[]) - Constructor for class ConstructorReflectionCode
 
contains(T) - Method in interface ISimpleSet
Returns true if elt is in this set.
contains(T1) - Method in class KeyToMultiSet
 
contains(T1) - Method in class MultiMap
 
contains(T) - Method in class ReversibleSet
 
contains(T) - Method in class SimpleSet
 
containsAssignableType(Class<?>, Reflection.Match) - Method in class SubTypeSet
If match==COMPATIBLE_TYPE, returns true if this set contains any classes that can-be-used-as the given class c.
containsEquivalent(Collection<T>, Object, Hasher) - Static method in class CollectionsExt
Returns true iff the collection contains an element equivalent to the given one, as decided by the hasher.
containsIdentical(Collection<T>, Object) - Static method in class CollectionsExt
Returns true iff the collection contains the element.
containsKeys(K1, K2) - Method in class DoubleKeyMap
 
containsKeys(K1, K2) - Method in class DoubleKeyToSetMap
 
contract - Variable in class ObjectCheck
 
ContractCheckingVisitor - Class in randoop
An execution visitor that checks unary and binary object contracts on the values created by the sequence.
ContractCheckingVisitor(List<ObjectContract>, boolean) - Constructor for class ContractCheckingVisitor
Create a new visitor that checks the given contracts after the last statement in a sequence is executed.
convertToHexString(String) - Static method in class Util
 
copyWithIndexUpdated(Map<Integer, Integer>) - Method in class Variable
 
CountDownTimer - Class in randoop.util
 
CountLines - Class in randoop.main
Counts lines in multiple files.
countLines(String) - Static method in class Files
Returns the number of lines in the given file.
covClasses - Variable in class CodeCoverageTracker
 
coverage_instrumented_classes - Static variable in class GenInputsAbstract
 
CoverageInstrumentedClassFilter - Class in randoop.experiments
 
CoverageInstrumentedClassFilter() - Constructor for class CoverageInstrumentedClassFilter
 
covInstClassListFile - Variable in class ExperimentBase
 
covInstSourcesDir - Variable in class ExperimentBase
 
CovPlot - Class in randoop.experiments
 
CovPlot(String) - Constructor for class CovPlot
 
CovUtils - Class in randoop.main
 
CovUtils() - Constructor for class CovUtils
 
CovWitnessHelperVisitor - Class in randoop.experiments
This class is only used by the branch-directed generation research project.
CovWitnessHelperVisitor(CodeCoverageTracker) - Constructor for class CovWitnessHelperVisitor
 
create() - Static method in class NotExecuted
 
create(PrimitiveOrStringOrNullDecl) - Static method in class Sequence
Returns a sequence that consists of a single primitive declaration statement (e.g.
createAndStart(long) - Static method in class CountDownTimer
 
createArgListJVML(Class<?>[]) - Static method in class Util
 
CreateCovReport - Class in randoop.experiments
Creates a textual report of the coverage achieved for a collections of classes.
CreateCovReport() - Constructor for class CreateCovReport
 
CreatedJUnitFile - Class in randoop.runtime
A message indicating that Randoop created a specific JUnit file containing generated tests.
CreatedJUnitFile(File, boolean) - Constructor for class CreatedJUnitFile
 
createJavaFiles(List<Sequence>, String, int) - Static method in class JavaFileWriter
 
createJunitFiles(List<ExecutableSequence>, List<Class<?>>) - Method in class JunitFileWriter
create both the test files and the drivers for convenience
createJunitFiles(List<ExecutableSequence>) - Method in class JunitFileWriter
create both the test files and the drivers for convinience
createJunitTestFile(String, String, ExecutableSequence, String) - Static method in class JunitFileWriter
 
createJunitTestFiles(List<ExecutableSequence>, String) - Method in class JunitFileWriter
Creates Junit tests for the faults.
createJunitTestFiles(List<ExecutableSequence>) - Method in class JunitFileWriter
Creates Junit tests for the faults.
createPerArityGroups(Object[], int) - Static method in class CollectionsExt
Creates a set of all sequences of length max of objects.
createSequence(ComponentManager, Class<?>) - Static method in class HelperSequenceCreator
Returns a sequence that creates an object of type compatible the given class.
currentClassLoader() - Method in class RandoopSecurityManager
 
currentLoadedClass() - Method in class RandoopSecurityManager
 
currentTarget - Variable in class MachineManager
 
currSeq - Static variable in class AbstractGenerator
This field is set by Randoop to point to the sequence currently being executed.

D

data - Variable in class CombinedStats
 
DataFlow - Class in randoop.experiments
 
DataFlow() - Constructor for class DataFlow
 
DataFlow - Class in randoop.main
Computes dynamic data flow information affecting specific branches in sequences.
DataFlow() - Constructor for class DataFlow
 
DataFlowInput - Class in randoop.experiments
A collection of frontier branches and sequences that reach them.
DataFlowInput(Map<Branch, Set<Sequence>>) - Constructor for class DataFlowInput
 
DataFlowOutput - Class in randoop.experiments
The output created by DataFlow consists of a collection of results, one for each sequence.
DataFlowOutput(List<DFResultsOneSeq>) - Constructor for class DataFlowOutput
 
debug - Static variable in class Premain.BCELLoader
 
debug - Static variable in class Premain
 
debug_checks - Static variable in class GenInputsAbstract
 
debug_df - Static variable in class DataFlow
 
debug_instrument - Static variable in class Instrument
 
debug_instrument_inst - Static variable in class Instrument
 
debug_map - Static variable in class Instrument
Debug information on method maping
debug_transform - Static variable in class Instrument
Debug information about which classes are transformed and why
declaringClass - Variable in class CheckRepContract
 
default_bcel - Static variable in class Premain
 
DefaultReflectionFilter - Class in randoop.util
Returns true for public members, with some exceptions (see doNotUseSpecialCase method).
DefaultReflectionFilter(Pattern) - Constructor for class DefaultReflectionFilter
omitmethods can be null (which means "omit no methods")
defaultSeeds() - Static method in class SeedSequences
A set of sequences that create primitive values, e.g.
DefaultTestFilter - Class in randoop
Randoop's default test filter determines if a generated test should be output to the user.
DefaultTestFilter() - Constructor for class DefaultTestFilter
 
deleteFile(String) - Static method in class Files
 
deleteRecursive(File) - Static method in class Files
 
depsize - Variable in class StatsWriter
 
description - Variable in class ErrorRevealed
 
DFOneFile - Class in randoop.experiments
 
DFOneFile() - Constructor for class DFOneFile
 
DFResultsOneSeq - Class in randoop.experiments
Encapsulates the results of the branch analysis for a given sequence and its frontier branch.
DFResultsOneSeq(Sequence, CoverageAtom, Set<DFResultsOneSeq.VariableInfo>) - Constructor for class DFResultsOneSeq
 
DFResultsOneSeq.VariableInfo - Class in randoop.experiments
Class that contains information about the values in the frontier
DFResultsOneSeq.VariableInfo(Variable) - Constructor for class DFResultsOneSeq.VariableInfo
 
diff(Set<? extends T>, Set<? extends T>) - Static method in class CollectionsExt
 
display() - Method in class ProgressDisplay
Displays the current status.
display(String) - Method in class ProgressDisplay
Displays the given message.
dont_output_tests - Static variable in class GenInputsAbstract
 
dontexecute - Static variable in class GenInputsAbstract
Create sequences but never execute them.
DoubleKeyMap<K1,K2,V> - Class in randoop.util
Map indexed with 2 keys.
DoubleKeyMap() - Constructor for class DoubleKeyMap
 
DoubleKeyToSetMap<K1,K2,V> - Class in randoop.util
Map indexed with 2 keys.
DoubleKeyToSetMap() - Constructor for class DoubleKeyToSetMap
 
doubles - Variable in class ClassFileConstants.ConstantSet
 
DummyStatement - Class in randoop
 
DummyStatement() - Constructor for class DummyStatement
 
DummyStatement(String) - Constructor for class DummyStatement
 
DummyVisitor - Class in randoop
A visitor that does nothing and adds no checks.
DummyVisitor() - Constructor for class DummyVisitor
 
dump_map_list() - Static method in class Instrument
Dumps out the map list to the debug_map logger
dump_seqs(String, List<ExecutableSequence>) - Static method in class GenTests
 
dump_sequences - Static variable in class AbstractGenerator
 
duplicate() - Method in class ExecutableSequence
 

E

elapsedTime() - Method in class CountDownTimer
 
equals(Object) - Method in class ArrayDeclaration
 
equals(Object) - Method in class CheckRepContract
 
equals(Object) - Method in class DummyStatement
 
equals(Object) - Method in class EqualsHashcode
 
equals(Object) - Method in class EqualsReflexive
 
equals(Object) - Method in class EqualsSymmetric
 
equals(Object) - Method in class EqualsToNullRetFalse
 
equals(Object) - Method in class ExecutableSequence
 
equals(Object) - Method in class ExpectedExceptionCheck
 
equals(Object) - Method in class FailureSet.Failure
 
equals(Object) - Method in class HashCodeReturnsNormally
 
equals(Object) - Method in class IsNotNull
 
equals(Object) - Method in class IsNull
 
equals(Object) - Method in class NoExceptionCheck
 
equals(Object) - Method in class ObjectCheck
 
equals(Object) - Method in class ObserverEqValue
 
equals(Object) - Method in class PrimitiveOrStringOrNullDecl
Indicates whether this PrimitiveOrStringOrNullDeclInfo is equal to o
equals(Object) - Method in class PrimValue
 
equals(Object) - Method in class RConstructor
 
equals(Object) - Method in class RMethod
 
equals(Object) - Method in class Sequence
Two sequences are equal if their statements(+inputs) are element-wise equal.
equals(Object) - Method in class Sequence.RelativeNegativeIndex
 
equals(Object) - Method in class Statement
 
equals(Object) - Method in class ToStringReturnsNormally
 
equals(Object) - Method in class RandoopSecurityManager
 
equals(Object) - Method in class Variable
 
EqualsHashcode - Class in randoop
The contract: o1.equals(o2) => o1.hashCode() == o2.hashCode().
EqualsHashcode() - Constructor for class EqualsHashcode
 
EqualsMethodMatcher - Class in randoop
 
EqualsMethodMatcher() - Constructor for class EqualsMethodMatcher
 
EqualsReflexive - Class in randoop
The contract: x0.equals(x0)==true.
EqualsReflexive() - Constructor for class EqualsReflexive
 
EqualsSymmetric - Class in randoop
The contract: o1.equals(o2) => o2.equals(o1).
EqualsSymmetric() - Constructor for class EqualsSymmetric
 
EqualsToNullRetFalse - Class in randoop
The contract: x0.equals(null)==false.
EqualsToNullRetFalse() - Constructor for class EqualsToNullRetFalse
 
equalsWithNull(Object, Object) - Static method in class Util
If both parameters are null, returns true.
err - Static variable in class Log
 
ErrorRevealed - Class in randoop.runtime
 
ErrorRevealed(String, String, List<String>, File) - Constructor for class ErrorRevealed
 
errors - Variable in class DefaultTestFilter
 
errors - Variable in class PluginBridge
 
escapeJava(String) - Static method in class StringEscapeUtils
Escapes the characters in a String using Java String rules.
escapeJava(Writer, String) - Static method in class StringEscapeUtils
Escapes the characters in a String using Java String rules to a Writer.
etime - Static variable in class Randoop100Stats
 
evalExceptionMeansFailure() - Method in class CheckRepContract
 
evalExceptionMeansFailure() - Method in class EqualsHashcode
 
evalExceptionMeansFailure() - Method in class EqualsReflexive
 
evalExceptionMeansFailure() - Method in class EqualsSymmetric
 
evalExceptionMeansFailure() - Method in class EqualsToNullRetFalse
 
evalExceptionMeansFailure() - Method in class HashCodeReturnsNormally
 
evalExceptionMeansFailure() - Method in class IsNotNull
 
evalExceptionMeansFailure() - Method in class IsNull
 
evalExceptionMeansFailure() - Method in interface ObjectContract
Communicates to Randoop how to interpret exceptional behavior from the evaluate method.
evalExceptionMeansFailure() - Method in class ObserverEqValue
 
evalExceptionMeansFailure() - Method in class PrimValue
 
evalExceptionMeansFailure() - Method in class ToStringReturnsNormally
 
evaluate(Execution) - Method in interface Check
Evaluates this check on the given unfolding execution of a sequence, returning true if the check succeeded, and false otherwise.
evaluate(Object...) - Method in class CheckRepContract
 
evaluate(Object...) - Method in class EqualsHashcode
 
evaluate(Object...) - Method in class EqualsReflexive
 
evaluate(Object...) - Method in class EqualsSymmetric
 
evaluate(Object...) - Method in class EqualsToNullRetFalse
 
evaluate(Execution) - Method in class ExpectedExceptionCheck
 
evaluate(Object...) - Method in class HashCodeReturnsNormally
 
evaluate(Object...) - Method in class IsNotNull
 
evaluate(Object...) - Method in class IsNull
 
evaluate(Execution) - Method in class NoExceptionCheck
 
evaluate(Execution) - Method in class ObjectCheck
 
evaluate(Object...) - Method in interface ObjectContract
Evaluates the contract on the given values.
evaluate(Object...) - Method in class ObserverEqValue
 
evaluate(Object...) - Method in class PrimValue
 
evaluate(Object...) - Method in class ToStringReturnsNormally
 
EverythingAllowedFilter - Class in randoop.util
 
EverythingAllowedFilter() - Constructor for class EverythingAllowedFilter
 
EverythingIsDifferentMatcher - Class in randoop
 
EverythingIsDifferentMatcher() - Constructor for class EverythingIsDifferentMatcher
 
excepExecAvgMillis() - Static method in class ReflectionExecutor
 
excepExecs() - Static method in class ReflectionExecutor
 
ExceptionalExecution - Class in randoop
Means that the execution of a statement threw an exception.
ExceptionalExecution(Throwable, long) - Constructor for class ExceptionalExecution
 
exceptionIndex() - Method in class ExecutableSequence
Returns the index i for which this.isExceptionalExecution(i), or -1 if there is no such index.
exceptions - Static variable in class RandomWalkGenerator
 
exceptionThrown - Variable in class RunnerThread
 
exec(String[]) - Static method in class Command
Runs cmd, redirecting stdout and stderr to System.out.
exec(String[], PrintStream, PrintStream) - Static method in class Command
Runs cmd, redirecting stdout and stderr to `out' and prefixing the output from stout with "OUT>" and the output from stderr with "ERR>".
exec(String[], PrintStream, PrintStream, String) - Static method in class Command
 
exec(String[], PrintStream, PrintStream, String, boolean) - Static method in class Command
Convenience method.
exec(String[], PrintStream, PrintStream, String, boolean, File) - Static method in class Command
 
exec(String[], PrintStream, PrintStream, String, boolean, int, File) - Static method in class Command
 
exec(String) - Static method in class Command
Runs cmd, redirecting stdout and stderr to System.out.
exec(String[]) - Static method in class Command
Runs cmd, redirecting stdout and stderr to System.out.
exec(String[], PrintStream) - Static method in class Command
Runs cmd, redirecting stdout and stderr to `out' and prefixing the output from stout with "OUT>" and the output from stderr with "ERR>".
exec(String[], PrintStream, String) - Static method in class Command
 
exec(String[], PrintStream, String, boolean) - Static method in class Command
 
exectime - Variable in class ExecutableSequence
 
exectime - Variable in class StatsWriter
 
ExecutableSequence - Class in randoop
An ExecutableSequence wraps a Sequence with functionality for executing the sequence.
ExecutableSequence(Sequence) - Constructor for class ExecutableSequence
Create an executable sequence that executes the given sequence.
ExecutableSequence(Sequence, Execution, List<List<Check>>) - Constructor for class ExecutableSequence
Create an executable sequence directly using the given arguments.
execute(Object[], PrintStream) - Method in class ArrayDeclaration
Executes this statement, given the inputs to the statement.
execute(Object[], PrintStream) - Method in class DummyStatement
 
execute(ExecutionVisitor) - Method in class ExecutableSequence
Executes sequence, stopping on exceptions
execute(ExecutionVisitor, boolean) - Method in class ExecutableSequence
Execute this sequence, invoking the given visitor as the execution unfolds.
Execute - Class in randoop.experiments
 
Execute() - Constructor for class Execute
 
execute(ObjectContract, Object...) - Static method in class ObjectContractUtils
Executes the given contract via reflection.
execute(Object[], PrintStream) - Method in class PrimitiveOrStringOrNullDecl
Executes this statement, given the inputs to the statement.
execute(Object[], PrintStream) - Method in class RConstructor
 
execute(Object[], PrintStream) - Method in class RMethod
 
execute(Object[], PrintStream) - Method in interface StatementKind
Executes this statement, given the inputs to the statement.
execute_init_routine(int) - Static method in class GenTests
Execute the init routine (if user specified one)
executedSize() - Method in class ExecutableSequence
 
executeReflectionCode(ReflectionCode, PrintStream) - Static method in class ReflectionExecutor
 
ExecuteSequence - Class in randoop.main
 
ExecuteSequence() - Constructor for class ExecuteSequence
 
executeStatement(Sequence, List<ExecutionOutcome>, int, Object[]) - Static method in class ExecutableSequence
 
Execution - Class in randoop
Represents the unfolding execution of a sequence.
Execution(Sequence) - Constructor for class Execution
Create an Execution to store the execution results of the given sequence.
Execution(Sequence, List<ExecutionOutcome>) - Constructor for class Execution
Construct an Execution directly from the given arguments.
ExecutionOutcome - Class in randoop
Represents the outcome of executing one statement in a sequence, including the value returned by the statement, or the exception thrown.
ExecutionOutcome() - Constructor for class ExecutionOutcome
 
executionResults - Variable in class ExecutableSequence
 
executionVisitor - Variable in class AbstractGenerator
Container for execution visitors used during execution of sequences.
ExecutionVisitor - Interface in randoop
A visitor that is invoked as the execution of a sequence unfolds.
exp - Static variable in class Randoop100Stats
 
ExpectedExceptionCheck - Class in randoop
A checker that checks for an expected exception from a method call.
ExpectedExceptionCheck(Throwable, int) - Constructor for class ExpectedExceptionCheck
 
ExpectedExceptionCheck(Class<? extends Throwable>, int) - Constructor for class ExpectedExceptionCheck
 
experiment - Static variable in class ComputeFrontierBranches
 
ExperimentBase - Class in randoop.experiments
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.
ExperimentBase(String) - Constructor for class ExperimentBase
Creates a new ExperimentBase whose properties are obtained from inStream.
experimentName - Variable in class ExperimentBase
 
expfile - Static variable in class GenInputsAbstract
 
explorationEnd() - Method in class CodeCoverageTracker
 
explorationEnd() - Method in interface IEventListener
Called immediately after the end of test generation.
explorationEnd() - Method in class RandoopListenerManager
 
explorationEnd() - Method in class PluginBridge
 
explorationStart() - Method in class CodeCoverageTracker
 
explorationStart() - Method in interface IEventListener
Called immediately at the start of test generation, before any generation steps have occurred.
explorationStart() - Method in class RandoopListenerManager
 
explorationStart() - Method in class PluginBridge
 
explore() - Method in class AbstractGenerator
Creates and executes new sequences in a loop.
extend(StatementKind, List<Variable>) - Method in class Sequence
Returns a new sequence that is equivalent to this sequence plus the given statement appended at the end.
extend(StatementKind, Variable...) - Method in class Sequence
Returns a new sequence that is equivalent to this sequence plus the given statement appended at the end.
extraProperties - Variable in class ExperimentBase
 

F

fail - Static variable in class GenInputsAbstract
 
failingClassNames - Variable in class ErrorRevealed
 
FailureSet - Class in randoop
 
FailureSet(ExecutableSequence) - Constructor for class FailureSet
 
FailureSet.Failure - Class in randoop
 
FailureSet.Failure(StatementKind, Class<?>) - Constructor for class FailureSet.Failure
 
failureswriter - Variable in class StatsWriter
 
faults - Static variable in class Randoop100Stats
 
fcommand - Variable in class CommandHandler
 
fcommandGrammar - Variable in class CommandHandler
 
fexample - Variable in class CommandHandler
 
Files - Class in randoop.util
 
find_value_by_name(Sequence, String) - Static method in class DataFlow
Returns the value in the sequence that has the specified name.
findAll(List<?>, Object) - Static method in class CollectionsExt
 
findFilesInDir(File, String, String) - Static method in class Files
 
findJavaFilesRecursively(File) - Static method in class ExperimentBase
 
findPublicTopLevelClasses(String, String, String, ClassFilter) - Static method in class ClassListPrinter
 
finput - Variable in class CommandHandler
 
floats - Variable in class ClassFileConstants.ConstantSet
 
fMap - Variable in class Histogram
 
fnotes - Variable in class CommandHandler
 
foptions - Variable in class CommandHandler
 
forbid_null - Static variable in class GenInputsAbstract
Never use null as input to methods or constructors.
ForwardGenerator - Class in randoop
Randoop's forward, component-based generator.
ForwardGenerator(List<StatementKind>, long, int, ComponentManager, IStopper, RandoopListenerManager, List<ITestFilter>) - Constructor for class ForwardGenerator
 
foutput - Variable in class CommandHandler
 
fpitch - Variable in class CommandHandler
 
fproc - Variable in class MachineManager
 
frontierBranch - Variable in class DFResultsOneSeq
 
frontierMap - Variable in class DataFlowInput
 
fsummary - Variable in class CommandHandler
 
fswapOut - Variable in class MachineManager
 
fwhere - Variable in class CommandHandler
 

G

GenBranchDir - Class in randoop.main
 
GenBranchDir() - Constructor for class GenBranchDir
 
generate_clean_checks(String) - Method in class GenTests
Run Randoop again and generate checks for the sequence.
generationStepPost(ExecutableSequence) - Method in class CodeCoverageTracker
 
generationStepPost(ExecutableSequence) - Method in interface IEventListener
Called by the AbstractGenerator during each generation iteration, immediately after a generation step() has completed.
generationStepPost(ExecutableSequence) - Method in class RandoopListenerManager
 
generationStepPost(ExecutableSequence) - Method in class PluginBridge
 
generationStepPre() - Method in class CodeCoverageTracker
 
generationStepPre() - Method in interface IEventListener
Called by the AbstractGenerator during each generation iteration, immediately before a generation step() is performed.
generationStepPre() - Method in class RandoopListenerManager
 
generationStepPre() - Method in class PluginBridge
 
GenInputsAbstract - Class in randoop.main
Container for Randoop options.
GenInputsAbstract(String, String, String, String, String, List<String>, String, String, String, Options) - Constructor for class GenInputsAbstract
 
GenInputsAbstract.ClassLiteralsMode - Enum in randoop.main
 
GenTests - Class in randoop.main
 
GenTests() - Constructor for class GenTests
 
gentime - Variable in class ExecutableSequence
 
gentime - Variable in class StatsWriter
 
get(int) - Method in class Execution
Get the outcome in the i-th slot.
get(int) - Method in class ArrayListSimpleList
 
get(K1, K2) - Method in class DoubleKeyMap
 
get(K1, K2) - Method in class DoubleKeyToSetMap
 
get(int) - Method in class ListOfLists
 
get(int) - Method in class OneMoreElementList
 
get(int) - Method in class SimpleList
 
get_attribute_name(Attribute) - Method in class Instrument
Returns the attribute name for the specified attribute
get_id() - Method in interface Check
Returns a unique string identifier for the check.
get_id() - Method in class ExpectedExceptionCheck
 
get_id() - Method in class NoExceptionCheck
 
get_id() - Method in class ObjectCheck
 
get_observer_str() - Method in class CheckRepContract
 
get_observer_str() - Method in class EqualsHashcode
 
get_observer_str() - Method in class EqualsReflexive
 
get_observer_str() - Method in class EqualsSymmetric
 
get_observer_str() - Method in class EqualsToNullRetFalse
 
get_observer_str() - Method in class HashCodeReturnsNormally
 
get_observer_str() - Method in class IsNotNull
 
get_observer_str() - Method in class IsNull
 
get_observer_str() - Method in interface ObjectContract
Returns a string describing the observer
get_observer_str() - Method in class ObserverEqValue
 
get_observer_str() - Method in class PrimValue
 
get_observer_str() - Method in class ToStringReturnsNormally
 
get_output() - Method in class ExecutionOutcome
Retrieve the output of the statement
get_stmt_no() - Method in interface Check
Returns the offset in the sequence of this check
get_stmt_no() - Method in class ExpectedExceptionCheck
return the offset of this statement in the sequence
get_stmt_no() - Method in class NoExceptionCheck
 
get_stmt_no() - Method in class ObjectCheck
 
get_value() - Method in interface Check
Returns a short string that can be used to uniquely identify this check.
get_value() - Method in class ExpectedExceptionCheck
Returns the class of the exception thrown
get_value() - Method in class NoExceptionCheck
 
get_value() - Method in class ObjectCheck
For checks involving a primitive-lie value (primitive, String or null) returns a string representation of the value.
getAll(Enumeration<T>) - Static method in class CollectionsExt
 
getAllGeneratedSequences() - Method in class ComponentManager
 
getAllPrimitiveSequences() - Method in class ComponentManager
Returns all sequences that represent primitive values (e.g.
getAllResults() - Method in class ExecutableSequence
 
getAllSequences() - Method in class SequenceCollection
 
getAllStatements() - Method in class SequenceCollection
 
getAllVariables() - Method in class Sequence
The values associated with this sequence.
getAllVs() - Method in class DoubleKeyMap
 
getAllVs() - Method in class DoubleKeyToSetMap
 
getArity() - Method in class CheckRepContract
 
getArity() - Method in class EqualsHashcode
 
getArity() - Method in class EqualsReflexive
 
getArity() - Method in class EqualsSymmetric
 
getArity() - Method in class EqualsToNullRetFalse
 
getArity() - Method in class HashCodeReturnsNormally
 
getArity() - Method in class IsNotNull
 
getArity() - Method in class IsNull
 
getArity() - Method in interface ObjectContract
The number of values that this contract is over.
getArity() - Method in class ObserverEqValue
 
getArity() - Method in class PrimValue
 
getArity() - Method in class ToStringReturnsNormally
 
getBoxedType(String) - Static method in class PrimitiveTypes
 
getBoxedTypesAndString() - Static method in class PrimitiveTypes
 
getChecks(int) - Method in class ExecutableSequence
Get the checks for the i-th element of the sequence.
getChecks(int, Class<? extends Check>) - Method in class ExecutableSequence
 
getChecksResults() - Method in class ExecutableSequence
 
getClassContext() - Method in class RandoopSecurityManager
 
getClasseNamesInJar(String) - Static method in class JarReader
 
getClasseNamesInPackage(String, String) - Static method in class JarReader
 
getClasses() - Method in class ClassHierarchy
 
getCompilableName(Class<?>) - Static method in class Reflection
Returns a name that can be used in Java source for the given class.
getConstants(String) - Static method in class ClassFileConstants
Returns all the constants found in the given class.
getConstants(String, ClassFileConstants.ConstantSet) - Static method in class ClassFileConstants
Adds all the constants found in the given class into the given ConstantSet, and returns it.
getConstructor() - Method in class RConstructor
Returns the reflection constructor corresponding to this RConstructor.
getConstructor() - Method in class ConstructorReflectionCode
 
getConstructorForSignature(String) - Static method in class Reflection
 
getConstructorsOrdered(Class<?>) - Static method in class Reflection
Like Class.getConstructors(), but guarantees always same order.
getContractCheckIndex(Class<? extends Check>) - Method in class ExecutableSequence
 
getContractsFromAnnotations(Class<?>...) - Static method in class GenTests
 
getCount(T) - Method in class Histogram
 
getCoverageInfo(Class<?>) - Static method in class TestCoverageInfo
 
getCreatingStatement(Variable) - Method in class Sequence
The statement that created this value.
getCreatingStatementWithInputs() - Method in class MVariable
 
getDeclaredConstructorsOrdered(Class<?>) - Static method in class Reflection
Like Class.getDeclaredConstructors(), but guarantees always same order.
getDeclaredMethodsOrdered(Class<?>) - Static method in class Reflection
Like Class.getDeclaredMethods(), but guarantees always same order.
getDeclaringStatement(MVariable) - Method in class MSequence
 
getDeclaringStatement() - Method in class Variable
The statement that produced this variable.
getDeclIndex() - Method in class MVariable
 
getDeclIndex() - Method in class Variable
The index of the statement that creates this value.
getDecoration() - Method in exception ReplayFailureException
 
getDir() - Method in class JunitFileWriter
 
getDirectSuperTypes(Class<?>) - Static method in class Reflection
 
getElements() - Method in class SubTypeSet
 
getElements() - Method in interface ISimpleSet
Returns the elements in this set, as a java.util.Set
getElements() - Method in class MultiSet
 
getElements() - Method in class ReversibleSet
 
getElements() - Method in class SimpleSet
 
getElementType() - Method in class ArrayDeclaration
Returns the class of type of elements held in this ArrayDeclarationInfo
getException() - Method in class ExceptionalExecution
 
getExceptionIndex(Class<?>) - Method in class ExecutableSequence
 
getExceptionThrown() - Method in class ConstructorReflectionCode
 
getExceptionThrown() - Method in class MethodReflectionCode
 
getExceptionThrown() - Method in class ReflectionCode
 
getExecutionTime() - Method in class ExceptionalExecution
 
getExecutionTime() - Method in class ExecutionOutcome
How long the associated statement took to execute.
getExecutionTime() - Method in class NormalExecution
 
getExecutionTime() - Method in class NotExecuted
 
getExperimentBasesFromFiles(String[]) - Static method in class ExperimentBase
 
getFailingClassNames() - Method in class ErrorRevealed
 
getFailureIndex() - Method in class ExecutableSequence
 
getFailures(int) - Method in class ExecutableSequence
 
getFailures() - Method in class FailureSet
 
getFile() - Method in class CreatedJUnitFile
 
getFileContents(File) - Static method in class Files
Reads the whole file.
getFileContents(String) - Static method in class Files
Reads the whole file.
getFileReader(String) - Static method in class Files
 
getFileReader(File) - Static method in class Files
 
getFirstVariableFromLastStatementVariables() - Method in class Sequence
 
getHandler() - Static method in class RandoopUncaughtRunnerThreadExceptionHandler
 
getId(StatementKind) - Static method in class StatementKinds
 
getInCheck() - Method in class RandoopSecurityManager
 
getIndex(int) - Method in class CovPlot
 
getIndex(MVariable) - Method in class MSequence
 
getInputs(int) - Method in class MSequence
 
getInputs(int) - Method in class Sequence
The inputs for the ith statement.
getInputs() - Method in class ConstructorReflectionCode
 
getInputs() - Method in class MethodReflectionCode
 
getInputsAsAbsoluteIndices(int) - Method in class Sequence
The inputs for the ith statement, as indices.
getInputTypes() - Method in class ArrayDeclaration
Extracts the input constraints for this ArrayDeclarationInfo
getInputTypes() - Method in class DummyStatement
 
getInputTypes() - Method in class PrimitiveOrStringOrNullDecl
Extracts the input constraints for this PrimitiveOrStringOrNullDeclInfo
getInputTypes() - Method in class RConstructor
Returns the input types of this constructor.
getInputTypes() - Method in class RMethod
Returns the input types of this method.
getInputTypes() - Method in interface StatementKind
Returns the (ordered) list of input types for this statement kind.
getJunitTestSuiteNames() - Method in class JunitFileWriter
 
getK1Set() - Method in class DoubleKeyMap
 
getK1Set() - Method in class DoubleKeyToSetMap
 
getK2Set(K1) - Method in class DoubleKeyMap
 
getK2Set(K1) - Method in class DoubleKeyToSetMap
 
getLastStatement() - Method in class Sequence
The last Statement in the sequence.
getLastStatementTypes() - Method in class Sequence
The types of all the variables involved in the last statement.
getLastStatementVariables() - Method in class Sequence
The variables involved in the last statement.
getLastVariable() - Method in class Sequence
The value created by the last statement in the sequence.
getMatches(Class<?>) - Method in class SubTypeSet
Returns all the classes in the set that can-be-used-as the given c.
getMaxCov() - Method in class CovPlot
 
getMessage() - Method in exception SequenceParseException
 
getMethod() - Method in class RMethod
Returns Method object represented by this MethodCallInfo
getMethod() - Method in class MethodReflectionCode
 
getMethodForSignature(String) - Static method in class Reflection
 
getMethodsOrdered(Class<?>) - Static method in class Reflection
Like Class.getMethods(), but guarantees always same order.
getName() - Method in class MVariable
 
getName() - Method in class Variable
 
getNamesForClasses(ArrayList<Class<?>>) - Static method in class Reflection
To deserialize a list serialized with this method, use the method deserializeClassList.
getNetSize() - Method in class Sequence
 
getNextTarget() - Method in class OneTargetPerArgument
 
getNextTarget() - Method in class OneTargetPerLine
 
getNextTarget() - Method in class PrepareTargetMaker
 
getNextTarget() - Method in class RandomTargets
 
getNextTarget() - Method in class RandoopOneClassTargetMaker
 
getNextTarget() - Method in class RandWalkExpMaker
 
getNextTarget() - Method in interface TargetMaker
 
getNthIteratedElement(Collection<? extends T>, int) - Static method in class CollectionsExt
 
getNthIteratedElement(Iterator<? extends T>, int) - Static method in class CollectionsExt
 
getNumErrors() - Method in class PercentDone
 
getObserverEqValue(Method, Object) - Static method in class ObserverEqValue
Create an ObserverEqValue from its basic parts (used when reading from a serialized file).
getOutputType() - Method in class ArrayDeclaration
Returns constraint to represent new reference to this statement, namely the receiver that is generated.
getOutputType() - Method in class DummyStatement
 
getOutputType() - Method in class PrimitiveOrStringOrNullDecl
Returns constraint to represent new reference to this statement
getOutputType() - Method in class RConstructor
Returns the return type of this constructor.
getOutputType() - Method in class RMethod
Returns the return type of this method.
getOutputType() - Method in interface StatementKind
Returns the type of this statement kind's output.
getPercentDone() - Method in class PercentDone
Returns how close Randoop is to being done, as a percentage (between 0 and 100).
getPrimitiveTypeOrString(String) - Static method in class PrimitiveTypes
 
getPrimitiveTypesAndString() - Static method in class PrimitiveTypes
 
getRandomElement() - Method in class WeightedList
 
getRandomIndex() - Method in class WeightedList
 
getRandoopVersion() - Static method in class Globals
 
getRConstructor(Constructor<?>) - Static method in class RConstructor
Creates the RConstructor corresponding to the given reflection constructor.
getReceiver() - Method in class MethodReflectionCode
 
getRelativeIndexForVariable(int, Variable) - Static method in class Sequence
Returns the relative negative index that would result if we use the given value as an input to the statement at position statementPosition.
getResult(int) - Method in class ExecutableSequence
This method is typically used by ExecutionVisitors.
getReturnVariable() - Method in class ConstructorReflectionCode
 
getReturnVariable() - Method in class MethodReflectionCode
 
getReturnVariable() - Method in class ReflectionCode
 
getRMethod(Method) - Static method in class RMethod
Returns the statement corresponding to the given constructor.
getRuntimeInputs(Sequence, List<ExecutionOutcome>, int, List<Variable>, Object[]) - Static method in class ExecutableSequence
 
getRuntimeValue() - Method in class NormalExecution
 
getRuntimeValuesForVars(List<Variable>, List<ExecutionOutcome>) - Static method in class ExecutableSequence
 
getSecurityContext() - Method in class RandoopSecurityManager
 
getSeeds(Class<?>) - Static method in class SeedSequences
 
getSeedsFromAnnotatedFields(Class<?>...) - Static method in class SeedSequences
Inspects the declared fields of the given classes.
getSequences(Class<?>, Class<?>) - Method in class ClassLiterals
 
getSequences(List<ExecutableSequence>) - Static method in class ExecutableSequence
 
getSequences(T, Class<?>) - Method in class MappedSequences
Returns the set of sequences (as a list) that are associated with the given key and create values of the desiredType.
getSequencesForType(Class<?>, boolean) - Method in class ComponentManager
Returns all the general component sequences that create values of the given class.
getSequencesForType(StatementKind, int) - Method in class ComponentManager
Returns component sequences that create values of the type required by the i-th input value of the given statement.
getSequencesForType(Class<?>, boolean) - Method in class SequenceCollection
Searches through the set of active sequences to find all sequences whose types match with the parameter type.
getSequencesGenerated() - Method in class PercentDone
 
getSignature(Constructor<?>) - Static method in class Reflection
 
getSignature(Method) - Static method in class Reflection
 
getSingletonElt(Set<Sequence>) - Static method in class DataFlow
 
getStatement(int) - Method in class MSequence
 
getStatementKind(int) - Method in class MSequence
 
getStatementKind(int) - Method in class Sequence
The statement for the statement at the given index.
getStatements(Collection<Class<?>>, ReflectionFilter) - Static method in class Reflection
 
getStatementWithInputs(int) - Method in class Sequence
The statement(+inputs) at the given index.
getThreadGroup() - Method in class RandoopSecurityManager
 
getTimeElapsedMillis() - Method in class Timer
The total testtime elapsed.
getTotalOperations() - Method in class CombinedStats
 
getTotalSequences() - Method in class CombinedStats
 
getType() - Method in class MVariable
 
getType() - Method in class PrimitiveOrStringOrNullDecl
 
getType() - Method in class Variable
The declared type of the value
getTypesThatHaveSequences() - Method in class SequenceCollection
 
getUnboxType(Class<?>) - Static method in class PrimitiveTypes
 
getUses(MVariable) - Method in class MSequence
Returns all the indices of statements where v is an input to the statement.
getValue() - Method in class PrimitiveOrStringOrNullDecl
Returns the value of this PrimitiveOrStringOrNullDeclInfo
getValues(T1) - Method in interface IMultiMap
Returns the values that the given key maps to.
getValues(T1) - Method in class MultiMap
 
getValues(T1) - Method in class ReversibleMultiMap
 
getVariable(int) - Method in class MSequence
 
getVariable(int) - Method in class Sequence
The value created by the ith statement.
getVariableForInput(int, Sequence.RelativeNegativeIndex) - Method in class Sequence
Returns the Variable corresponding to the given input, which is an input to the statement at position statementPosition.
getVariables(T1) - Method in class KeyToMultiSet
 
getVariablesOfType(Class<?>, Reflection.Match) - Method in class Sequence
All the variables declared in this sequences whose type matches the given class.
getVSet(K1) - Method in class DoubleKeyMap
 
getWeight() - Method in class Sequence
 
getWeight() - Method in interface WeightedElement
 
Globals - Class in randoop
Various general global variables used throughout Randoop.
Globals() - Constructor for class Globals
 
Globals.ErrorStreamAssigner - Class in randoop
 
Globals.ErrorStreamAssigner(String) - Constructor for class Globals.ErrorStreamAssigner
 
gtime - Static variable in class Randoop100Stats
 

H

handle(String[]) - Method in class CleanObservations
 
handle(String[]) - Method in class CommandHandler
 
handle(String[]) - Method in class CovUtils
 
handle(String[]) - Method in class ExecuteSequence
 
handle(String[]) - Method in class GenTests
 
handle(String[]) - Method in class Help
 
handle(String[]) - Method in class RmDiffObservations
 
handle(String[]) - Method in class UniversalDriverHandler
 
handlers - Static variable in class Main
 
handles(String) - Method in class CommandHandler
 
hangingParagraph(String, int, int) - Static method in class Util
 
hasActiveFlags() - Method in class Sequence
 
hasCheck(Class<? extends Check>) - Method in class ExecutableSequence
 
hasCheck(int, Class<? extends Check>) - Method in class ExecutableSequence
True iff this sequences has at least one check of the given type at index i.
hasChecks(int) - Method in class ExecutableSequence
 
hasFailure(int) - Method in class ExecutableSequence
 
hasFailure() - Method in class ExecutableSequence
 
hashCode() - Method in class ArrayDeclaration
 
hashCode() - Method in class CheckRepContract
 
hashCode() - Method in class DummyStatement
 
hashCode() - Method in class EqualsHashcode
 
hashCode() - Method in class EqualsReflexive
 
hashCode() - Method in class EqualsSymmetric
 
hashCode() - Method in class EqualsToNullRetFalse
 
hashCode() - Method in class ExecutableSequence
 
hashCode() - Method in class ExpectedExceptionCheck
 
hashCode() - Method in class FailureSet.Failure
 
hashCode() - Method in class HashCodeReturnsNormally
 
hashCode() - Method in class IsNotNull
 
hashCode() - Method in class IsNull
 
hashCode() - Method in class NoExceptionCheck
 
hashCode() - Method in class ObjectCheck
 
hashCode() - Method in class ObserverEqValue
 
hashCode() - Method in class PrimitiveOrStringOrNullDecl
Returns a hash code value for this PrimitiveOrStringOrNullDeclInfo
hashCode() - Method in class PrimValue
 
hashCode() - Method in class RConstructor
 
hashCode() - Method in class RMethod
 
hashCode() - Method in class Sequence
 
hashCode() - Method in class Sequence.RelativeNegativeIndex
 
hashCode() - Method in class Statement
 
hashCode() - Method in class ToStringReturnsNormally
 
hashCode() - Method in class RandoopSecurityManager
 
hashCode() - Method in class Variable
 
HashCodeReturnsNormally - Class in randoop
Checks that calling hashCode() on an object does not throw an exception.
HashCodeReturnsNormally() - Constructor for class HashCodeReturnsNormally
 
hasMoreTargets() - Method in class OneTargetPerArgument
 
hasMoreTargets() - Method in class OneTargetPerLine
 
hasMoreTargets() - Method in class PrepareTargetMaker
 
hasMoreTargets() - Method in class RandomTargets
 
hasMoreTargets() - Method in class RandoopOneClassTargetMaker
 
hasMoreTargets() - Method in class RandWalkExpMaker
 
hasMoreTargets() - Method in class RandWalkExpState
 
hasMoreTargets() - Method in interface TargetMaker
 
hasMoreWords() - Method in class StringLineIterator
True if there are more words remaining.
hasNonExecutedStatements() - Method in class ExecutableSequence
 
hasRunAlready() - Method in class ReflectionCode
 
hasSequences(Class<?>, Reflection.Match) - Method in class SequenceCollection
 
Help - Class in randoop.main
 
Help() - Constructor for class Help
 
HelperSequenceCreator - Class in randoop
 
HelperSequenceCreator() - Constructor for class HelperSequenceCreator
 
hist - Variable in class SizeEqualizer
 
Histogram<T> - Class in randoop.util
Keeps track of how many objects of different kinds are inserted into it.
Histogram(String) - Constructor for class Histogram
 
Histogram() - Constructor for class Histogram
 

I

ID - Static variable in class ArrayDeclaration
ID for parsing purposes (see StatementKinds.parse method)
ID - Static variable in class DummyStatement
ID for parsing purposes (see StatementKinds.parse method)
ID - Static variable in class PrimitiveOrStringOrNullDecl
ID for parsing purposes (see StatementKinds.parse method)
ID - Static variable in class RConstructor
ID for parsing purposes (see StatementKinds.parse method)
ID - Static variable in class RMethod
ID for parsing purposes (see StatementKinds.parse method)
IEventListener - Interface in randoop
Defines various event during Randoop's generation at which an implementing class can be notified and perform some action.
ifact - Variable in class Instrument
 
iff(boolean, boolean) - Static method in class Util
 
IMessage - Interface in randoop.runtime
IMessages are messages created by Randoop during generation, to inform clients of any relevant information; example messages are whether the generation has started or stopped, percentage done, the names of any files created, or whether an error in the classes under test has been discovered.
implies(boolean, boolean) - Static method in class Util
 
IMultiMap<T1,T2> - Interface in randoop.util
Represents a relation from a set of T1s (the keys) to another set of T2s (the values).
inClass(String) - Method in class RandoopSecurityManager
 
inClassLoader() - Method in class RandoopSecurityManager
 
include(JavaClass) - Method in interface ClassFilter
 
include(JavaClass) - Method in class CoverageInstrumentedClassFilter
 
include(JavaClass) - Method in class PublicTopLevelClassFilter
 
includeParseableString - Static variable in class JunitFileWriter
 
indent(String) - Static method in class JunitFileWriter
 
INDENTWIDTH - Static variable in class Globals
 
index - Variable in class Sequence.RelativeNegativeIndex
 
index - Variable in class Variable
 
InformationalComparator<T> - Class in randoop.util
Compares two SimpleLists for member-wise equality, e.g.
InformationalComparator() - Constructor for class InformationalComparator
 
InformationalComparator.ComparisonResult - Class in randoop.util
Communicates the result of the comparison, and also a message describing the result.
InformationalComparator.ComparisonResult(boolean, String) - Constructor for class InformationalComparator.ComparisonResult
 
init_routine - Static variable in class GenInputsAbstract
 
initialize(ExecutableSequence) - Method in class ContractCheckingVisitor
 
initialize(ExecutableSequence) - Method in class DummyVisitor
 
initialize(ExecutableSequence) - Method in interface ExecutionVisitor
Called before execution of a sequence, to allow the visitor to perform any initialization steps required before execution.
initialize(ExecutableSequence) - Method in class CovWitnessHelperVisitor
 
initialize(ExecutableSequence) - Method in class MultiVisitor
Calls the initialize method for each of the visitors, in the order in which the visitors were given during construction of this MultiVisitor.
initialize(ExecutableSequence) - Method in class RegressionCaptureVisitor
 
initialize(ExecutableSequence) - Method in class ReplayVisitor
 
input_components_ser - Static variable in class GenBranchDir
 
input_components_txt - Static variable in class GenBranchDir
 
input_cov_class_list - Static variable in class CreateCovReport
 
input_covinst_classes - Static variable in class GenBranchDir
 
input_covmap - Static variable in class GenBranchDir
 
input_df_results - Static variable in class GenBranchDir
 
input_map - Static variable in class CreateCovReport
 
input_map - Static variable in class ComputeFrontierBranches
 
inputlimit - Static variable in class GenInputsAbstract
Maximum number of tests generated.
inputmap - Static variable in class CombineCovMaps
 
inputs - Variable in class MStatement
 
inputs - Variable in class Statement
 
insert(int, MSequence) - Method in class MSequence
inserts the statements making up the given sequence into this sequence, at the given index.
Instrument - Class in randoop.instrument
The Instrument class is responsible for modifying another class's bytecode.
Instrument() - Constructor for class Instrument
 
instrument_method(Method, MethodGen) - Method in class Instrument
Instrument the specified method to replace mapped calls.
intersection(Set<? extends T>...) - Static method in class CollectionsExt
 
introMessage(PrintStream) - Static method in class Help
 
ints - Variable in class ClassFileConstants.ConstantSet
 
invisibleHandlers - Static variable in class Main
 
is_local_variable_type_table(Attribute) - Method in class Instrument
 
isAbstract(Class<?>) - Static method in class Reflection
 
isActive(int) - Method in class Sequence
 
isBoxedOrPrimitiveOrStringType(Class<?>) - Static method in class PrimitiveTypes
 
isBoxedPrimitiveTypeOrString(Class<?>) - Static method in class PrimitiveTypes
 
isClosed() - Method in class MessageSender
 
isDriver() - Method in class CreatedJUnitFile
 
isEmpty() - Method in class KeyToMultiSet
 
isEmpty() - Method in class MultiMap
 
isEmpty() - Method in class MultiSet
 
isEmpty() - Method in class SimpleList
 
ISimpleSet<T> - Interface in randoop.util
 
isJavaIdentifier(String) - Static method in class Util
 
isLoggingOn() - Static method in class Log
 
isNormalExecution(int) - Method in class ExecutableSequence
This method is typically used by ExecutionVisitors.
isNormalExecution() - Method in class ExecutableSequence
 
IsNotNull - Class in randoop
The contract: x != null.
IsNotNull() - Constructor for class IsNotNull
 
IsNull - Class in randoop
The contract: x == null.
IsNull() - Constructor for class IsNull
 
isOwnerOf(Variable) - Method in class Sequence
 
isPrimitive() - Method in class Sequence
A sequence representing a single primitive values, like "Foo var0 = null" or "int var0 = 1".
isPrimitive(Class<?>) - Static method in class PrimitiveTypes
Same as c.isPrimitive() but faster if this test is done very frequently (as it is in Randoop).
isPrimitiveCached - Static variable in class PrimitiveTypes
 
isPrimitiveOrStringType(Class<?>) - Static method in class PrimitiveTypes
 
isPrimitiveOrStringTypeName(String) - Static method in class PrimitiveTypes
 
isRunning() - Method in class Timer
The state of the timer.
isStatic() - Method in class RMethod
Returns true if method represented by this MethodCallInfo is a static method.
IStopper - Interface in randoop
Used by Randoop to determine whether generation should stop.
isVisible(Class<?>) - Static method in class Reflection
 
isVisible(int) - Static method in class Reflection
Returns true if the the specified modifier is visible to Randoop.
isVoidMethodCall() - Method in class Statement
True iff this statement is a void method call.
ITestFilter - Interface in randoop
Used by Randoop's test generator to determine if a given sequence should be output to the user.

J

JarReader - Class in randoop.util
 
JarReader() - Constructor for class JarReader
 
JavaFileNameToClass - Class in randoop.util
Takes a String representing a list of files "a/b/C.java ...
JavaFileNameToClass() - Constructor for class JavaFileNameToClass
 
JavaFileWriter - Class in randoop
Outputs a collection of sequences as Java files, with one method per sequence.
JavaFileWriter() - Constructor for class JavaFileWriter
 
javaHeapSize - Static variable in class Command
Argument to java command to set heap size
JCrasherResults - Class in randoop.experiments
 
JCrasherResults(String) - Constructor for class JCrasherResults
 
JCrasherRun - Class in randoop.experiments
 
JCrasherRun(ExperimentBase) - Constructor for class JCrasherRun
 
join(String, List<String>) - Static method in class CollectionsExt
Reverse of String.split.
JPFExperimentFilter - Class in randoop.experiments
 
JPFExperimentFilter(Pattern) - Constructor for class JPFExperimentFilter
 
junit_classname - Static variable in class GenInputsAbstract
Base name (no ".java" suffix) of the JUnit file containing Randoop-generated tests
junit_output_dir - Static variable in class GenInputsAbstract
Name of the directory to which JUnit files should be written
junit_package_name - Static variable in class GenInputsAbstract
Name of the package for the generated JUnit files
junitDriverClassName - Variable in class JunitFileWriter
 
junitFile - Variable in class ErrorRevealed
 
junitFiles - Variable in class RandoopRun
 
JunitFileWriter - Class in randoop
Outputs a collection of sequences as Java files, using the JUnit framework, with one method per sequence.
JunitFileWriter(String, String, String, int) - Constructor for class JunitFileWriter
 
junitNamePrefixOffline - Variable in class RandoopRun
 
junitNamePrefixOnline - Variable in class RandoopRun
 

K

keySet() - Method in interface IMultiMap
Returns the set of keys in this map (the domain).
keySet() - Method in class KeyToMultiSet
 
keySet() - Method in class MultiMap
 
keySet() - Method in class ReversibleMultiMap
 
KeyToMultiSet<T1,T2> - Class in randoop.util
 
KeyToMultiSet() - Constructor for class KeyToMultiSet
 

L

lastCovIncrease - Variable in class CodeCoverageTracker
 
lastCovIncrease - Variable in class ProgressDisplay
 
lastElement - Variable in class OneMoreElementList
 
lastTimeUsed - Variable in class Sequence
 
lastUseBefore(int, Variable) - Method in class Sequence
 
lineSep - Static variable in class Globals
 
list - Variable in class OneMoreElementList
 
listenerMgr - Variable in class AbstractGenerator
Manages notifications for listeners.
ListOfLists<T> - Class in randoop.util
Given a list of lists, defines methods that can access all the elements as if they were part of a single list, without actually merging the lists.
ListOfLists(SimpleList<T>...) - Constructor for class ListOfLists
 
ListOfLists(List<SimpleList<T>>) - Constructor for class ListOfLists
 
lists - Variable in class ListOfLists
 
listsAreEqual - Variable in class InformationalComparator.ComparisonResult
 
LiteralFileReader - Class in randoop
Reads a file specifying literal values to use during generation.
LiteralFileReader() - Constructor for class LiteralFileReader
 
literals_file - Static variable in class GenInputsAbstract
A file containing literal values to be used as inputs to methods under test.
literals_level - Static variable in class GenInputsAbstract
How to use literal values (see --literals-file): ALL, PACKAGE, CLASS, or NONE.
loadClass(String, boolean) - Method in class Premain.BCELLoader
 
loadClassesFromFile(File) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
loadClassesFromFile(File, boolean) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
loadClassesFromList(List<String>, boolean) - Static method in class Reflection
Returns a list of classes, given a list of class names.
loadClassesFromReader(BufferedReader, String) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
loadClassesFromReader(BufferedReader, String, boolean) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
loadClassesFromStream(InputStream, String) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
loadMethodsAndCtorsFromFile(File) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
loadMethodsAndCtorsFromLines(List<String>) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
loadMethodsAndCtorsFromReader(BufferedReader) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
loadMethodsAndCtorsFromStream(InputStream) - Static method in class Reflection
Blank lines and lines starting with "#" are ignored.
localizeContractCode(String, Variable...) - Static method in class ObjectContractUtils
 
log - Static variable in class GenInputsAbstract
Name of a file to which to log lots of information.
Log - Class in randoop.util
 
log(String) - Static method in class Log
 
log(Sequence) - Static method in class Log
 
log(List<StatementKind>) - Static method in class Log
 
logfile - Static variable in class GenBranchDir
 
logLine(String) - Static method in class Log
 
long_format - Static variable in class GenInputsAbstract
 
longs - Variable in class ClassFileConstants.ConstantSet
 
looksLikeObjectToString(String) - Static method in class PrimitiveTypes
Returns true if the given string looks like it came from a call of Object.toString(); in other words, looks something like "@".

M

MachineManager - Class in randoop.experiments
A thread that issues make targets on a specified machine.
MachineManager(String, MultiMachineRunner, boolean) - Constructor for class MachineManager
 
machines - Static variable in class MultiMachineRunner
 
main(String[]) - Static method in class BDGenOneFile
Runs BDGen on a single file (i.e.
main(String[]) - Static method in class BranchDir
 
main(String[]) - Static method in class CalculateCovTimeRatios
 
main(String[]) - Static method in class CalculateSequenceSpace
Compute the size of the sequence space for lengths 1, 2, ...
main(String[]) - Static method in class Check_no_error_reports
 
main(String[]) - Static method in class CombineCovMaps
 
main(String[]) - Static method in class CombinedStats
 
main(String[]) - Static method in class CreateCovReport
 
main(String[]) - Static method in class DataFlow
This is a script we use to run research experiments.
main(String[]) - Static method in class DFOneFile
Runs DF on a single file (i.e.
main(String[]) - Static method in class Execute
 
main(String[]) - Static method in class JCrasherRun
 
main(String[]) - Static method in class MultiMachineRunner
 
main(String[]) - Static method in class PreDF
 
main(String[]) - Static method in class PrepareSubjectProgram
 
main(String[]) - Static method in class PrintStatsOneClassExp
 
main(String[]) - Static method in class Randoop100
 
main(String[]) - Static method in class Randoop100Stats
 
main(String[]) - Static method in class RandoopAllClasses
 
main(String[]) - Static method in class RandoopOneClass
Runs Randoop on a single class of a given subject program.
main(String[]) - Static method in class RandoopRun
args[0] is the name of the filename to write experiment results to.
main(String[]) - Static method in class Repro100
 
main(String[]) - Static method in class StatsWriter
 
main(String[]) - Static method in class ComputeFrontierBranches
 
main(String[]) - Static method in class CountLines
 
main(String[]) - Static method in class DataFlow
 
main(String[]) - Static method in class GenBranchDir
 
Main - Class in randoop.main
Main entrypoint for Randoop.
Main() - Constructor for class Main
 
main(String[]) - Static method in class Main
 
main(String[]) - Static method in class RandoopCheckRepTest
 
main(String[]) - Static method in class RandoopContractsTest
 
main(String[]) - Static method in class ClassComplexityCalculator
 
main(String[]) - Static method in class ClassFileConstants
A simple driver program that prints output literals file format.
main(String[]) - Static method in class JarReader
 
main(String[]) - Static method in class JavaFileNameToClass
 
makeCopy() - Method in class MSequence
 
many_branches - Static variable in class GenBranchDir
 
map(List<T>, Map<T, T>) - Static method in class CollectionsExt
Maps all values to new values.
map - Variable in class ReversibleSet
 
map_calls - Static variable in class Premain
 
map_list - Static variable in class Instrument
List of all classname regexs and their corresponding method maps
MappedSequences<T> - Class in randoop
A multimap from keys of type T to sequences.
MappedSequences() - Constructor for class MappedSequences
 
mark() - Method in class SubTypeSet
 
mark() - Method in class ReversibleMultiMap
 
mark() - Method in class ReversibleSet
 
marks - Variable in class ReversibleMultiMap
 
markTargetDone(String) - Method in class MultiMachineRunner
 
markTargetEndedWithError(String) - Method in class MultiMachineRunner
 
MAX_MODEL_DEPTH - Static variable in class Globals
 
maxSequences - Variable in class AbstractGenerator
Sequence limit for generation.
maxsize - Static variable in class GenInputsAbstract
Do not generate tests with more than this many statements
maxTimeMillis - Variable in class AbstractGenerator
Time limit for generation.
mem_megabytes - Static variable in class GenInputsAbstract
 
message - Variable in class InformationalComparator.ComparisonResult
 
message() - Method in class ProgressDisplay
 
MessageSender - Class in randoop.runtime
 
MessageSender(int) - Constructor for class MessageSender
 
methodlist - Static variable in class GenInputsAbstract
The name of a file that lists methods under test.
methodOmitPattern - Variable in class ExperimentBase
 
MethodReflectionCode - Class in randoop.util
This is used to wrap a method together with its parameters, ready for execution.
MethodReflectionCode(Method, Object, Object[]) - Constructor for class MethodReflectionCode
 
methodToIndices - Variable in class TestCoverageInfo
 
MSequence - Class in randoop
A sequence that can be mutated (unlike a Sequence, which is immutable).
MSequence() - Constructor for class MSequence
 
msgSender - Variable in class PluginBridge
 
MStatement - Class in randoop
A statement that is part of a mutable sequence.
MStatement(StatementKind, List<MVariable>, MVariable) - Constructor for class MStatement
Create a new statement of type statement that takes as input the given values.
MultiMachineRunner - Class in randoop.experiments
MIT-specific! Will probably not work outside CSAIL.
MultiMachineRunner() - Constructor for class MultiMachineRunner
 
MultiMap<T1,T2> - Class in randoop.util
Implements an IMultiMap with a java.util.LinkedHashMap.
MultiMap() - Constructor for class MultiMap
 
MultiMap(int) - Constructor for class MultiMap
 
MultiRunResults - Class in randoop.experiments
 
MultiRunResults() - Constructor for class MultiRunResults
 
MultiRunResults.OutputFormat - Enum in randoop.experiments
 
MultiSet<T> - Class in randoop.util
 
MultiSet() - Constructor for class MultiSet
 
MultiVisitor - Class in randoop
An execution visitor that chains a list of visitors in sequence.
MultiVisitor() - Constructor for class MultiVisitor
 
MultiVisitor(List<ExecutionVisitor>) - Constructor for class MultiVisitor
 
MVariable - Class in randoop
A variable that is part of a mutable sequence.
MVariable(MSequence, String) - Constructor for class MVariable
 

N

newLine - Static variable in class Util
 
nextLine(int) - Method in class StringLineIterator
Returns a line of words, ensuring that the length of the line is no greater than the given length.
nextRandomBool() - Static method in class Randomness
 
nextRandomInt(int) - Static method in class Randomness
Uniformly random int from [0, i)
nextTarget() - Method in class MultiMachineRunner
 
nextTarget() - Method in class RandWalkExpState
 
no_execute - Static variable in class Command
If true, commands will be printed, but not executed
NoExceptionCheck - Class in randoop
Checks that no exception is thrown after a given statement in a sequence.
NoExceptionCheck(int) - Constructor for class NoExceptionCheck
 
nonStaticMain(String[]) - Method in class Main
 
noprogressdisplay - Static variable in class GenInputsAbstract
 
normalExecAvgMillis() - Static method in class ReflectionExecutor
 
normalExecs() - Static method in class ReflectionExecutor
 
NormalExecution - Class in randoop
Means that the statement that this result represents completed normally.
NormalExecution(Object, long) - Constructor for class NormalExecution
 
normals - Static variable in class RandomWalkGenerator
 
NotExecuted - Class in randoop
Means that the statement that this outcome represents was not executed.
NotPartOfState - Annotation Type in randoop
 
null_ratio - Static variable in class GenInputsAbstract
Use null with the given frequency.
nullOrZeroDecl(Class<?>) - Static method in class PrimitiveOrStringOrNullDecl
Returns the appropriate PrimitiveOrStringOrNullDeclInfo representative of the specified class c.
num - Static variable in class Randoop100Stats
 
num_failing_sequences - Variable in class AbstractGenerator
 
num_sequences_generated - Variable in class AbstractGenerator
 
num_steps - Variable in class AbstractGenerator
 
num_times_canBeUsedAs_called - Static variable in class Reflection
 
numActivesequences - Variable in class SequenceCollection
 
numclassifs - Variable in class StatsWriter
 
numGeneratedSequences() - Method in class ComponentManager
Returns the number of (non-seed) sequences stored by the manager.
numInfluencingStatements(int, List<MVariable>) - Method in class MSequence
 
numSequences() - Method in class AbstractGenerator
 
numSequences() - Method in class RandomWalkGenerator
 
numSequences() - Method in class ForwardGenerator
 
numTypes() - Method in class SequenceCollection
 

O

o - Variable in class TypeToObjectMap.HotPotato
 
objectcache - Static variable in class RandoopAllClasses
 
objectCache - Variable in class ForwardGenerator
 
ObjectCache - Class in randoop
 
ObjectCache(StateMatcher) - Constructor for class ObjectCache
 
ObjectCheck - Class in randoop
A check that checks for expected properties of one or more objects generated during the execution of a Sequence, for example:
ObjectCheck(ObjectContract, int, Variable...) - Constructor for class ObjectCheck
 
ObjectContract - Interface in randoop
An object contract provides the core functionality for the checking code of unit tests, i.e.
ObjectContractUtils - Class in randoop
Utility methods for safely executing and printing ObjectContract code.
ObjectContractUtils() - Constructor for class ObjectContractUtils
 
objectsToSeeds(Collection<Object>) - Static method in class SeedSequences
Precondition: objs consists exclusively of boxed primitives and strings.
Observer - Annotation Type in randoop
An observer method does not change the state of receiver or parameters.
observer - Variable in class ObserverEqValue
The observer method.
ObserverEqValue - Class in randoop
A check recording the value that an observer method returned during execution, e.g.
ObserverEqValue(Method, Object) - Constructor for class ObserverEqValue
 
observers - Static variable in class GenInputsAbstract
 
occurCount(StringBuilder, String) - Static method in class Util
 
offline - Static variable in class GenInputsAbstract
 
Omit - Annotation Type in randoop
 
omitmethods - Static variable in class GenInputsAbstract
Randoop will not attempt to directly call methods whose Method.toString() matches the regular expression given.
OneMoreElementList<T> - Class in randoop.util
 
OneMoreElementList(SimpleList<T>, T) - Constructor for class OneMoreElementList
 
OneTargetPerArgument - Class in randoop.experiments
A target maker that creates targets by preprending the given prefixes to the given arguments (one target per prefix/argument pair).
OneTargetPerArgument(String[]) - Constructor for class OneTargetPerArgument
 
OneTargetPerLine - Class in randoop.experiments
A target maker that takes as input a file name with one target per line, and give back the targets (preprended with user-specified prefix/suffix) in the file.
OneTargetPerLine(String[]) - Constructor for class OneTargetPerLine
First argument is the prefix, second argument is the name of the file containing the targets.
oplimit - Static variable in class Randoop100Stats
 
ops - Static variable in class Randoop100Stats
 
out - Static variable in class Help
 
out - Static variable in class Log
 
output_branches - Static variable in class GenInputsAbstract
 
output_components - Static variable in class GenInputsAbstract
Output components (serialized, GZIPPED) to the given file.
output_components_used - Static variable in class GenBranchDir
 
output_cov_witnesses - Static variable in class GenInputsAbstract
 
output_covmap - Static variable in class GenInputsAbstract
 
output_failures - Static variable in class GenBranchDir
 
output_new_branches - Static variable in class GenBranchDir
 
output_new_branches_sorted - Static variable in class GenBranchDir
 
output_new_sequences - Static variable in class GenBranchDir
 
output_nonexec - Static variable in class GenInputsAbstract
Output sequences even if they do not complete execution.
output_report - Static variable in class CreateCovReport
 
output_success_seqs - Static variable in class GenBranchDir
 
output_summary - Static variable in class GenBranchDir
 
output_tests - Static variable in class GenInputsAbstract
 
output_tests_serialized - Static variable in class GenInputsAbstract
Output tests (sequences plus checkers) in serialized form to the given file.
outputfile - Static variable in class DataFlow
 
outputlimit - Static variable in class GenInputsAbstract
Determines the maximum number of tests to output, no matter how many are generated.
outputmap - Static variable in class CombineCovMaps
 
outputSequence(ExecutableSequence, FailureSet) - Method in class DefaultTestFilter
 
outputSequence(ExecutableSequence, FailureSet) - Method in interface ITestFilter
Given sequence s and associated failure set f, returns true if s should be output to the user as a test case.
outputSequence(ExecutableSequence, FailureSet) - Method in class PluginBridge
 
outputTestFilters - Variable in class AbstractGenerator
A list of filters that can be installed to help determine if a sequence should be added to the final sequence list outSeqs.
outSeqs - Variable in class AbstractGenerator
The list of final sequences that are printed out as JUnit tests (i.e.
overwrite - Static variable in class DataFlow
 
owner - Variable in class Execution
 
owner - Variable in class MVariable
 

P

PackageLiterals - Class in randoop
For a given package P, PackageLiterals maps P (if present) to a collection of literals (represented as single-element sequences) that can be used as inputs to classes in the given package.
PackageLiterals() - Constructor for class PackageLiterals
 
packageName - Variable in class JunitFileWriter
 
parse(String) - Static method in class ArrayDeclaration
A string representing this array declaration.
parse(String) - Static method in class DummyStatement
A string representing this dummy statement.
parse(String) - Static method in class DataFlowInput
Create a new DataFlowInput from a text file.
parse(String) - Static method in class DataFlowOutput
Create a new DataFlowOutput from a test file.
parse(List<String>) - Static method in class DFResultsOneSeq
Creates a DFResultsOneSeq from a list of lines (presumably generated via the toParseableString() method).
parse(String) - Static method in class LiteralFileReader
Returns a map from class to list of constants.
parse(String) - Static method in class PrimitiveOrStringOrNullDecl
A string representing this primitive declaration.
parse(String) - Static method in class RConstructor
 
parse(String) - Static method in class RMethod
 
parse(List<String>) - Static method in class Sequence
Parse a sequence encoded as a list of strings, each string corresponding to one statement.
parse(String) - Static method in class Sequence
Parse a sequence encoded as a strings.
parse(String) - Static method in class StatementKinds
Parses a string representing a StatementKind.
parse(String) - Method in class RecordListReader
 
parse(BufferedReader) - Method in class RecordListReader
 
pass - Static variable in class GenInputsAbstract
 
PercentDone - Class in randoop.runtime
A Randoop message that reports how close test generation is close to being done.
PercentDone(double, int, int) - Constructor for class PercentDone
 
PluginBridge - Class in randoop.runtime
 
PluginBridge(AbstractGenerator, MessageSender) - Constructor for class PluginBridge
 
PreDF - Class in randoop.experiments
MIT-specific! Will probably not work outside CSAIL.
PreDF() - Constructor for class PreDF
 
prefix(String, List<String>) - Static method in class CollectionsExt
Adds prefix to each line.
Premain - Class in randoop.instrument
 
Premain() - Constructor for class Premain
 
premain(String, Instrumentation) - Static method in class Premain
This method is the entry point of the java agent.
Premain.BCELLoader - Class in randoop.instrument
Classloader for the BCEL code.
Premain.BCELLoader() - Constructor for class Premain.BCELLoader
 
PrepareSubjectProgram - Class in randoop.experiments
This command does a number of tasks to prepare a subject program for experimentation.
PrepareSubjectProgram() - Constructor for class PrepareSubjectProgram
 
PrepareTargetMaker - Class in randoop.experiments
 
PrepareTargetMaker(String[]) - Constructor for class PrepareTargetMaker
 
PrimitiveOrString - Class in randoop.util
Holds a primitive or string.
PrimitiveOrString(Object) - Constructor for class PrimitiveOrString
The given object must not be null and must be a primitive or string.
PrimitiveOrString(boolean) - Constructor for class PrimitiveOrString
 
PrimitiveOrString(char) - Constructor for class PrimitiveOrString
 
PrimitiveOrString(byte) - Constructor for class PrimitiveOrString
 
PrimitiveOrString(short) - Constructor for class PrimitiveOrString
 
PrimitiveOrString(int) - Constructor for class PrimitiveOrString
 
PrimitiveOrString(long) - Constructor for class PrimitiveOrString
 
PrimitiveOrString(float) - Constructor for class PrimitiveOrString
 
PrimitiveOrString(double) - Constructor for class PrimitiveOrString
 
PrimitiveOrString(String) - Constructor for class PrimitiveOrString
 
PrimitiveOrStringOrNullDecl - Class in randoop
Represents a primitive value (including Strings).
PrimitiveOrStringOrNullDecl(Class<?>, Object) - Constructor for class PrimitiveOrStringOrNullDecl
Constructs a PrimitiveOrStringOrNullDeclInfo of type t and value o
primitiveSeeds - Static variable in class SeedSequences
 
primitiveType(Class<? extends Object>) - Static method in class PrimitiveTypes
Returns null if c is not a primitive or a boxed type.
PrimitiveTypes - Class in randoop.util
 
PrimValue - Class in randoop
An check recording the value of a primitive value obtained during execution, (e.g.
PrimValue(Object, PrimValue.PrintMode) - Constructor for class PrimValue
 
PrimValue.PrintMode - Enum in randoop
Specifies how the contract is to be printed.
print_coderep_comments - Static variable in class ComputeFrontierBranches
 
print_diff_obs - Static variable in class GenInputsAbstract
 
print_synchro - Static variable in class ProgressDisplay
Lock so that unfortunate interleaving of this printing can be avoided
printCommand(List<String>, boolean, boolean) - Static method in class ExperimentBase
 
printHTML(PrintStream) - Method in class CommandHandler
Prints out formatted text in (google code) Wiki format.
printMode - Variable in class PrimValue
 
printStatement(StringBuilder, int) - Method in class Sequence
 
PrintStatsOneClassExp - Class in randoop.experiments
 
PrintStatsOneClassExp() - Constructor for class PrintStatsOneClassExp
 
processJcrasherOutput(String) - Method in class JCrasherResults
 
processOneRecord(StatsWriter) - Method in class Randoop100Stats
 
processOneRecord(StatsWriter) - Method in interface StatsComputer
Process one experiment data record.
processOneRecord(StatsWriter) - Method in class TempStatsComputer
 
processOneSeed(List<String>) - Method in class CombinedStats
 
processRecord(List<String>) - Method in interface RecordProcessor
Parse the given lines that comprise a record.
processSequence(ExecutableSequence) - Method in class ForwardGenerator
Determines what indices in the given sequence are active.
progress - Static variable in class GenTests
 
ProgressDisplay - Class in randoop.util
Modified from Daikon.FileIOProgress.
ProgressDisplay(AbstractGenerator, RandoopListenerManager, ProgressDisplay.Mode, int) - Constructor for class ProgressDisplay
 
ProgressDisplay.Mode - Enum in randoop.util
 
progressinterval - Static variable in class GenInputsAbstract
 
progressThreadUpdate() - Method in class CodeCoverageTracker
 
progressThreadUpdate() - Method in interface IEventListener
Called by ProgressDisplay at regular intervals to monitor progress.
progressThreadUpdate() - Method in class PluginBridge
 
progressThreadUpdateNotify() - Method in class RandoopListenerManager
 
public_only - Static variable in class GenInputsAbstract
If the command line argument public_only is true, only public classes/methods are considered visible.
PublicTopLevelClassFilter - Class in randoop.experiments
 
PublicTopLevelClassFilter(String) - Constructor for class PublicTopLevelClassFilter
 
put(K1, K2, V) - Method in class DoubleKeyMap
 
put(T1, Collection<? extends T2>) - Method in class MultiMap
 

R

randomBoolFromDistribution(double, double) - Static method in class Randomness
 
randomMember(List<T>) - Static method in class Randomness
 
randomMember(SimpleList<T>) - Static method in class Randomness
 
randomMemberWeighted(SimpleList<T>) - Static method in class Randomness
 
Randomness - Class in randoop.util
 
randomseed - Static variable in class GenInputsAbstract
 
randomSetMember(Collection<T>) - Static method in class Randomness
 
RandomTargets - Class in randoop.experiments
 
RandomTargets(String[]) - Constructor for class RandomTargets
First argument is the prefix, second argument is the name of the file containing the targets.
randomVariableForType(Class<?>, Reflection.Match) - Method in class Sequence
 
randomVariableForTypeLastStatement(Class<?>, Reflection.Match) - Method in class Sequence
 
randomVariableOfTypeLastStatement(Class<?>, Reflection.Match) - Method in class Sequence
A value declared in this sequence whose type matches the given class.
RandomWalkGenerator - Class in randoop.experiments
Experimental code.
RandomWalkGenerator(List<StatementKind>, long, int, ComponentManager, IStopper, RandoopListenerManager, List<ITestFilter>) - Constructor for class RandomWalkGenerator
 
randoop - package randoop
 
randoop.experiments - package randoop.experiments
 
randoop.instrument - package randoop.instrument
 
randoop.main - package randoop.main
 
randoop.runtime - package randoop.runtime
 
randoop.util - package randoop.util
 
Randoop100 - Class in randoop.experiments
 
Randoop100() - Constructor for class Randoop100
 
Randoop100Stats - Class in randoop.experiments
 
Randoop100Stats() - Constructor for class Randoop100Stats
 
RANDOOP_HOME - Static variable in class MultiMachineRunner
 
RANDOOP_MACHINES - Static variable in class MultiMachineRunner
 
RANDOOP_VERSION - Static variable in class Globals
 
RandoopAllClasses - Class in randoop.experiments
Runs Randoop on a all the classes (together) of a given subject program.
RandoopAllClasses() - Constructor for class RandoopAllClasses
 
RandoopCheckRepTest - Class in randoop.main
 
RandoopCheckRepTest() - Constructor for class RandoopCheckRepTest
 
randoopConsistencyTest2(Sequence) - Method in class ForwardGenerator
 
randoopConsistencyTests(Sequence) - Method in class ForwardGenerator
 
RandoopContractsTest - Class in randoop.main
 
RandoopContractsTest() - Constructor for class RandoopContractsTest
 
RandoopFinished - Class in randoop.runtime
A message indicating that Randoop is finished generating tests.
RandoopFinished() - Constructor for class RandoopFinished
 
RandoopListenerManager - Class in randoop
 
RandoopListenerManager() - Constructor for class RandoopListenerManager
 
RandoopOneClass - Class in randoop.experiments
 
RandoopOneClass() - Constructor for class RandoopOneClass
 
RandoopOneClassTargetMaker - Class in randoop.experiments
 
RandoopOneClassTargetMaker(String[]) - Constructor for class RandoopOneClassTargetMaker
 
RandoopRun - Class in randoop.experiments
Runs randoop experiments.
RandoopRun(ExperimentBase) - Constructor for class RandoopRun
 
RandoopRun.RunType - Enum in randoop.experiments
 
RandoopSecurityManager - Class in randoop.util
 
RandoopSecurityManager(RandoopSecurityManager.Status) - Constructor for class RandoopSecurityManager
 
RandoopSecurityManager.Status - Enum in randoop.util
 
RandoopStarted - Class in randoop.runtime
A message indicating that Randoop has just started generating tests.
RandoopStarted() - Constructor for class RandoopStarted
 
RandoopStat - Annotation Type in randoop
 
RandoopTextuiException - Exception in randoop.main
 
RandoopTextuiException(String) - Constructor for exception RandoopTextuiException
 
RandoopUncaughtRunnerThreadExceptionHandler - Class in randoop.util
 
RandoopUncaughtRunnerThreadExceptionHandler() - Constructor for class RandoopUncaughtRunnerThreadExceptionHandler
 
RandWalkExpMaker - Class in randoop.experiments
 
RandWalkExpMaker(String[]) - Constructor for class RandWalkExpMaker
 
RandWalkExpState - Class in randoop.experiments
Represents the state of an experiment in the random walk vs.
RandWalkExpState(int, String, boolean) - Constructor for class RandWalkExpState
 
RConstructor - Class in randoop
Represents a constructor call.
reachedZero() - Method in class CountDownTimer
 
read(BufferedReader, StatsComputer) - Method in class StatsWriter
 
read_map_file(File) - Method in class Instrument
Reads the file that specifies method calls that should be replaced by other method calls.
read_sequences(String) - Static method in class GenTests
Read a list of sequences from a serialized file
readFromMFile(String) - Static method in class CombinedStats
 
readLongFromFile(File) - Static method in class Files
Reads a single long from the file.
readSerialized(String) - Static method in class SerializationHelper
 
readSerialized(File) - Static method in class SerializationHelper
 
readTextSequences(String, Collection<Sequence>) - Static method in class Sequence
Reads a file containing a collection of sequences in textual representation.
readWhole(BufferedReader) - Static method in class Files
Reads the whole file.
readWhole(String) - Static method in class Files
Reads the whole file.
readWhole(File) - Static method in class Files
Reads the whole file.
readWhole(InputStream) - Static method in class Files
Reads the whole file.
record - Variable in class StatsWriter
 
RecordListReader - Class in randoop.util
Reads a list of records from a text file, where a record is partially specified by the client of this class.
RecordListReader(String, RecordProcessor) - Constructor for class RecordListReader
 
RecordProcessor - Interface in randoop.util
Processes a single record given by RecordListReader.
recordsize - Variable in class StatsWriter
 
reducedfaults - Static variable in class Randoop100Stats
 
Reflection - Class in randoop.util
Utility methods that operate on reflection objects (classes, methods, etc.).
Reflection.Match - Enum in randoop.util
Used by methods that that a java.lang.Class object as argument and use it to compute something based on it.
ReflectionCode - Class in randoop.util
Implemented by parts of randoop that want to execute reflection code via ReflectionExecutor.
ReflectionCode() - Constructor for class ReflectionCode
 
ReflectionExecutor - Class in randoop.util
Executes the code of a ReflectionCode object.
ReflectionExecutor() - Constructor for class ReflectionExecutor
 
ReflectionExecutor.TimeoutExceeded - Exception in randoop.util
 
ReflectionExecutor.TimeoutExceeded() - Constructor for exception ReflectionExecutor.TimeoutExceeded
 
ReflectionFilter - Interface in randoop.util
Methods that declare whether a reflection object should be used in randoop's exploration.
RegressionCaptureVisitor - Class in randoop
An execution visitor that records regression checks on the values created by the sequence.
RegressionCaptureVisitor() - Constructor for class RegressionCaptureVisitor
 
relatedClasses(Class<?>, int) - Static method in class Reflection
Returns the set of classes that appear, recursively, in the interface of the given class, to a given depth.
relatedClasses(Collection<Class<?>>, int) - Static method in class Reflection
 
remainingTime() - Method in class CountDownTimer
 
remove(K1, K2, V) - Method in class DoubleKeyToSetMap
Returns true if the doubly-nested set contained v.
remove(T1, T2) - Method in interface IMultiMap
Precondition: the mapping key->value is in the map.
remove(T) - Method in interface ISimpleSet
Removes the given elt from the set.
remove(T1, T2) - Method in class KeyToMultiSet
 
remove(T1) - Method in class KeyToMultiSet
 
remove(T1, T2) - Method in class MultiMap
 
remove(T1) - Method in class MultiMap
 
remove(T) - Method in class MultiSet
 
remove(T1, T2) - Method in class ReversibleMultiMap
 
remove(T) - Method in class ReversibleSet
 
remove(T) - Method in class SimpleSet
 
remove_diff_checks(String) - Method in class GenTests
Runs Randoop again and generates new checks for the list of sequences stored in seq_file.
remove_subsequences - Static variable in class GenInputsAbstract
 
removeAllInstances(Set<T2>) - Method in class KeyToMultiSet
 
removeAllInstances(Set<T>) - Method in class MultiSet
 
removeChecks() - Method in class ExecutableSequence
 
removeMatching(String, T) - Static method in class CollectionsExt
Removed from the collection all strings that match the given pattern.
repeat_heuristic - Static variable in class GenInputsAbstract
 
repeatLast(int) - Method in class Sequence
 
replace(MSequence, MVariable, MVariable) - Static method in class BranchDirMutator
Replaces all uses of oldv with newv.
replace_instructions(InstructionList, InstructionHandle, InstructionList) - Static method in class Instrument
Replace instruction ih in list il with the instructions in new_il.
ReplayFailureException - Exception in randoop
Thrown by a ContractFailureReplayVisitor or a RegressionReplayVisitor when a regression decoration fails to replay.
ReplayFailureException(String, Check) - Constructor for exception ReplayFailureException
 
ReplayVisitor - Class in randoop
An execution visitor that evaluates the checks in the given executable sequence, and returns false if any of them fail.
ReplayVisitor() - Constructor for class ReplayVisitor
 
Repro100 - Class in randoop.experiments
 
Repro100() - Constructor for class Repro100
 
ReproduceISSTA06 - Class in randoop.experiments
 
ReproduceISSTA06() - Constructor for class ReproduceISSTA06
 
ReproduceISSTA06Failure - Exception in randoop.experiments
 
ReproduceISSTA06Failure(String) - Constructor for exception ReproduceISSTA06Failure
 
reset(long) - Static method in class Randomness
 
result - Variable in class MStatement
 
results - Variable in class DataFlowOutput
 
results(String) - Method in class TempStatsComputer
 
resultsFileOffline - Variable in class RandoopRun
 
resultsFileOnline - Variable in class RandoopRun
 
reversible - Variable in class SubTypeSet
 
ReversibleMultiMap<T1,T2> - Class in randoop.util
 
ReversibleMultiMap() - Constructor for class ReversibleMultiMap
 
ReversibleSet<T> - Class in randoop.util
 
ReversibleSet() - Constructor for class ReversibleSet
 
RmDiffObservations - Class in randoop.main
 
RmDiffObservations() - Constructor for class RmDiffObservations
 
RMethod - Class in randoop
Represents a method call.
roCopyList(Collection<T>) - Static method in class CollectionsExt
Return a unmodifiable list that has all elements of the given collection.
run() - Method in class Command.StreamGobbler
 
run() - Method in class MachineManager
 
run() - Method in class Command.StreamGobbler
 
run() - Method in class ProgressDisplay
 
run() - Method in class RunnerThread
 
run() - Method in class StreamRedirectThread
Copy.
run_cmd(String[], String[], File) - Static method in class RunCmd
Runs the specified command and waits for it to finish.
run_cmd(String[]) - Static method in class RunCmd
Runs the specified command and waits for it to finish.
run_cmd(String, String[], File) - Static method in class RunCmd
Runs the specified command and waits for it to finish.
run_cmd(String) - Static method in class RunCmd
Runs the specified command and waits for it to finish.
RunCmd - Class in randoop.util
 
RunCmd() - Constructor for class RunCmd
 
runCommand(String[], String, boolean, String, boolean) - Static method in class Command
 
runCommand(String[], String, boolean, String, boolean, boolean) - Static method in class Command
 
runCommand(String[], String, boolean, String, boolean) - Static method in class Command
 
runCommand(String[], String, boolean, String, boolean, boolean) - Static method in class Command
 
runCommandOKToFail(String[], String, boolean, String, boolean) - Static method in class Command
 
runCommandOKToFail(String[], String, boolean, String, boolean) - Static method in class Command
 
runFinished - Variable in class RunnerThread
 
RunnerThread - Class in randoop.util
 
RunnerThread(ThreadGroup) - Constructor for class RunnerThread
Create a new runner thread.
runReflectionCode() - Method in class ReflectionCode
Runs the reflection code that this object represents, but first, if System.getSecurityManager() returns a RandoopSecurityManager, this method sets the security manager's status to ON.
runReflectionCodeRaw() - Method in class ConstructorReflectionCode
 
runReflectionCodeRaw() - Method in class MethodReflectionCode
 
runReflectionCodeRaw() - Method in class ReflectionCode
Executed the reflection code.

S

saveClassesToFile(List<Class<?>>, String) - Static method in class Reflection
 
savedHashCode - Variable in class Sequence
 
scratchdir - Static variable in class DataFlow
 
seed - Static variable in class RandoopAllClasses
 
SEED - Static variable in class Randomness
 
SeedSequences - Class in randoop
Provides functionality for creating a set of sequences that create a set of primitive values.
send(IMessage) - Method in class MessageSender
 
seq_id() - Method in class ExecutableSequence
Returns an id based on the contents of the sequence alone.
seq_str - Variable in class StatsWriter
 
seqs - Static variable in class Randoop100Stats
 
seqs_per_method - Static variable in class ComputeFrontierBranches
 
sequence - Variable in class ExecutableSequence
 
sequence - Variable in class DFResultsOneSeq
 
Sequence - Class in randoop
Immutable.
Sequence() - Constructor for class Sequence
Create a new, empty sequence.
Sequence(SimpleList<Statement>) - Constructor for class Sequence
 
sequence - Variable in class Variable
 
Sequence.RelativeNegativeIndex - Class in randoop
 
SequenceCollection - Class in randoop
A collection of sequences that makes its efficient to ask for all the sequences that create a value of a given type.
SequenceCollection() - Constructor for class SequenceCollection
Create a new, empty collection.
SequenceCollection(Collection<Sequence>) - Constructor for class SequenceCollection
Create a new collection and adds the given initial sequences.
sequenceForPrimitive(Object) - Static method in class PrimitiveOrStringOrNullDecl
Returns the sequence corresponding to the given non-null primitive value.
SequenceParseException - Exception in randoop
 
SequenceParseException(String, List<String>, int) - Constructor for exception SequenceParseException
 
SerializableArrayDeclaration - Class in randoop
 
SerializableArrayDeclaration(Class<?>, int) - Constructor for class SerializableArrayDeclaration
 
SerializableCheckRepContract - Class in randoop
 
SerializableCheckRepContract(Method) - Constructor for class SerializableCheckRepContract
 
SerializableExpectedExceptionChecker - Class in randoop
 
SerializableExpectedExceptionChecker(Class<? extends Throwable>, int) - Constructor for class SerializableExpectedExceptionChecker
 
SerializableObserverEqValue - Class in randoop
 
SerializableObserverEqValue(Method, Object) - Constructor for class SerializableObserverEqValue
 
SerializablePrimitiveOrStringOrNullDecl - Class in randoop
 
SerializablePrimitiveOrStringOrNullDecl(Class<?>, Object) - Constructor for class SerializablePrimitiveOrStringOrNullDecl
 
SerializableRConstructor - Class in randoop
 
SerializableRConstructor(Constructor<?>) - Constructor for class SerializableRConstructor
 
SerializableRMethod - Class in randoop
 
SerializableRMethod(Method) - Constructor for class SerializableRMethod
 
SerializationHelper - Class in randoop.util
A collection of static methods to serialize an object to a file and visceversa.
SERVER_HOSTNAME - Static variable in class MessageSender
 
set(int, ExecutionOutcome) - Method in class Execution
Set the i-th slot to the given outcome.
set_output(String) - Method in class ExecutionOutcome
Set the output of the statement
setActiveFlag(int) - Method in class Sequence
 
setActiveFlags(ExecutableSequence, int) - Method in class ObjectCache
 
setAllActiveFlags() - Method in class Sequence
 
setObjectCache(ObjectCache) - Method in class ForwardGenerator
 
setRunAlready() - Method in class ReflectionCode
 
setup(ReflectionCode) - Method in class RunnerThread
 
shouldStop - Variable in class ProgressDisplay
Clients should set this variable instead of calling Thread.stop(), which is deprecated.
silently_ignore_bad_class_names - Static variable in class GenInputsAbstract
 
SimpleList<T> - Class in randoop.util
List implementation used by Randoop to store the sequence of Statements making up a Sequence.
SimpleList() - Constructor for class SimpleList
 
SimpleSet<T> - Class in randoop.util
 
SimpleSet() - Constructor for class SimpleSet
 
size() - Method in class EqualsMethodMatcher
 
size() - Method in class EverythingIsDifferentMatcher
 
size() - Method in class Execution
The size of the list.
size() - Method in class CovPlot
 
size - Variable in class StatsWriter
 
size() - Method in class MSequence
 
size() - Method in class Sequence
The number of statements in the sequence.
size() - Method in class SequenceCollection
 
size() - Method in interface StateMatcher
 
size() - Method in class SubTypeSet
 
size() - Method in class ArrayListSimpleList
 
size() - Method in interface IMultiMap
Returns the size of this map: the number of mappings.
size() - Method in interface ISimpleSet
Returns the size of this set.
size() - Method in class KeyToMultiSet
 
size() - Method in class ListOfLists
 
size() - Method in class MultiMap
 
size - Variable in class OneMoreElementList
 
size() - Method in class OneMoreElementList
 
size() - Method in class ReversibleMultiMap
 
size() - Method in class ReversibleSet
 
size() - Method in class SimpleList
 
size() - Method in class SimpleSet
 
SizeEqualizer - Class in randoop.experiments
 
SizeEqualizer() - Constructor for class SizeEqualizer
 
skip - Static variable in class PreDF
 
small_tests - Static variable in class GenInputsAbstract
Favor shorter sequences when assembling new sequences out of old ones.
sort(List<String>) - Static method in class CollectionsExt
Sort and return the list.
SORT_MEMBERS_BY_NAME - Static variable in class Reflection
 
st - Variable in class FailureSet.Failure
 
startTiming() - Method in class Timer
Start counting testtime.
startUserInteractionLoop(List<MachineManager>) - Method in class MultiMachineRunner
 
StateMatcher - Interface in randoop
 
Statement - Class in randoop
The elements of a Sequence.
Statement(StatementKind, List<Sequence.RelativeNegativeIndex>) - Constructor for class Statement
Create a new statement of type statement that takes as input the given values.
statement - Variable in class Statement
 
statementIndexList(List<Variable>) - Static method in class Variable
 
statementKind - Variable in class MStatement
 
StatementKind - Interface in randoop
Represents a kind of statement that can be part of a sequence, for example, a method call, constructor call, or primitive value declaration.
StatementKindParseException - Exception in randoop
 
StatementKindParseException(String) - Constructor for exception StatementKindParseException
 
StatementKinds - Class in randoop
 
StatementKinds() - Constructor for class StatementKinds
 
statements - Variable in class AbstractGenerator
The list of statement kinds (methods, constructors, primitive value declarations, etc.) used to generate sequences.
statements - Variable in class MSequence
 
statements - Variable in class Sequence
 
stats_coverage - Static variable in class CodeCoverageTracker
 
StatsComputer - Interface in randoop.experiments
 
StatsForOneSeed - Class in randoop.experiments
 
StatsForOneSeed() - Constructor for class StatsForOneSeed
 
StatsWriter - Class in randoop.experiments
 
StatsWriter() - Constructor for class StatsWriter
 
StatsWriter.EndOfFile - Exception in randoop.experiments
 
StatsWriter.EndOfFile() - Constructor for exception StatsWriter.EndOfFile
 
status - Variable in class RandoopSecurityManager
 
stdout_to_file - Static variable in class MultiMachineRunner
 
step() - Method in class AbstractGenerator
 
step() - Method in class RandomWalkGenerator
 
step() - Method in class ForwardGenerator
 
stmt_no - Variable in class ObjectCheck
 
stop() - Method in class AbstractGenerator
 
stop() - Method in interface IStopper
 
stop_when_plateau - Static variable in class CodeCoverageTracker
 
stopGeneration() - Method in class CodeCoverageTracker
 
stopGeneration() - Method in interface IEventListener
Called by AbstractGenerator to determine if generation should stop.
stopGeneration() - Method in class RandoopListenerManager
 
stopGeneration() - Method in class PluginBridge
 
stopTiming() - Method in class Timer
Stop counting testtime.
StreamRedirectThread - Class in randoop.util
StreamRedirectThread is a thread which copies it's input to it's output and terminates when it completes.
StreamRedirectThread(String, InputStream, OutputStream) - Constructor for class StreamRedirectThread
Set up for copy.
string_maxlen - Static variable in class GenInputsAbstract
 
StringEscapeUtils - Class in randoop.util
Escapes and unescapes Strings for Java, Java Script, HTML, XML, and SQL.
StringEscapeUtils() - Constructor for class StringEscapeUtils
StringEscapeUtils instances should NOT be constructed in standard programming.
stringLengthOK(String) - Static method in class PrimitiveTypes
Returns true if the given string is deemed to be reasonable (i.e.
StringLineIterator - Class in randoop.util
Given a string consisting of words separated by white space, lets the user ask for the words as lines of text of a desired length, until there are no more words.
StringLineIterator(String) - Constructor for class StringLineIterator
 
strings - Variable in class ClassFileConstants.ConstantSet
 
subClasses(Class<?>) - Method in class ClassHierarchy
 
subsumed_sequences() - Method in class AbstractGenerator
Returns the set of sequences that are used as inputs in other sequences (and can thus be thought of as subsumed by another sequence).
subsumed_sequences - Variable in class ForwardGenerator
Sequences that are used in other sequences (and are thus redundant)
subsumed_sequences() - Method in class ForwardGenerator
Returns the set of sequences that are used as inputs in other sequences (and can thus be thought of as subsumed by another sequence).
SubTypeSet - Class in randoop
A set of classes.
SubTypeSet(boolean) - Constructor for class SubTypeSet
 
subTypesWithsequences - Variable in class SubTypeSet
 
super_get_declared_method(Class<?>, String, Class<?>...) - Static method in class Reflection
Looks for the specified method name in the specified class and all of its superclasses
superClassClosure(Set<Class<?>>) - Static method in class ClassHierarchy
Returns the set of all direct and indirect superclasses and superinterfaces of the given class.
superClassClosure(Class<?>) - Static method in class ClassHierarchy
 
superClasses(Class<?>) - Method in class ClassHierarchy
 
system_props - Static variable in class GenInputsAbstract
 
system_test_run - Static variable in class GenTests
 
systemOutErrStream - Static variable in class Log
 

T

targetClassListFile - Variable in class ExperimentBase
 
targetMaker - Variable in class MultiMachineRunner
 
TargetMaker - Interface in randoop.experiments
Provides a list of Make targets for parallel execution.
targetsEndedWithError - Variable in class MultiMachineRunner
 
targetsFinished - Variable in class MultiMachineRunner
 
targetsInProgress - Variable in class MultiMachineRunner
 
targetsLeft() - Method in class OneTargetPerArgument
 
targetsLeft() - Method in class OneTargetPerLine
 
targetsLeft() - Method in class PrepareTargetMaker
 
targetsLeft() - Method in class RandomTargets
 
targetsLeft() - Method in class RandoopOneClassTargetMaker
 
targetsLeft() - Method in class RandWalkExpMaker
 
targetsLeft() - Method in interface TargetMaker
 
TempStatsComputer - Class in randoop.experiments
 
TempStatsComputer() - Constructor for class TempStatsComputer
 
test_class - Static variable in class UniversalDriverHandler
 
test_classes - Static variable in class GenInputsAbstract
 
testclass - Static variable in class GenInputsAbstract
 
testCode - Variable in class ErrorRevealed
 
TestCoverageInfo - Class in randoop.util
 
TestCoverageInfo(int, Map<String, Set<Integer>>) - Constructor for class TestCoverageInfo
 
testsperfile - Static variable in class GenInputsAbstract
Maximum number of tests to write to each JUnit file
TestValue - Annotation Type in randoop
Signals to Randoop that the value of a primitive (or primitive array) field in a class under test should be used as an input value to methods under test.
theList - Variable in class Execution
 
theList - Variable in class ArrayListSimpleList
 
theMap - Variable in class TypeToObjectMap
 
throwPointForName(String) - Static method in class Reflection
 
throwPointToString(StackTraceElement) - Static method in class Reflection
 
throwsException(Class<?>) - Method in class ExecutableSequence
 
throwsException() - Method in class ExecutableSequence
 
time - Variable in class RandoopRun
 
timelimit - Static variable in class GenInputsAbstract
 
timeout - Static variable in class ReflectionExecutor
After this many milliseconds, a non-returning method call, and its associated test, are stopped forcefully.
TimeOutException - Exception in randoop
 
TimeOutException(String) - Constructor for exception TimeOutException
 
timer - Variable in class AbstractGenerator
The timer used to determine how much time has elapsed since the start of generator and whether generation should stop.
Timer - Class in randoop.util
A simple timer implementation.
Timer() - Constructor for class Timer
Creates a timer.
tmp - Variable in class MachineManager
 
toCodeString() - Method in class CheckRepContract
 
toCodeString() - Method in class EqualsHashcode
 
toCodeString() - Method in class EqualsReflexive
 
toCodeString() - Method in class EqualsSymmetric
 
toCodeString() - Method in class EqualsToNullRetFalse
 
toCodeString() - Method in class ExecutableSequence
Output this sequence as code.
toCodeString() - Method in class HashCodeReturnsNormally
 
toCodeString() - Method in class IsNotNull
 
toCodeString() - Method in class IsNull
 
toCodeString() - Method in class MSequence
A compilable (Java source code) representation of this sequence.
toCodeString() - Method in interface ObjectContract
A string that can be used as Java source code and will result in the expression being evaluated.
toCodeString() - Method in class ObserverEqValue
 
toCodeString() - Method in class PrimValue
 
toCodeString() - Method in class Sequence
A Java source code representation of this sequence.
toCodeString() - Method in class ToStringReturnsNormally
 
toCodeString(Object) - Static method in class PrimitiveTypes
Given a primitive, boxed primitive, or String, returns a String that can be uesd in Java source to represent it.
toCodeStringPostStatement() - Method in interface Check
Returns a string of Java source code to be emitted after a statement containing this check.
toCodeStringPostStatement() - Method in class ExpectedExceptionCheck
The "catch" half of the try-catch wrapper.
toCodeStringPostStatement() - Method in class NoExceptionCheck
Returns the empty string: there is no code associated with this check (if an exception occurs, it will be reported by JUnit).
toCodeStringPostStatement() - Method in class ObjectCheck
 
toCodeStringPreStatement() - Method in interface Check
Returns a string of Java source code to be emitted before a statement containing this check.
toCodeStringPreStatement() - Method in class ExpectedExceptionCheck
The "try" half of the try-catch wrapper.
toCodeStringPreStatement() - Method in class NoExceptionCheck
 
toCodeStringPreStatement() - Method in class ObjectCheck
 
toCodeStringPreStatement() - Method in class ObserverEqValue
 
toCodeStringPreStatement() - Method in class PrimValue
 
toCommentString() - Method in class CheckRepContract
 
toCommentString() - Method in class EqualsHashcode
 
toCommentString() - Method in class EqualsReflexive
 
toCommentString() - Method in class EqualsSymmetric
 
toCommentString() - Method in class EqualsToNullRetFalse
 
toCommentString() - Method in class HashCodeReturnsNormally
 
toCommentString() - Method in class IsNotNull
 
toCommentString() - Method in class IsNull
 
toCommentString() - Method in interface ObjectContract
A string that will be inserted as a comment in the test before the code corresponding to this contract.
toCommentString() - Method in class ObserverEqValue
 
toCommentString() - Method in class PrimValue
 
toCommentString() - Method in class ToStringReturnsNormally
 
toImmutableSequence() - Method in class MSequence
 
toJDKList() - Method in class ArrayListSimpleList
 
toJDKList() - Method in class ListOfLists
 
toJDKList() - Method in class OneMoreElementList
 
toJDKList() - Method in class SimpleList
Returns a java.util.List version of this list.
toMap(Collection<ClassFileConstants.ConstantSet>) - Static method in class ClassFileConstants
Convert a collection of ConstantSets to the format expected by GenTest.addClassLiterals.
toModifiableSequence() - Method in class Sequence
 
toNCols(String, int) - Static method in class Util
Splits it into words (whitespace separates words).
toNColsStr(String, int) - Static method in class Util
 
toParseableFile(String, boolean) - Method in class DataFlowInput
Output this DataFlowInput as a text file.
toParseableFile(String) - Method in class DataFlowOutput
Output this DataFlowOutput object as a text file.
toParseableString() - Method in class ArrayDeclaration
 
toParseableString() - Method in class DummyStatement
 
toParseableString() - Method in class DFResultsOneSeq
Outputs this object as a String that can be parsed by method DFResultsOneSeq.parse(List).
toParseableString() - Method in class PrimitiveOrStringOrNullDecl
 
toParseableString() - Method in class RConstructor
A string representing this constructor.
toParseableString() - Method in class RMethod
A string representing this method.
toParseableString() - Method in class Sequence
Returns a string representing this sequence.
toParseableString(String) - Method in class Sequence
Like toParseableString, but the client can specify a string that will be used a separator between statements.
toParseableString() - Method in interface StatementKind
Returns a string representation of this StatementKind, which can subsequently be used in this class's parse method.
toString() - Method in class ArrayDeclaration
 
toString() - Method in class DummyStatement
 
toString() - Method in class ExceptionalExecution
Warning: this method calls toString() of code under test, which may have arbitrary behavior.
toString() - Method in class ExecutableSequence
 
toString() - Method in class ExpectedExceptionCheck
 
toString() - Method in class DataFlowOutput
 
toString() - Method in class DFResultsOneSeq
Same as toParseableString().
toString() - Method in class DFResultsOneSeq.VariableInfo
 
toString() - Method in class ExperimentBase
 
toString() - Method in class JCrasherResults
 
toString() - Method in class MultiRunResults
 
toString(String, MultiRunResults.OutputFormat) - Method in class MultiRunResults
 
toString() - Method in class RandoopRun
 
toString() - Method in class MSequence
 
toString() - Method in class MStatement
 
toString() - Method in class MVariable
 
toString() - Method in class NormalExecution
Warning: this method calls toString() of code under test, which may have arbitrary behavior.
toString() - Method in class NotExecuted
 
toString() - Method in class ObjectCheck
 
toString() - Method in class ObserverEqValue
 
toString() - Method in class PrimitiveOrStringOrNullDecl
Returns string representation of this PrimitiveOrStringOrNullDeclInfo
toString() - Method in class PrimValue
 
toString() - Method in class RConstructor
Returns concise string representation of this ConstructorCallInfo
toString() - Method in class RMethod
 
toString() - Method in class ErrorRevealed
 
toString() - Method in class Sequence.RelativeNegativeIndex
 
toString() - Method in class Sequence
Equivalent to toParseableString().
toString() - Method in class ArrayListSimpleList
 
toString() - Method in class ClassFileConstants.ConstantSet
 
toString() - Method in class ConstructorReflectionCode
 
toString() - Method in class CountDownTimer
 
toString() - Method in class DoubleKeyMap
 
toString() - Method in class DoubleKeyToSetMap
 
toString() - Method in class Histogram
 
toString() - Method in interface IMultiMap
Returns a String representation of this map.
toString() - Method in interface ISimpleSet
Returns a String representation of this set.
toString() - Method in class ListOfLists
 
toString() - Method in class MethodReflectionCode
 
toString() - Method in class MultiMap
 
toString() - Method in class OneMoreElementList
 
toString() - Method in class PrimitiveOrString
 
toString() - Method in class RandoopSecurityManager
 
toString() - Method in class ReversibleMultiMap
 
toString() - Method in class ReversibleSet
 
toString() - Method in class Variable
 
toStringInLines(Collection<?>) - Static method in class CollectionsExt
Prints out the String.valueOf() of all elements of the collection, inserting a new line after each element.
toStringInSortedLines(Collection<?>) - Static method in class CollectionsExt
Prints out the elements of the collection in lines, in lexicographic order of String.valueOf called on each element.
toStringLines(Collection<?>) - Static method in class CollectionsExt
List of String.valueOf() of all elements of the collection.
ToStringReturnsNormally - Class in randoop
Checks that calling toString() on an object does not throw an exception.
ToStringReturnsNormally() - Constructor for class ToStringReturnsNormally
 
toStringShort() - Method in class ArrayDeclaration
 
toStringShort() - Method in class DummyStatement
 
toStringSortedByKey() - Method in class Histogram
 
toStringSortedByNumbers() - Method in class Histogram
 
toStringVerbose() - Method in class ArrayDeclaration
 
toStringVerbose() - Method in class DummyStatement
 
tot - Static variable in class Randoop100Stats
 
totalCallsToRandom - Static variable in class Randomness
 
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class Instrument
Given another class, return a transformed version of the class which replaces specified calls with alternative static implementations
typeNameToPrimitiveOrString - Static variable in class PrimitiveTypes
 
typesWithsequences - Variable in class SubTypeSet
 
TypeToObjectMap - Class in randoop.util
Maintains a map from types to objects of that type.
TypeToObjectMap() - Constructor for class TypeToObjectMap
 
TypeToObjectMap.HotPotato - Class in randoop.util
 
TypeToObjectMap.HotPotato(Object) - Constructor for class TypeToObjectMap.HotPotato
 

U

uncaughtException(Thread, Throwable) - Method in class RandoopUncaughtRunnerThreadExceptionHandler
 
undoLastStep() - Method in class SubTypeSet
 
undoToLastMark() - Method in class ReversibleMultiMap
 
undoToLastMark() - Method in class ReversibleSet
 
union(Set<? extends T>...) - Static method in class CollectionsExt
 
unique(List<T>) - Static method in class CollectionsExt
Make a copy of the list with duplicates removed.
UniversalDriverHandler - Class in randoop.main
 
UniversalDriverHandler() - Constructor for class UniversalDriverHandler
 
unpub - Static variable in class Help
 
usageMessage(PrintStream, boolean) - Method in class CommandHandler
 
use_object_cache - Static variable in class GenInputsAbstract
 
usethreads - Static variable in class ReflectionExecutor
Use if Randoop is exhibiting nonterminating behavior: this is usually due to execution of code under test that results in an infinite loop.
Util - Class in randoop.util
Helpers for assertions, and stuff...

V

value - Variable in class DFResultsOneSeq.VariableInfo
 
value - Variable in class ObserverEqValue
The runtime value of the observer.
value - Variable in class PrimValue
 
valueOf(String) - Static method in enum MultiRunResults.OutputFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum RandoopRun.RunType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum WriteModelCheckerDriver.Target
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum GenInputsAbstract.ClassLiteralsMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum PrimValue.PrintMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ProgressDisplay.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum RandoopSecurityManager.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Reflection.Match
Returns the enum constant of this type with the specified name.
values - Variable in class DFResultsOneSeq
 
values() - Static method in enum MultiRunResults.OutputFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum RandoopRun.RunType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum WriteModelCheckerDriver.Target
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum GenInputsAbstract.ClassLiteralsMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum PrimValue.PrintMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ProgressDisplay.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum RandoopSecurityManager.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Reflection.Match
Returns an array containing the constants of this enum type, in the order they are declared.
valuesAppearingInLastStatement(Class<?>, Reflection.Match) - Method in class Sequence
All the values declared in this sequences whose type matches the given class.
Variable - Class in randoop
Represents the result of a statement call in a sequence.
Variable(Sequence, int) - Constructor for class Variable
 
vars - Variable in class ObjectCheck
 
verbose - Static variable in class Premain
 
verbose_log - Static variable in class ReversibleMultiMap
 
viocls - Variable in class FailureSet.Failure
 
visitAfter(ExecutableSequence, int) - Method in class ContractCheckingVisitor
If idx is the last index, checks contracts.
visitAfter(ExecutableSequence, int) - Method in class DummyVisitor
 
visitAfter(ExecutableSequence, int) - Method in interface ExecutionVisitor
Invoked by ExecutableSequence.execute after the i-th statement executes.
visitAfter(ExecutableSequence, int) - Method in class CovWitnessHelperVisitor
 
visitAfter(ExecutableSequence, int) - Method in class MultiVisitor
 
visitAfter(ExecutableSequence, int) - Method in class RegressionCaptureVisitor
 
visitAfter(ExecutableSequence, int) - Method in class ReplayVisitor
 
visitBefore(ExecutableSequence, int) - Method in class ContractCheckingVisitor
 
visitBefore(ExecutableSequence, int) - Method in class DummyVisitor
 
visitBefore(ExecutableSequence, int) - Method in interface ExecutionVisitor
Invoked by ExecutableSequence.execute before the i-th statement executes.
visitBefore(ExecutableSequence, int) - Method in class CovWitnessHelperVisitor
 
visitBefore(ExecutableSequence, int) - Method in class MultiVisitor
 
visitBefore(ExecutableSequence, int) - Method in class RegressionCaptureVisitor
 
visitBefore(ExecutableSequence, int) - Method in class ReplayVisitor
 
visitor - Static variable in class GenInputsAbstract
 
visitors - Variable in class MultiVisitor
 

W

weighedCoinFlip(double) - Static method in class Randomness
 
WeightedElement - Interface in randoop.util
 
WeightedList - Class in randoop.util
 
WeightedList() - Constructor for class WeightedList
 
write(FileWriter, ExecutableSequence, FailureSet) - Static method in class StatsWriter
 
write_junit_tests(String, List<ExecutableSequence>, List<String>) - Static method in class GenTests
Writes the sequences as JUnit files to the specified directory.
write_sequences(List<ExecutableSequence>, String) - Static method in class GenTests
Write out a serialized file of sequences
writeDriver(WriteModelCheckerDriver.Target, String, List<Class<?>>) - Static method in class WriteModelCheckerDriver
 
writeDriverFile() - Method in class JunitFileWriter
 
writeDriverFile(List<Class<?>>) - Method in class JunitFileWriter
 
writeDriverFile(String) - Method in class JunitFileWriter
Creates Junit tests for the faults.
writeDriverFile(File, String, String, List<String>) - Static method in class JunitFileWriter
 
writefailures - Static variable in class StatsWriter
 
WriteModelCheckerDriver - Class in randoop.experiments
Given a file with a list of classes, creates a driver for exploring method sequences in JPF or jCUTE.
WriteModelCheckerDriver() - Constructor for class WriteModelCheckerDriver
 
WriteModelCheckerDriver.Target - Enum in randoop.experiments
 
writeSerialized(String, Object) - Static method in class SerializationHelper
 
writeSerialized(File, Object) - Static method in class SerializationHelper
 
writeToFile(String, File) - Static method in class Files
 
writeToFile(String, String) - Static method in class Files
 
writeToFile(String, File, Boolean) - Static method in class Files
 
writeToFile(String, String, Boolean) - Static method in class Files
 
writeToFile(List<String>, String) - Static method in class Files
 

X

xor(Set<? extends T>, Set<? extends T>) - Static method in class CollectionsExt
 

Z

zero(Class<?>) - Static method in class Sequence
Returns a sequence that is of the form "Foo f = null;" where Foo is the given class.

A B C D E F G H I J K L M N O P R S T U V W X Z