junitx.ddtunit.data
Class TestDataSet

java.lang.Object
  extended by junitx.ddtunit.data.DataSet
      extended by junitx.ddtunit.data.TestDataSet
All Implemented Interfaces:
IDataSet

public class TestDataSet
extends DataSet

Class containing data processed under xml tag test

Author:
jg

Field Summary
 
Fields inherited from class junitx.ddtunit.data.DataSet
objectMap
 
Constructor Summary
TestDataSet(String setId, IDataSet parent)
           
 
Method Summary
 AssertObject getAssert(String assertId)
           
 AssertObject getAssert(String assertId, String assertType)
           
 TypedObjectMap getAssertMap()
           
 void putAssert(String id, AssertObject asserter)
           
 int size()
          Retrieve number of sub datasets
 
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

TestDataSet

public TestDataSet(String setId,
                   IDataSet parent)
Parameters:
setId -
Method Detail

putAssert

public void putAssert(String id,
                      AssertObject asserter)

getAssert

public AssertObject getAssert(String assertId)

getAssert

public AssertObject getAssert(String assertId,
                              String assertType)

getAssertMap

public TypedObjectMap getAssertMap()

size

public int size()
Description copied from interface: IDataSet
Retrieve number of sub datasets

Specified by:
size in interface IDataSet
Overrides:
size in class DataSet
Returns:
count of sub datasets


Copyright © 2004-2011. All Rights Reserved.