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, testContract
dispose, getConnectorFacade, getDataProvider, init
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
@ParameterizedTest @MethodSource(value="objectClasses") public void testDeleteThrowUnknownUid(ObjectClass objectClass)
UnknownUidException
when object is deleted for the second time.public String getTestName()
getTestName
in class ObjectClassRunner
Copyright © 2022. All rights reserved.