Class MultiOpTests


public class MultiOpTests extends ObjectClassRunner
Tests which use many APIOperations to do the test scenario
Author:
Tomas Knappek, Zdenek Louzensky
  • Field Details

  • Constructor Details

    • MultiOpTests

      public MultiOpTests()
  • Method Details

    • testRun

      protected void testRun(ObjectClass objectClass)
      Scenario test - test positive cases. This method will be called configured number of times Test assumes that Schema,Create,Search and Delete are supported operations.
      Specified by:
      testRun in class ObjectClassRunner
    • 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
    • getTestName

      public String getTestName()
      Gets Test name
      Specified by:
      getTestName in class ObjectClassRunner
      Returns:
      Test Name
    • testEnableOpAttribute

      @ParameterizedTest @MethodSource("objectClasses") public void testEnableOpAttribute(ObjectClass objectClass)
      Tests ENABLE attribute contract
    • testEnableDateOpAttribute

      @ParameterizedTest @MethodSource("objectClasses") public void testEnableDateOpAttribute(ObjectClass objectClass)
      Tests ENABLE_DATE attribute contract
    • testDisableDateOpAttribute

      @ParameterizedTest @MethodSource("objectClasses") public void testDisableDateOpAttribute(ObjectClass objectClass)
      Tests DISABLE_DATE attribute contract
    • testLockOutOpAttribute

      @ParameterizedTest @MethodSource("objectClasses") public void testLockOutOpAttribute(ObjectClass objectClass)
      Tests LOCK_OUT attribute contract
    • testPasswordExpirationDateOpAttribute

      @ParameterizedTest @MethodSource("objectClasses") public void testPasswordExpirationDateOpAttribute(ObjectClass objectClass)
      Tests PASSWORD_EXPIRATION_DATE attribute contract
    • testPasswordExpiredOpAttribute

      @ParameterizedTest @MethodSource("objectClasses") public void testPasswordExpiredOpAttribute(ObjectClass objectClass)
      Tests PASSWORD_EXPIRED attribute contract
    • testPasswordChangeIntervalPredAttribute

      @ParameterizedTest @MethodSource("objectClasses") public void testPasswordChangeIntervalPredAttribute(ObjectClass objectClass)
      Tests PASSWORD_CHANGE_INTERVAL attribute contract
    • testGroupsPredAttribute

      @Test public void testGroupsPredAttribute()
      Tests GROUPS attribute contract