Enum Constant and Description |
---|
SkipCharacterInBetween
Simulates removal of a single character.
|
SkipFirstCharacters
Simulates deletion from the first to the last character.
|
SkipLastCharacters
Simulates typing from the first to the last character.
|
SkipNodesInBetween
Simulates removal of nodes.
|
SkipThreeCharactersInBetween
Skips three characters of the input document.
|
SkipTokensInBetween
Simulates removal of a complete token.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
processInput(java.lang.String input,
DeltaScenarioProcessor tester)
Create permutations of the input document and pass that to the given tester.
|
void |
processInput(java.lang.String input,
ScenarioProcessor tester)
Create permutations of the input document and pass that to the given tester.
|
static Scenario |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scenario[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scenario SkipLastCharacters
public static final Scenario SkipFirstCharacters
public static final Scenario SkipCharacterInBetween
public static final Scenario SkipTokensInBetween
public static final Scenario SkipNodesInBetween
public static final Scenario SkipThreeCharactersInBetween
x =
in var x = 3
), or where the name has three chars (foo, bar
).public static Scenario[] values()
for (Scenario c : Scenario.values()) System.out.println(c);
public static Scenario valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void processInput(java.lang.String input, ScenarioProcessor tester) throws java.lang.Exception
java.lang.Exception
public abstract void processInput(java.lang.String input, DeltaScenarioProcessor tester) throws java.lang.Exception
java.lang.Exception