 |
Synthia
Generic and flexible data structure generator
|
Go to the documentation of this file.
283 public static void main(String[] args)
293 Monkey m =
new Monkey(window, actions, b_rf, System.out);
294 window.setVisible(
true);
297 System.out.println(
"No error found");
302 System.out.println(
"Sequence : " + m.
getShrunk());
Miscellaneous pickers performing various functions.
Performs monkey testing by interacting with a component.
Calculator disableNumberFormatException()
Instructs the calculator to check the format of numbers and ignore parsing errors.
Pickers that produce pseudo-random objects such as numbers.
Generates pseudo-random floating-point numbers in the interval [0,1], but according to a probability ...
RandomFloat setSeed(int seed)
Choice< T > add(ProbabilityChoice< T > pc)
Adds an object-probability association.
static void main(String[] args)
Interface signaling that an object can perform an "action".
Classes that enable Synthia to operate as a fuzz testing tool.
Performs monkey testing over a simple calculator, using Synthia's Monkey.
Calculator hasOverflow()
Instructs the calculator to throw an OverflowException when producing a number over 100,...
Picks a floating point number uniformly in an interval.
List< Action > getShrunk()
Picks an element from a collection, where the probability of picking each element can be user-defined...
JButton getButton(String label)
Gets the button instance with given label.
static final String[] BUTTON_LABELS
The array of button labels.