|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junitx.ddtunit.data.DataSet junitx.ddtunit.data.TestClusterDataSet
public class TestClusterDataSet
Field Summary |
---|
Fields inherited from class junitx.ddtunit.data.DataSet |
---|
objectMap |
Constructor Summary | |
---|---|
TestClusterDataSet(String setId,
IDataSet parent)
|
Method Summary | |
---|---|
boolean |
containsTest(String groupId,
String testId)
Check if test exists for specified group |
AssertObject |
getAssert(String groupId,
String testId,
String assertId)
Retrieve assert object of requested group and test |
AssertObject |
getAssert(String groupId,
String testId,
String assertId,
String assertType)
Retrieve assert object of requested group and test |
TypedObjectMap |
getAssertMap(String groupId,
String testId)
|
TypedObject |
getObject(String groupId,
String testId,
String objectId)
Retrieve object of specidied testdata under testgroup |
TypedObject |
getObject(String groupId,
String testId,
String objectId,
String objectType)
Retrieve object of requested testdata under testgroup |
List<String> |
getOrderedTestKeys(String groupName)
|
TestDataSet |
getTestDataSet(String groupId,
String testId)
Retrieve DataSet of specified group and test if exists. |
Iterator |
getTestDataSets(String groupId)
Get iterator on collection of all tests contained in specified test group |
Iterator |
getTestEntries(String groupName)
Get iterator of all tests contained in specified test group |
int |
size()
Retrieve number of sub datasets |
int |
size(String group)
|
Methods inherited from class junitx.ddtunit.data.DataSet |
---|
containsKey, findObject, findObject, get, getId, getObject, getObject, getSubDataIterator, getSubDataValues, put, putObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestClusterDataSet(String setId, IDataSet parent)
setId
- under which dataset can be retrievedMethod Detail |
---|
public int size()
IDataSet
size
in interface IDataSet
size
in class DataSet
public int size(String group)
public boolean containsTest(String groupId, String testId)
groupId
- name to checktestId
- name to check
public TestDataSet getTestDataSet(String groupId, String testId)
groupId
- of DataSet to selecttestId
- of test under group of DataSet to select
public Iterator getTestEntries(String groupName)
groupName
- of test group to lookup
public Iterator getTestDataSets(String groupId)
groupId
- of test group to lookup
public TypedObject getObject(String groupId, String testId, String objectId)
groupId
- to searchtestId
- to searchobjectId
- to retrieve
public TypedObject getObject(String groupId, String testId, String objectId, String objectType)
groupId
- to searchtestId
- to searchobjectId
- to retrieveobjectType
- of object to retrieve
public AssertObject getAssert(String groupId, String testId, String assertId)
groupId
- to searchtestId
- to searchassertId
- to retrieve
public AssertObject getAssert(String groupId, String testId, String assertId, String assertType)
groupId
- to searchtestId
- to searchassertId
- to searchassertType
- to search
public TypedObjectMap getAssertMap(String groupId, String testId)
public List<String> getOrderedTestKeys(String groupName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |