public final class TestWalker
extends java.lang.Object
Test
class.Constructor and Description |
---|
TestWalker(TestVisitor visitor)
Constructs a walker for the specified visitor.
|
Modifier and Type | Method and Description |
---|---|
void |
start(Test test)
Performs walking across the specified test.
|
void |
visitEvent(Event event)
Visits the specified event.
|
void |
visitEventList(EventList eventList)
Visits the specified eventList.
|
void |
visitSequence(Sequence sequence)
Visits the specified sequence.
|
void |
visitTransaction(Transaction transaction)
Visits the specified transaction.
|
void |
visitVariable(java.lang.String name,
ru.ispras.fortress.expression.Node value)
Visits a variable with the specified name and value.
|
void |
visitVector(Vector vector)
Visits the specified vector.
|
public TestWalker(TestVisitor visitor)
visitor
- the visitorjava.lang.IllegalArgumentException
- if visitor
is null
public void start(Test test)
test
- the test to be walked acrossjava.lang.IllegalArgumentException
- if test
is null
public void visitSequence(Sequence sequence)
sequence
- the sequence to be visitedjava.lang.IllegalArgumentException
- if sequence
is null
public void visitVector(Vector vector)
vector
- the vector to be visitedjava.lang.IllegalArgumentException
- if vector
is null
public void visitTransaction(Transaction transaction)
transaction
- the transaction to be visitedjava.lang.IllegalArgumentException
- if transaction
is null
public void visitEventList(EventList eventList)
eventList
- the eventList to be visitedjava.lang.IllegalArgumentException
- if eventList
is null
public void visitEvent(Event event)
event
- the event to be visitedjava.lang.IllegalArgumentException
- if event
is null
public void visitVariable(java.lang.String name, ru.ispras.fortress.expression.Node value)
name
- the name of the variable to be visitedvalue
- the value of the variable to be visitedjava.lang.IllegalArgumentException
- if either name
or value
is null