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, toString
public 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
- TestSetupException
AssertionFailedException
public boolean isReloadOnDelete()
public boolean isResolveToMbos()
public int getCacheLevel()
public MboRemote loadMboSet() throws MXException, java.rmi.RemoteException, TestSetupException
MXException
java.rmi.RemoteException
TestSetupException
public MboRemote load() throws MXException, java.rmi.RemoteException, TestSetupException
MXException
java.rmi.RemoteException
TestSetupException
public byte[] getLoadResponse()
public byte[] getTestDataAsBytes() throws MXException, TestSetupException
MXException
TestSetupException