Interface TestActionContainer

    • Method Detail

      • getActions

        List<TestAction> getActions()
        Get the embedded test actions within this container.
      • getActionCount

        long getActionCount()
        Get the number of embedded actions in this container.
        Returns:
      • addTestActions

        TestActionContainer addTestActions​(TestAction... action)
        Adds one to many test actions to the nested action list.
        Parameters:
        action -
      • getActionIndex

        int getActionIndex​(TestAction action)
        Returns the index in the action chain for provided action instance.
        Returns:
        the action index in the action list
      • setActiveAction

        void setActiveAction​(TestAction action)
        Sets the current active action executed.
        Parameters:
        action -
      • setExecutedAction

        void setExecutedAction​(TestAction action)
        Sets the last action that has been executed.
        Parameters:
        action -
      • getActiveAction

        TestAction getActiveAction()
        Get the action that was executed most recently.
        Returns:
      • getExecutedActions

        List<TestAction> getExecutedActions()
        Gets all nested actions that have been executed in the container.
        Returns:
      • getTestAction

        TestAction getTestAction​(int index)
        Get the test action with given index in list.
        Parameters:
        index -
        Returns: