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