Class UpdateDeltaApiOpTests
- java.lang.Object
-
- org.identityconnectors.contract.test.ContractTestBase
-
- org.identityconnectors.contract.test.ObjectClassRunner
-
- org.identityconnectors.contract.test.UpdateDeltaApiOpTests
-
public class UpdateDeltaApiOpTests extends ObjectClassRunner
Contract test ofUpdateDeltaApiOp
.
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
MODIFIED
static String
TEST_NAME
-
Fields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description UpdateDeltaApiOpTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Class<? extends APIOperation>>
getAPIOperations()
Ask the subclasses for theAPIOperation
.String
getTestName()
Gets Test nameprotected void
testRun(ObjectClass objectClass)
This method will be called configured number of times-
Methods inherited from class org.identityconnectors.contract.test.ObjectClassRunner
getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, objectClasses, testContract
-
Methods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, init
-
-
-
-
Field Detail
-
MODIFIED
protected static final String MODIFIED
- See Also:
- Constant Field Values
-
TEST_NAME
public static final String TEST_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAPIOperations
public Set<Class<? extends APIOperation>> getAPIOperations()
Ask the subclasses for theAPIOperation
. Method returns set of required API operations that are prerequisites for running certain contract test.- Specified by:
getAPIOperations
in classContractTestBase
-
testRun
protected void testRun(ObjectClass objectClass)
This method will be called configured number of times This tests an proper updating of attributes. All new attributes' values in given set for update are valid. Test procedure: 1) Create object. 2) Get this created object + fill it with values 3) Get a set of new values for updateable attributes - replacing all attributes and add new values 4) Update uid and replaces values and add new values of attributes 5) Verify if the object has new values of attributes 6) Remove added values of attributes 7) Verify if the object hasn't new values of attributes 8) ---- JUMPS TO FINALLY SECTION ---- see in TODOs- Specified by:
testRun
in classObjectClassRunner
-
getTestName
public String getTestName()
Description copied from class:ObjectClassRunner
Gets Test name- Specified by:
getTestName
in classObjectClassRunner
- Returns:
- Test Name
-
-