org.identityconnectors.contract.test
Class DeleteApiOpTests

java.lang.Object
  extended by org.identityconnectors.contract.test.ContractTestBase
      extended by org.identityconnectors.contract.test.ObjectClassRunner
          extended by org.identityconnectors.contract.test.DeleteApiOpTests

public class DeleteApiOpTests
extends ObjectClassRunner

Contract test of DeleteApiOp


Field Summary
 
Fields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade
 
Constructor Summary
DeleteApiOpTests(ObjectClass oclass)
           
 
Method Summary
 Set<Class<? extends APIOperation>> getAPIOperations()
          Ask the subclasses for the APIOperation.
 String getTestName()
          Gets Test name
 void testDeleteThrowUnknownUid()
          Tests that delete throws UnknownUidException when object is deleted for the second time.
 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

DeleteApiOpTests

public DeleteApiOpTests(ObjectClass oclass)
Method Detail

getAPIOperations

public Set<Class<? extends APIOperation>> getAPIOperations()
Ask the subclasses for the APIOperation. Method returns set of required API operations that are prerequisites for running certain contract test.

Specified by:
getAPIOperations in class ContractTestBase

testRun

public void testRun()
This method will be called configured number of times

Specified by:
testRun in class ObjectClassRunner

testDeleteThrowUnknownUid

public void testDeleteThrowUnknownUid()
Tests that delete throws UnknownUidException when object is deleted for the second time.


getTestName

public String getTestName()
Gets Test name

Specified by:
getTestName in class ObjectClassRunner
Returns:
Test Name


Copyright © 2012. All Rights Reserved.