java.lang.Object
dev.metaschema.model.testing.testsuite.TestSuite
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Test Suite",
description="The root element containing a collection of test collections.",
name="test-suite",
moduleClass=MetaschemaTestSuiteModule.class,
rootName="test-suite")
public class TestSuite
extends Object
implements dev.metaschema.core.model.IBoundObject
The root element containing a collection of test collections.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newTestCollectionitem to the underlying collection.dev.metaschema.core.model.IMetaschemaDataGet the test Collection.booleanRemove the first matchingTestCollectionitem from the underlying collection.voidsetTestCollections(List<TestCollection> value) Set the test Collection.toString()
-
Constructor Details
-
TestSuite
public TestSuite()Constructs a newdev.metaschema.model.testing.testsuite.TestSuiteinstance with no metadata. -
TestSuite
Constructs a newdev.metaschema.model.testing.testsuite.TestSuiteinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getTestCollections
Get the test Collection.A collection of test scenarios located at a specific path.
- Returns:
- the test-collection value
-
setTestCollections
Set the test Collection.A collection of test scenarios located at a specific path.
- Parameters:
value- the test-collection value to set
-
addTestCollection
Add a newTestCollectionitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeTestCollection
Remove the first matchingTestCollectionitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-