Class ScriptOnResourceApiOpTests

java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ScriptOnResourceApiOpTests

public class ScriptOnResourceApiOpTests extends ContractTestBase
Contract test of ScriptOnResourceApiOp operation.
Author:
Zdenek Louzensky
  • Field Details

  • Constructor Details

    • ScriptOnResourceApiOpTests

      public ScriptOnResourceApiOpTests()
  • Method Details

    • 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
    • testRunScript

      @Test public void testRunScript()
      Tests running a script with correct values from property file.
    • testRunScriptFailUnknownLanguage

      @Test public void testRunScriptFailUnknownLanguage()
      Tests running a script with unknown language.
    • testRunScriptFailEmptyScriptText

      @Test public void testRunScriptFailEmptyScriptText()
      Tests running a script with empty script text.
    • getOperationOptionsByOp

      public OperationOptions getOperationOptionsByOp(ObjectClass objectClass, Class<? extends APIOperation> clazz)
      Description copied from class: ContractTestBase
      Gets OperationOptions suitable for specified operation. Should be used in all tests requiring OperationOptions unless it's special case.
      Overrides:
      getOperationOptionsByOp in class ContractTestBase
      Returns:
      OperationOptions