public class CreateApiOpTests extends ObjectClassRunner
CreateApiOp operation._connFacade| Constructor and Description |
|---|
CreateApiOpTests(ObjectClass oclass) |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation. |
String |
getTestName()
Gets Test name
|
void |
testCreateFailUnsupportedAttribute()
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()
Tests create twice with the same attributes.
|
void |
testRun()
This method will be called configured number of times
|
data, dispose, getObjectClass, getObjectClassInfo, getOperationOptionsByOp, getSchema, getSupportedObjectClass, init, isObjectClassSupported, testContractgetConnectorFacade, getDataProviderpublic CreateApiOpTests(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 ContractTestBasepublic void testRun()
testRun in class ObjectClassRunnerpublic void testCreateFailUnsupportedAttribute()
testsuite.Create.unsupportedAttributeNamepublic void testCreateWithSameAttributes()
public String getTestName()
getTestName in class ObjectClassRunnerCopyright © 2013. All Rights Reserved.