public class CreateApiOpTests extends ObjectClassRunner
CreateApiOp operation.| Modifier and Type | Field and Description |
|---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR| Constructor and Description |
|---|
CreateApiOpTests() |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation. |
String |
getTestName()
Gets Test name
|
void |
testCreateFailUnsupportedAttribute(ObjectClass objectClass)
Tests create method with invalid Attribute, RuntimeException is expected
connector developers can set the value of unsupported attribute
using test property:
testsuite.Create.unsupportedAttributeName |
void |
testCreateWithSameAttributes(ObjectClass objectClass)
Tests create twice with the same attributes.
|
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 testCreateFailUnsupportedAttribute(ObjectClass objectClass)
testsuite.Create.unsupportedAttributeName@ParameterizedTest @MethodSource(value="objectClasses") public void testCreateWithSameAttributes(ObjectClass objectClass)
public String getTestName()
getTestName in class ObjectClassRunnerCopyright © 2022. All rights reserved.