Class SchemaApiOpTests
- java.lang.Object
-
- org.identityconnectors.contract.test.ContractTestBase
-
- org.identityconnectors.contract.test.SchemaApiOpTests
-
public class SchemaApiOpTests extends ContractTestBase
Contract test ofSchemaApiOp
operation.- Author:
- Zdenek Louzensky
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEST_NAME
-
Fields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description SchemaApiOpTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Class<? extends APIOperation>>
getAPIOperations()
Ask the subclasses for theAPIOperation
.void
testNamePresent()
Tests that every object class containsName
among its attributes.void
testOpSupportedByAllOClasses()
Test ensures that following operations are supported by all object classes when supported at all: ScriptOnConnectorApiOp, ScriptOnResourceApiOp, TestApiOp, ValidateApiOp.void
testSchemaExpected()
Tests that returned schema by connector is the same as expected schema to be returned.void
testUidNotPresent()
Tests that the schema doesn't containUid
-
Methods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp, init
-
-
-
-
Field Detail
-
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
-
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.
-
-