|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectCommandHandler
GenInputsAbstract
public abstract class GenInputsAbstract extends CommandHandler
Container for Randoop options.
| Modifier and Type | Class and Description |
|---|---|
static class |
GenInputsAbstract.ClassLiteralsMode
|
| Modifier and Type | Field and Description |
|---|---|
static String |
agent
|
static double |
alias_ratio
Try to reuse values from a sequence with the given frequency. |
static String |
all
|
static boolean |
always_use_ints_as_objects
|
static boolean |
capture_output
|
static boolean |
check_object_contracts
Use Randoop's default set of object contracts. |
static String |
classlist
The name of a file that lists classes under test. |
static File |
clean_checks
|
static int |
clear
Clear the component set each time it reaches |
static int |
comm_port
|
static boolean |
compare_checks
Run each test twice and compare the checks. |
static List<String> |
componentfile_ser
|
static List<String> |
componentfile_txt
|
static String |
coverage_instrumented_classes
|
static boolean |
debug_checks
|
static boolean |
dont_output_tests
|
static boolean |
dontexecute
Create sequences but never execute them. |
static FileWriter |
expfile
|
static String |
fail
|
static boolean |
forbid_null
Never use null as input to methods or constructors. |
static String |
init_routine
|
static int |
inputlimit
Maximum number of tests generated. |
static String |
junit_classname
Base name (no ".java" suffix) of the JUnit file containing Randoop-generated tests |
static String |
junit_output_dir
Name of the directory to which JUnit files should be written |
static String |
junit_package_name
Name of the package for the generated JUnit files |
static List<String> |
literals_file
A file containing literal values to be used as inputs to methods under test. |
static GenInputsAbstract.ClassLiteralsMode |
literals_level
How to use literal values (see --literals-file): ALL, PACKAGE, CLASS, or NONE. |
static FileWriter |
log
Name of a file to which to log lots of information. |
static boolean |
long_format
|
static int |
maxsize
Do not generate tests with more than this many statements |
static int |
mem_megabytes
|
static String |
methodlist
The name of a file that lists methods under test. |
static boolean |
noprogressdisplay
|
static double |
null_ratio
Use null with the given frequency. |
static File |
observers
|
static boolean |
offline
|
static Pattern |
omitmethods
Randoop will not attempt to directly call methods whose Method.toString() matches the regular expression
given. |
static String |
output_branches
|
static String |
output_components
Output components (serialized, GZIPPED) to the given file. |
static boolean |
output_cov_witnesses
|
static String |
output_covmap
|
static boolean |
output_nonexec
Output sequences even if they do not complete execution. |
static String |
output_tests
|
static String |
output_tests_serialized
Output tests (sequences plus checkers) in serialized form to the given file. |
static int |
outputlimit
Determines the maximum number of tests to output, no matter how many are generated. |
static String |
pass
|
static boolean |
print_diff_obs
|
static long |
progressinterval
|
static boolean |
public_only
If the command line argument public_only is true, only public classes/methods are considered visible. |
static int |
randomseed
|
static boolean |
remove_subsequences
|
static boolean |
repeat_heuristic
|
static boolean |
silently_ignore_bad_class_names
|
static boolean |
small_tests
Favor shorter sequences when assembling new sequences out of old ones. |
static int |
string_maxlen
|
static List<String> |
system_props
|
static Pattern |
test_classes
|
static List<String> |
testclass
|
static int |
testsperfile
Maximum number of tests to write to each JUnit file |
static int |
timelimit
|
static boolean |
use_object_cache
|
static List<String> |
visitor
|
| Fields inherited from class CommandHandler |
|---|
fcommand, fcommandGrammar, fexample, finput, fnotes, foptions, foutput, fpitch, fsummary, fwhere |
| Constructor and Description |
|---|
GenInputsAbstract(String command,
String pitch,
String commandGrammar,
String where,
String summary,
List<String> notes,
String input,
String output,
String example,
Options options)
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkOptionsValid()
Check that the options given satisfy any specified constraints, and fail if they do not. |
| Methods inherited from class CommandHandler |
|---|
handle, handles, printHTML, usageMessage |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static List<String> testclass
public static String classlist
public static String methodlist
public static Pattern omitmethods
Method.toString() matches the regular expression
given. This does not prevent indirect calls to such methods from
other, allowed methods.
public static boolean public_only
public static String init_routine
public static boolean silently_ignore_bad_class_names
public static GenInputsAbstract.ClassLiteralsMode literals_level
public static List<String> literals_file
LiteralFileReader.
The special value "CLASSES" (with no quotes) means to read literals from all classes under test.
public static int randomseed
public static int timelimit
public static int inputlimit
public static int outputlimit
public static int maxsize
public static boolean forbid_null
public static int string_maxlen
public static double null_ratio
public static double alias_ratio
public static boolean small_tests
public static int clear
public static File observers
public static boolean check_object_contracts
public static String output_tests
public static final String all
public static final String fail
public static final String pass
public static int testsperfile
public static String junit_classname
public static String junit_package_name
public static String junit_output_dir
public static boolean dont_output_tests
public static boolean output_nonexec
public static Pattern test_classes
public static List<String> system_props
public static String agent
public static int mem_megabytes
public static boolean capture_output
public static List<String> componentfile_ser
public static List<String> componentfile_txt
public static String output_components
public static String output_tests_serialized
public static int comm_port
public static boolean noprogressdisplay
public static long progressinterval
public static List<String> visitor
public static boolean debug_checks
public static FileWriter log
public static boolean dontexecute
public static boolean long_format
public static String output_covmap
public static boolean output_cov_witnesses
public static boolean always_use_ints_as_objects
public static String coverage_instrumented_classes
public static String output_branches
public static boolean remove_subsequences
public static boolean compare_checks
public static File clean_checks
public static boolean print_diff_obs
public static FileWriter expfile
public static boolean offline
public static boolean repeat_heuristic
public static boolean use_object_cache
| Constructor Detail |
|---|
public GenInputsAbstract(String command,
String pitch,
String commandGrammar,
String where,
String summary,
List<String> notes,
String input,
String output,
String example,
Options options)
| Method Detail |
|---|
public void checkOptionsValid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||