Class CreateApiOpTests
java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ObjectClassRunner
org.identityconnectors.contract.test.CreateApiOpTests
Contract test of
CreateApiOp operation.-
Field Summary
FieldsFields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<Class<? extends APIOperation>> Ask the subclasses for theAPIOperation.Gets Test namevoidtestCreateFailUnsupportedAttribute(ObjectClass objectClass) Tests create method with invalid Attribute, RuntimeException is expected connector developers can set the value of unsupported attribute using test property:testsuite.Create.unsupportedAttributeNamevoidtestCreateWithSameAttributes(ObjectClass objectClass) Tests create twice with the same attributes.protected voidtestRun(ObjectClass objectClass) This method will be called configured number of timesMethods 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:
-
-
Constructor Details
-
CreateApiOpTests
public CreateApiOpTests()
-
-
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
-
testCreateFailUnsupportedAttribute
@ParameterizedTest @MethodSource("objectClasses") public void testCreateFailUnsupportedAttribute(ObjectClass objectClass) Tests create method with invalid Attribute, RuntimeException is expected connector developers can set the value of unsupported attribute using test property:testsuite.Create.unsupportedAttributeName -
testCreateWithSameAttributes
@ParameterizedTest @MethodSource("objectClasses") public void testCreateWithSameAttributes(ObjectClass objectClass) Tests create twice with the same attributes. It should return different Uids. -
getTestName
Gets Test name- Specified by:
getTestNamein classObjectClassRunner- Returns:
- Test Name
-