public class SearchApiOpTests extends ObjectClassRunner
SearchApiOp
Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
dataProvider
_connFacade, LOG_SEPARATOR, OBJECTCLASS_DATAPROVIDER, TESTSUITE
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.
|
data, dispose, getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, testContract
BeforeClass, getConnectorFacade, getDataProvider
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
public void testSearchWithoutAttrsToGet(ObjectClass objectClass)
public String getTestName()
getTestName
in class ObjectClassRunner
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 © 2019. All rights reserved.