public class SyncApiOpTests extends ObjectClassRunner
SyncApiOp
.Modifier and Type | Field and Description |
---|---|
static String |
MODIFIED |
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR
Constructor and Description |
---|
SyncApiOpTests() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
canSyncAfterOp(Class<? extends APIOperation> operation)
Returns true if tests are configured to test connector's sync after specified operation.
|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation . |
String |
getTestName()
Gets Test name
|
void |
testLatestSyncToken(ObjectClass objectClass)
Tests that
SyncApiOp.getLatestSyncToken(ObjectClass) returns really the latest sync token which is
available. |
protected void |
testRun(ObjectClass objectClass)
This method will be called configured number of times
|
void |
testSyncWithoutAttrsToGet(ObjectClass objectClass)
Test Sync without attrsToGet.
|
getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, objectClasses, testContract
dispose, getConnectorFacade, getDataProvider, init
public static final String TEST_NAME
public static final String MODIFIED
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 testSyncWithoutAttrsToGet(ObjectClass objectClass)
@ParameterizedTest @MethodSource(value="objectClasses") public void testLatestSyncToken(ObjectClass objectClass)
SyncApiOp.getLatestSyncToken(ObjectClass)
returns really the latest sync token which is
available.public String getTestName()
getTestName
in class ObjectClassRunner
protected static boolean canSyncAfterOp(Class<? extends APIOperation> operation)
Copyright © 2022. All rights reserved.