| java.lang.Object junitx.ddtunit.data.DataSet junitx.ddtunit.data.TestClusterDataSet
TestClusterDataSet | public class TestClusterDataSet extends DataSet (Code) | | author: jg |
Method Summary | |
public boolean | containsTest(String groupId, String testId) | public AssertObject | getAssert(String groupId, String testId, String assertId) | public AssertObject | getAssert(String groupId, String testId, String assertId, String assertType) | public TypedObjectMap | getAssertMap(String groupId, String testId) | public TypedObject | getObject(String groupId, String testId, String objectId) | public TypedObject | getObject(String groupId, String testId, String objectId, String objectType) | public List<String> | getOrderedTestKeys(String groupName) | public TestDataSet | getTestDataSet(String groupId, String testId) Retrieve DataSet of specified group and test if exists. | public Iterator | getTestDataSets(String groupId) | public Iterator | getTestEntries(String groupName) | public int | size() | public int | size(String group) |
TestClusterDataSet | public TestClusterDataSet(String setId, IDataSet parent)(Code) | | Parameters: setId - under which dataset can be retrieved |
containsTest | public boolean containsTest(String groupId, String testId)(Code) | | Check if test exists for specified group
Parameters: groupId - name to check Parameters: testId - name to check true if test data is found |
getAssert | public AssertObject getAssert(String groupId, String testId, String assertId)(Code) | | Retrieve assert object of requested group and test
Parameters: groupId - to search Parameters: testId - to search Parameters: assertId - to retrieve AssertObject |
getAssert | public AssertObject getAssert(String groupId, String testId, String assertId, String assertType)(Code) | | Retrieve assert object of requested group and test
Parameters: groupId - to search Parameters: testId - to search Parameters: assertId - to search Parameters: assertType - to search AssertObject |
getObject | public TypedObject getObject(String groupId, String testId, String objectId)(Code) | | Retrieve object of specidied testdata under testgroup
Parameters: groupId - to search Parameters: testId - to search Parameters: objectId - to retrieve TypedObject of requested object |
getObject | public TypedObject getObject(String groupId, String testId, String objectId, String objectType)(Code) | | Retrieve object of requested testdata under testgroup
Parameters: groupId - to search Parameters: testId - to search Parameters: objectId - to retrieve Parameters: objectType - of object to retrieve TypedObject requested |
getTestDataSet | public TestDataSet getTestDataSet(String groupId, String testId)(Code) | | Retrieve DataSet of specified group and test if exists. Otherwise
null is returned.
Parameters: groupId - of DataSet to select Parameters: testId - of test under group of DataSet to select DataSet of specified groupId/testId or null if no DataSet wasfound. |
getTestDataSets | public Iterator getTestDataSets(String groupId)(Code) | | Get iterator on collection of all tests contained in specified test group
Parameters: groupId - of test group to lookup Iterator of TestDatSets identified by groupId |
getTestEntries | public Iterator getTestEntries(String groupName)(Code) | | Get iterator of all tests contained in specified test group
Parameters: groupName - of test group to lookup Iterator or null if no entry is found |
size | public int size()(Code) | | number of tests in all groups of this cluster |
size | public int size(String group)(Code) | | number of testgroup containing testdata |
|
|