Class SearchApiOpTests
java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ObjectClassRunner
org.identityconnectors.contract.test.SearchApiOpTests
Contract test of
SearchApiOp
.-
Field Summary
Fields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
Returns true if tests are configured to enable case insensitive teststestCaseInsensitiveSearch(ObjectClass)
.protected static boolean
Returns true if tests should compare already existing objects by uid only.Set
<Class<? extends APIOperation>> Ask the subclasses for theAPIOperation
.Gets Test namevoid
testCaseInsensitiveSearch
(ObjectClass objectClass) Test case insensitive search for UID attribute.protected void
testRun
(ObjectClass objectClass) This method will be called configured number of timesvoid
testSearchWithoutAttrsToGet
(ObjectClass objectClass) Test Search without specified OperationOptions attrsToGet which is the default for all other tests.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
-
SearchApiOpTests
public SearchApiOpTests()
-
-
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
-
testRun
This method will be called configured number of times- Specified by:
testRun
in classObjectClassRunner
-
testSearchWithoutAttrsToGet
@ParameterizedTest @MethodSource("objectClasses") public void testSearchWithoutAttrsToGet(ObjectClass objectClass) Test Search without specified OperationOptions attrsToGet which is the default for all other tests. All the other tests contain explicit attrsToGet. -
getTestName
Gets Test name- Specified by:
getTestName
in classObjectClassRunner
- Returns:
- Test Name
-
testCaseInsensitiveSearch
@ParameterizedTest @MethodSource("objectClasses") public void testCaseInsensitiveSearch(ObjectClass objectClass) Test case insensitive search for UID attribute. There is twice Search performed, once with changed case. The results should be identical. -
canSearchCaseInsensitive
protected static boolean canSearchCaseInsensitive()Returns true if tests are configured to enable case insensitive tests
testCaseInsensitiveSearch(ObjectClass)
.Returns true if tests are configured to test connector's sync after specified operation. Some connectors implement sync but are not capable to sync all changes' types.
-
compareExistingObjectsByUidOnly
protected static boolean compareExistingObjectsByUidOnly()Returns true if tests should compare already existing objects by uid only.
-