Class SchemaApiOpTests
java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.SchemaApiOpTests
Contract test of
SchemaApiOp
operation.- Author:
- 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
.void
Tests that every object class containsName
among its attributes.void
Test ensures that following operations are supported by all object classes when supported at all: ScriptOnConnectorApiOp, ScriptOnResourceApiOp, TestApiOp, ValidateApiOp.void
Tests that returned schema by connector is the same as expected schema to be returned.void
Tests that the schema doesn't containUid
Methods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp, init
-
Field Details
-
TEST_NAME
- See Also:
-
-
Constructor Details
-
SchemaApiOpTests
public SchemaApiOpTests()
-
-
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:
getAPIOperations
in classContractTestBase
-
testUidNotPresent
@Test public void testUidNotPresent()Tests that the schema doesn't containUid
-
testNamePresent
@Test public void testNamePresent()Tests that every object class containsName
among its attributes. -
testOpSupportedByAllOClasses
@Test public void testOpSupportedByAllOClasses()Test ensures that following operations are supported by all object classes when supported at all: ScriptOnConnectorApiOp, ScriptOnResourceApiOp, TestApiOp, ValidateApiOp. -
testSchemaExpected
@Test public void testSchemaExpected()Tests that returned schema by connector is the same as expected schema to be returned.
-