public class TestSuite extends Specification
multiTest, testDepth| Constructor and Description |
|---|
TestSuite()
Creates an empty TestSuite.
|
TestSuite(java.lang.String name,
int depth)
Creates an empty TestSuite for the given system and test depth.
|
| Modifier and Type | Method and Description |
|---|---|
TestSuite |
addTestSequence(TestSequence sequence)
Adds a sequence to the set of TestSequences in this TestSuite.
|
int |
compress()
Compress this TestSuite, returning a more compact TestSuite in which
single TestSequences may verify multiple test objectives.
|
java.lang.String |
getGrounding()
Returns the grounding specified for this TestSuite, if any.
|
java.lang.Boolean |
getMetaCheck()
Optionally reports whether meta-checks of full state and transition
behaviour are to be performed.
|
java.lang.String |
getSystem()
Returns the name of the System Under Test (SUT).
|
java.lang.String |
getTestDriver()
Returns the name of the Test Driver (TD) for the System Under Test
(SUT).
|
java.util.Set<TestSequence> |
getTestSequences()
Returns the set of TestSequences that constitute this TestSuite.
|
boolean |
isMetaCheck()
Reports whether meta-checks of full state and transition behaviour
are to be performed.
|
void |
receive(Grounding grounding)
Receive a Grounding generator for grounding this TestSuite.
|
TestSuite |
setGrounding(java.lang.String grounding)
Sets the grounding desired for this TestSuite, if any.
|
void |
setMetaCheck(boolean metaCheck)
Sets whether to perform meta-checks of full state and transition
behaviour.
|
int |
size()
Returns the size of this TestSuite.
|
getMultiTest, getName, getTestDepth, isMultiTest, setMultiTest, setTestDepthequals, hashCode, setName, setName, toStringsafeEquals, safeHashCode, semanticErrorpublic TestSuite()
public TestSuite(java.lang.String name,
int depth)
name - the name of the System Under Test (SUT).depth - the desired maximum depth for testing.public java.lang.String getSystem()
public java.lang.String getTestDriver()
public int size()
public java.util.Set<TestSequence> getTestSequences()
public TestSuite addTestSequence(TestSequence sequence)
sequence - the TestSequence to add.public java.lang.String getGrounding()
public TestSuite setGrounding(java.lang.String grounding)
grounding - the symbolic grounding String.public boolean isMetaCheck()
public java.lang.Boolean getMetaCheck()
public void setMetaCheck(boolean metaCheck)
metaCheck - true, if meta-checks are to be performed.public int compress()
public void receive(Grounding grounding)
grounding - a Grounding generator.