dk.rode.thesis.command
Class Creator
java.lang.Object
dk.rode.thesis.command.Creator
abstract class Creator
- extends Object
Simple helper class to create a list of commands based on
a sequence for the Main.test(Log, Arguments)
method.
- Author:
- Gunni Rode / rode.dk
Constructor Summary |
Creator()
No-arg constructor. |
Method Summary |
(package private) abstract
|
create(Sequence<E> sequence,
Boolean fail)
Returns a list of test commands primed with sequence
as the receiver. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Creator
Creator()
- No-arg constructor.
create
abstract <E> List<Command<E>> create(Sequence<E> sequence,
Boolean fail)
- Returns a list of test commands primed with
sequence
as the receiver.
- Type Parameters:
E
- The type of values delivered by sequence
.- Parameters:
sequence
- The sequence to use; never null.fail
- Flag to determine if the test is supposed to fail or not.
- Returns:
- The created commands; never null.
Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!
The original thesis and source code are available at rode.dk/thesis.