public class SearchApiOpTests extends ObjectClassRunner
SearchApiOp
.Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR
Constructor and Description |
---|
SearchApiOpTests() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
canSearchCaseInsensitive()
Returns true if tests are configured to enable case insensitive tests
testCaseInsensitiveSearch(ObjectClass) . |
protected static boolean |
compareExistingObjectsByUidOnly()
Returns true if tests should compare already existing objects by uid only.
|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation . |
String |
getTestName()
Gets Test name
|
void |
testCaseInsensitiveSearch(ObjectClass objectClass)
Test case insensitive search for UID attribute.
|
protected void |
testRun(ObjectClass objectClass)
This method will be called configured number of times
|
void |
testSearchWithoutAttrsToGet(ObjectClass objectClass)
Test Search without specified OperationOptions attrsToGet which is the default for all other tests.
|
getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, objectClasses, testContract
dispose, getConnectorFacade, getDataProvider, init
public static final String TEST_NAME
public Set<Class<? extends APIOperation>> getAPIOperations()
APIOperation
.
Method returns set of required API operations that are prerequisites for
running certain contract test.getAPIOperations
in class ContractTestBase
protected void testRun(ObjectClass objectClass)
testRun
in class ObjectClassRunner
@ParameterizedTest @MethodSource(value="objectClasses") public void testSearchWithoutAttrsToGet(ObjectClass objectClass)
public String getTestName()
getTestName
in class ObjectClassRunner
@ParameterizedTest @MethodSource(value="objectClasses") public void testCaseInsensitiveSearch(ObjectClass objectClass)
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.
protected static boolean compareExistingObjectsByUidOnly()
Copyright © 2022. All rights reserved.