public abstract class BaseTestProvider extends BaseDOFTest
DOFObject.Provider
that should be suitable
for simple tests.Modifier and Type | Class and Description |
---|---|
class |
BaseTestProvider.BaseProvider |
Modifier and Type | Field and Description |
---|---|
DOFExceptionOptions.ExceptionType |
exceptionType |
boolean |
sendexception |
DOFLOGLEVEL
SETUP_ERROR, SUCCESS, TEST_ERROR, TIMEOUT
Constructor and Description |
---|
BaseTestProvider(java.lang.String testName) |
Modifier and Type | Method and Description |
---|---|
abstract org.opendof.core.oal.DOFObject.Provider |
getProvider() |
void |
printTestOptions()
Print the command line options for this specific test.
|
void |
startProvider(org.opendof.core.oal.DOFSystem system,
org.opendof.core.oal.DOFObjectID oid,
QADOFInterface iface,
QADOFInterface... addIface)
Starts the provider.
|
void |
stop()
Stops the provider by canceling any provide operations and destroying the provider DOFObject.
|
cleanUp, logMessage, printOptions, printTestReport, run, setUp
getExitCode, parseCommandLine, report, setTestName
public boolean sendexception
public DOFExceptionOptions.ExceptionType exceptionType
public void printTestOptions()
BaseTest
printTestOptions
in class BaseDOFTest
public void startProvider(org.opendof.core.oal.DOFSystem system, org.opendof.core.oal.DOFObjectID oid, QADOFInterface iface, QADOFInterface... addIface) throws java.lang.Exception
system
- The system used to create the provider DOFObject.oid
- The OID of the provider object.iface
- The interface to provide on.addIface
- A variable number of interfaces to provide in addition to iface.java.lang.Exception
public void stop()
public abstract org.opendof.core.oal.DOFObject.Provider getProvider()