public class DeleteApiOpTests extends ObjectClassRunner
DeleteApiOp| Modifier and Type | Field and Description |
|---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR| Constructor and Description |
|---|
DeleteApiOpTests() |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation. |
String |
getTestName()
Gets Test name
|
void |
testDeleteThrowUnknownUid(ObjectClass objectClass)
Tests that delete throws
UnknownUidException when object is deleted for the second time. |
protected void |
testRun(ObjectClass objectClass)
This method will be called configured number of times
|
getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, objectClasses, testContractdispose, getConnectorFacade, getDataProvider, initpublic 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 ContractTestBaseprotected void testRun(ObjectClass objectClass)
testRun in class ObjectClassRunner@ParameterizedTest @MethodSource(value="objectClasses") public void testDeleteThrowUnknownUid(ObjectClass objectClass)
UnknownUidException when object is deleted for the second time.public String getTestName()
getTestName in class ObjectClassRunnerCopyright © 2022. All rights reserved.