|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ObjectClassRunner
org.identityconnectors.contract.test.AttributeTests
public class AttributeTests
Test that attributes satisfy contract.
Tests check:
| Field Summary |
|---|
| Fields inherited from class org.identityconnectors.contract.test.ContractTestBase |
|---|
_connFacade |
| Constructor Summary | |
|---|---|
AttributeTests(ObjectClass oclass)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.identityconnectors.contract.test.ObjectClassRunner |
|---|
data, dispose, getObjectClass, getObjectClassInfo, getOperationOptionsByOp, getSchema, getSupportedObjectClass, init, isObjectClassSupported, testContract |
| Methods inherited from class org.identityconnectors.contract.test.ContractTestBase |
|---|
getConnectorFacade, getDataProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeTests(ObjectClass oclass)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||