|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ObjectClassRunner
public abstract class ObjectClassRunner
Simple base class that will run through all the ObjectClasss.
| Field Summary |
|---|
| Fields inherited from class org.identityconnectors.contract.test.ContractTestBase |
|---|
_connFacade |
| Constructor Summary | |
|---|---|
ObjectClassRunner(ObjectClass oclass)
Base class for running ObjectClass across a test. |
|
| Method Summary | |
|---|---|
static List<Object[]> |
data()
Return all the base ObjectClasss. |
void |
dispose()
Dispose the test environment, do the cleanup |
ObjectClass |
getObjectClass()
Returns object class which is currently tested. |
ObjectClassInfo |
getObjectClassInfo()
Gets ObjectClassInfo for object class returned by getSupportedObjectClass(). |
OperationOptions |
getOperationOptionsByOp(Class<? extends APIOperation> clazz)
Gets OperationOptions suitable for specified operation. |
Schema |
getSchema()
Need a schema |
ObjectClass |
getSupportedObjectClass()
Always returns supported object class by connector operation. |
abstract String |
getTestName()
Gets Test name |
void |
init()
Initialize the environment needed to run the test |
boolean |
isObjectClassSupported()
Identifier which tells if the tested ObjectClass (get by getObjectClass()
is supported by connector or not, supported means that the ObjectClass is included in the Schema |
void |
testContract()
Main contract test entry point, it calls testRun() method
in configured number of iterations, runs the iteration only if the
operation is supported by the connector |
abstract void |
testRun()
This method will be called configured number of times |
| Methods inherited from class org.identityconnectors.contract.test.ContractTestBase |
|---|
getAPIOperations, getConnectorFacade, getDataProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectClassRunner(ObjectClass oclass)
ObjectClass across a test.
| Method Detail |
|---|
public void init()
init in class ContractTestBasepublic void dispose()
dispose in class ContractTestBasepublic void testContract()
testRun() method
in configured number of iterations, runs the iteration only if the
operation is supported by the connector
public abstract void testRun()
public static List<Object[]> data()
ObjectClasss.
public ObjectClass getObjectClass()
public ObjectClass getSupportedObjectClass()
public Schema getSchema()
public abstract String getTestName()
public ObjectClassInfo getObjectClassInfo()
ObjectClassInfo for object class returned by getSupportedObjectClass().
ObjectClassInfopublic boolean isObjectClassSupported()
getObjectClass()
is supported by connector or not, supported means that the ObjectClass is included in the Schema
public OperationOptions getOperationOptionsByOp(Class<? extends APIOperation> clazz)
getOperationOptionsByOp in class ContractTestBaseOperationOptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||