Class TestApiOpTests

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

public class TestApiOpTests extends ContractTestBase
Contract test of TestApiOp. Positive test for test() is performed everytime connector facade is created and connector supports the operation. Test uses the same configuration as ValidateApiOpTest. Currently there is not ability in API to test contract in case connection is lost.
  • Field Details

  • Constructor Details

    • TestApiOpTests

      public TestApiOpTests()
  • Method Details

    • testTestFail

      @Test public void testTestFail()
      Tests test() with configuration that should NOT be correct. Expects a RuntimeException to be thrown.
    • 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