Class TestApiOpTests
java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.TestApiOpTests
Contract test of
TestApiOp
. Positive test for test() is performed
everytime connector facade is created and connector supports the operation.
Test uses the same configuration as ValidateApiOpTest.
Currently there is not ability in API to test contract in case connection is lost.-
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 test() with configuration that should NOT be correct.Methods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp, init
-
Field Details
-
TEST_NAME
- See Also:
-
-
Constructor Details
-
TestApiOpTests
public TestApiOpTests()
-
-
Method Details
-
testTestFail
@Test public void testTestFail()Tests test() with configuration that should NOT be correct. Expects a RuntimeException to be thrown. -
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
-