Class SyncApiOpTests
java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ObjectClassRunner
org.identityconnectors.contract.test.SyncApiOpTests
Contract test of
SyncApiOp.-
Field Summary
FieldsFields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleancanSyncAfterOp(Class<? extends APIOperation> operation) Returns true if tests are configured to test connector's sync after specified operation.Set<Class<? extends APIOperation>> Ask the subclasses for theAPIOperation.Gets Test namevoidtestLatestSyncToken(ObjectClass objectClass) Tests thatSyncApiOp.getLatestSyncToken(ObjectClass)returns really the latest sync token which is available.protected voidtestRun(ObjectClass objectClass) This method will be called configured number of timesvoidtestSyncWithoutAttrsToGet(ObjectClass objectClass) Test Sync without attrsToGet.Methods inherited from class org.identityconnectors.contract.test.ObjectClassRunner
getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, objectClasses, testContractMethods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, init
-
Field Details
-
TEST_NAME
- See Also:
-
MODIFIED
- See Also:
-
-
Constructor Details
-
SyncApiOpTests
public SyncApiOpTests()
-
-
Method Details
-
getAPIOperations
Ask the subclasses for theAPIOperation. Method returns set of required API operations that are prerequisites for running certain contract test.- Specified by:
getAPIOperationsin classContractTestBase
-
testRun
This method will be called configured number of times- Specified by:
testRunin classObjectClassRunner
-
testSyncWithoutAttrsToGet
@ParameterizedTest @MethodSource("objectClasses") public void testSyncWithoutAttrsToGet(ObjectClass objectClass) Test Sync without attrsToGet. -
testLatestSyncToken
@ParameterizedTest @MethodSource("objectClasses") public void testLatestSyncToken(ObjectClass objectClass) Tests thatSyncApiOp.getLatestSyncToken(ObjectClass)returns really the latest sync token which is available. -
getTestName
Gets Test name- Specified by:
getTestNamein classObjectClassRunner- Returns:
- Test Name
-
canSyncAfterOp
Returns true if tests are configured to test connector's sync after specified operation. Some connectors implement sync but are not capable to sync all changes' types.
-