public abstract class TestData extends XMLCommand
| Modifier and Type | Field and Description |
|---|---|
static int |
FIRST_LEVEL_CACHE |
static int |
NO_CACHE |
static int |
SECOND_LEVEL_CACHE |
| Constructor and Description |
|---|
TestData(org.jdom.Element testDataElem,
UserInfo userInfo,
psdi.unittest.TestDataSource.TestDataSet dataSet,
java.util.Map<java.lang.String,MboRemote> dependsCache) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCacheLevel() |
byte[] |
getLoadResponse() |
byte[] |
getTestDataAsBytes() |
boolean |
isReloadOnDelete() |
boolean |
isResolveToMbos() |
MboRemote |
load()
This method should be overridden by different format of TestData's.
|
MboRemote |
loadMboSet()
This method should be overridden by different format of TestData's.
|
asBoolean, asBoolean, asDate, asDouble, asFloat, asInteger, asInteger, asLong, getContextParam, getFlag, isContextParam, toStringpublic static final int NO_CACHE
public static final int FIRST_LEVEL_CACHE
public static final int SECOND_LEVEL_CACHE
public TestData(org.jdom.Element testDataElem,
UserInfo userInfo,
psdi.unittest.TestDataSource.TestDataSet dataSet,
java.util.Map<java.lang.String,MboRemote> dependsCache)
throws TestSetupException,
AssertionFailedException
testDataElem - userInfo - dataSet - TestSetupExceptionAssertionFailedExceptionpublic boolean isReloadOnDelete()
public boolean isResolveToMbos()
public int getCacheLevel()
public MboRemote loadMboSet() throws MXException, java.rmi.RemoteException, TestSetupException
MXExceptionjava.rmi.RemoteExceptionTestSetupExceptionpublic MboRemote load() throws MXException, java.rmi.RemoteException, TestSetupException
MXExceptionjava.rmi.RemoteExceptionTestSetupExceptionpublic byte[] getLoadResponse()
public byte[] getTestDataAsBytes()
throws MXException,
TestSetupException
MXExceptionTestSetupException