Class MultiOpTests
java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ObjectClassRunner
org.identityconnectors.contract.test.MultiOpTests
Tests which use many APIOperations to do the test scenario
- Author:
- Tomas Knappek, Zdenek Louzensky
-
Field Summary
Fields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet
<Class<? extends APIOperation>> Ask the subclasses for theAPIOperation
.Gets Test namevoid
testDisableDateOpAttribute
(ObjectClass objectClass) Tests DISABLE_DATE attribute contractvoid
testEnableDateOpAttribute
(ObjectClass objectClass) Tests ENABLE_DATE attribute contractvoid
testEnableOpAttribute
(ObjectClass objectClass) Tests ENABLE attribute contractvoid
Tests GROUPS attribute contractvoid
testLockOutOpAttribute
(ObjectClass objectClass) Tests LOCK_OUT attribute contractvoid
testPasswordChangeIntervalPredAttribute
(ObjectClass objectClass) Tests PASSWORD_CHANGE_INTERVAL attribute contractvoid
testPasswordExpirationDateOpAttribute
(ObjectClass objectClass) Tests PASSWORD_EXPIRATION_DATE attribute contractvoid
testPasswordExpiredOpAttribute
(ObjectClass objectClass) Tests PASSWORD_EXPIRED attribute contractprotected void
testRun
(ObjectClass objectClass) Scenario test - test positive cases.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 Details
-
TEST_NAME
- See Also:
-
-
Constructor Details
-
MultiOpTests
public MultiOpTests()
-
-
Method Details
-
testRun
Scenario test - test positive cases. This method will be called configured number of times Test assumes that Schema,Create,Search and Delete are supported operations.- Specified by:
testRun
in classObjectClassRunner
-
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
-
getTestName
Gets Test name- Specified by:
getTestName
in classObjectClassRunner
- Returns:
- Test Name
-
testEnableOpAttribute
@ParameterizedTest @MethodSource("objectClasses") public void testEnableOpAttribute(ObjectClass objectClass) Tests ENABLE attribute contract -
testEnableDateOpAttribute
@ParameterizedTest @MethodSource("objectClasses") public void testEnableDateOpAttribute(ObjectClass objectClass) Tests ENABLE_DATE attribute contract -
testDisableDateOpAttribute
@ParameterizedTest @MethodSource("objectClasses") public void testDisableDateOpAttribute(ObjectClass objectClass) Tests DISABLE_DATE attribute contract -
testLockOutOpAttribute
@ParameterizedTest @MethodSource("objectClasses") public void testLockOutOpAttribute(ObjectClass objectClass) Tests LOCK_OUT attribute contract -
testPasswordExpirationDateOpAttribute
@ParameterizedTest @MethodSource("objectClasses") public void testPasswordExpirationDateOpAttribute(ObjectClass objectClass) Tests PASSWORD_EXPIRATION_DATE attribute contract -
testPasswordExpiredOpAttribute
@ParameterizedTest @MethodSource("objectClasses") public void testPasswordExpiredOpAttribute(ObjectClass objectClass) Tests PASSWORD_EXPIRED attribute contract -
testPasswordChangeIntervalPredAttribute
@ParameterizedTest @MethodSource("objectClasses") public void testPasswordChangeIntervalPredAttribute(ObjectClass objectClass) Tests PASSWORD_CHANGE_INTERVAL attribute contract -
testGroupsPredAttribute
@Test public void testGroupsPredAttribute()Tests GROUPS attribute contract
-