public abstract class CreateOperationTest extends OperationTest
OperationType.CREATE operations with ConnectorTester.EXPECTED_RESULT_COUNTconnectorTester, testContext| Modifier | Constructor and Description |
|---|---|
protected |
CreateOperationTest(String objectTypeId,
InputStream input)
Creates an instance of an operation test.
|
protected |
CreateOperationTest(String objectTypeId,
InputStream input,
OptionalTestInput optionalTestInput)
Creates an instance of an operation test.
|
protected |
CreateOperationTest(String objectTypeId,
String input)
Creates an instance of an operation test.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDynamicOperationProperty(String key,
Object value)
Helper method to add dynamic operation properties to a test.
|
protected void |
addDynamicProperty(String key,
String value)
Helper method to add dynamic properties to a test.
|
protected void |
addUserDefinedProperty(String key,
String value)
Helper method to add user defined properties to a test.
|
protected List<SimpleOperationResult> |
executeOperation()
This method should perform the actual operation being tested
|
protected List<SimpleOperationResult> |
executeOperation(List<SimpleTrackedData> inputs)
This method should perform the actual operation being tested
|
afterOperation, afterOperation, prepareForOperation, testOperationbrowseProfile, browseTypes, clearObjectDefinitionCache, getBrowseContext, getConnectorTestContext, getOperationContext, setupConnectorTesterprotected CreateOperationTest(String objectTypeId, InputStream input)
Intended to be used as part of a Parameterized test but can be run as a single test instance by invoking
this constructor from the no argument constructor of the implementing class.
objectTypeId - object type id under testinput - input for the operationprotected CreateOperationTest(String objectTypeId, InputStream input, OptionalTestInput optionalTestInput)
Intended to be used as part of a Parameterized test but can be run as a single test instance by invoking
this constructor from the no argument constructor of the implementing class.
objectTypeId - object type id under testinput - input for the operationoptionalTestInput - optional input for the test (not the operation)protected CreateOperationTest(String objectTypeId, String input)
Intended to be used as part of a Parameterized test but can be run as a single test instance by invoking
this constructor from the no argument constructor of the implementing class.
objectTypeId - object type id under testinput - input for the operationprotected List<SimpleOperationResult> executeOperation(List<SimpleTrackedData> inputs)
inputs - the input to the operationList of SimpleOperationResult representing the result of the operationprotected final List<SimpleOperationResult> executeOperation()
OperationTestexecuteOperation in class OperationTestList of SimpleOperationResult representing the result of the operationprotected final void addUserDefinedProperty(String key, String value)
key - the property keyvalue - the property valueprotected final void addDynamicProperty(String key, String value)
key - the property keyvalue - the property value