public abstract class QueryOperationTest extends OperationTest
OperationType.QUERY
operations with ConnectorTester
.EXPECTED_RESULT_COUNT
connectorTester, testContext
Modifier | Constructor and Description |
---|---|
protected |
QueryOperationTest(String objectTypeId,
QueryFilter queryFilter)
Creates an instance of an operation test.
|
protected |
QueryOperationTest(String objectTypeId,
QueryFilter queryFilter,
OptionalTestInput optionalTestInput)
Creates an instance of an operation test.
|
Modifier and Type | Method and Description |
---|---|
protected List<SimpleOperationResult> |
executeOperation()
This method should perform the actual operation being tested
|
afterOperation, afterOperation, prepareForOperation, testOperation
browseProfile, browseTypes, clearObjectDefinitionCache, getBrowseContext, getConnectorTestContext, getOperationContext, setupConnectorTester
protected QueryOperationTest(String objectTypeId, QueryFilter queryFilter)
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 testqueryFilter
- query filter to be used as input to the operationprotected QueryOperationTest(String objectTypeId, QueryFilter queryFilter, 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 testqueryFilter
- query filter to be used as input to the operationoptionalTestInput
- optional input for the testprotected List<SimpleOperationResult> executeOperation()
OperationTest
executeOperation
in class OperationTest
List
of SimpleOperationResult
representing the result of the operation