public class AttributeTests extends ObjectClassRunner
Test that attributes satisfy contract.
Tests check:_connFacade| Constructor and Description |
|---|
AttributeTests(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 |
testNonReadable()
Non readable attributes should _not_ be returned by default
API operations for acquiring attributes:
GetApiOp
|
void |
testNonUpdateable()
Update of non-updateable attribute is not acceptable.
|
void |
testRequirableIsCreatable()
Required attributes must be creatable.
|
void |
testReturnedByDefault()
Not returned by default attributes should not be returned, unless
specified in attributesToGet (
OperationOptions)
API operations for acquiring attributes:
GetApiOp
SearchApiOp
SyncApiOp
|
void |
testRun()
This method will be called configured number of times
|
data, dispose, getObjectClass, getObjectClassInfo, getOperationOptionsByOp, getSchema, getSupportedObjectClass, init, isObjectClassSupported, testContractgetConnectorFacade, getDataProviderpublic AttributeTests(ObjectClass oclass)
public Set<Class<? extends APIOperation>> getAPIOperations()
ContractTestBaseAPIOperation.
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 String getTestName()
getTestName in class ObjectClassRunnerpublic void testNonReadable()
Non readable attributes should _not_ be returned by default
API operations for acquiring attributes: GetApiOp
public void testReturnedByDefault()
Not returned by default attributes should not be returned, unless
specified in attributesToGet (OperationOptions)
API operations for acquiring attributes:
public void testNonUpdateable()
API operations for acquiring attributes: GetApiOp
public void testRequirableIsCreatable()
Copyright © 2013. All Rights Reserved.