public class SyncApiOpTests extends ObjectClassRunner
SyncApiOp
Modifier and Type | Field and Description |
---|---|
static String |
MODIFIED |
_connFacade
Constructor and Description |
---|
SyncApiOpTests(ObjectClass oclass) |
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()
Tests that
SyncApiOp#getLatestSyncToken() returns really the latest sync token which is available. |
void |
testRun()
This method will be called configured number of times
|
void |
testSyncWithoutAttrsToGet()
Test Sync without attrsToGet.
|
data, dispose, getObjectClass, getObjectClassInfo, getOperationOptionsByOp, getSchema, getSupportedObjectClass, init, isObjectClassSupported, testContract
getConnectorFacade, getDataProvider
public static final String MODIFIED
public SyncApiOpTests(ObjectClass oclass)
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
public void testRun()
testRun
in class ObjectClassRunner
public void testSyncWithoutAttrsToGet()
public void testLatestSyncToken()
SyncApiOp#getLatestSyncToken()
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 © 2013. All Rights Reserved.