|
||||||||||
| 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.UpdateApiOpTests
public class UpdateApiOpTests
Contract test of UpdateApiOp
| Field Summary | |
|---|---|
protected static String |
MODIFIED
|
| Fields inherited from class org.identityconnectors.contract.test.ContractTestBase |
|---|
_connFacade |
| Constructor Summary | |
|---|---|
UpdateApiOpTests(ObjectClass objectClass)
|
|
| Method Summary | |
|---|---|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the APIOperation. |
protected static Collection<String> |
getSkippedAttributesForUpdateToNullValue()
|
String |
getTestName()
Gets Test name |
protected static Set<Attribute> |
mergeAttributeSets(Set<Attribute> attrSet1,
Set<Attribute> attrSet2)
Returns new attribute set which contains all attributes from both sets. |
void |
testRun()
This method will be called configured number of times |
void |
testUpdateFailUnsupportedAttribute()
Tests update method with invalid Attribute, RuntimeException is expected connector developers can set the value of unsupported attribute using test property: testsuite.Create.unsupportedAttributeName |
void |
testUpdateToNull()
The test verifies that connector doesn't throw NullPointerException or some other unexpected behavior when passed null as attribute value. |
void |
testUpdateToSameAttributes()
Tests create of two different objects and then update one to the same attributes as the second. |
| 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 |
| Field Detail |
|---|
protected static final String MODIFIED
| Constructor Detail |
|---|
public UpdateApiOpTests(ObjectClass objectClass)
| Method Detail |
|---|
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 testUpdateToNull()
public void testUpdateToSameAttributes()
public String getTestName()
ObjectClassRunner
getTestName in class ObjectClassRunnerpublic void testUpdateFailUnsupportedAttribute()
testsuite.Create.unsupportedAttributeName
protected static Set<Attribute> mergeAttributeSets(Set<Attribute> attrSet1,
Set<Attribute> attrSet2)
protected static Collection<String> getSkippedAttributesForUpdateToNullValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||