Enum ETestCaseSetupMethod

    • Enum Constant Detail

      • CLIENT_IMPORT

        public static final ETestCaseSetupMethod CLIENT_IMPORT
        Imports a client export file (that can e.g. be created via the integration test plugin).
      • NEW_CLIENT

        public static final ETestCaseSetupMethod NEW_CLIENT
        Creates a new client with all default entities as if a new client had been created via the UI.
      • NONE

        public static final ETestCaseSetupMethod NONE
        No setup is required (e.g. when testing the system). Removes all clients afterwards.
      • PROJECT_IMPORT

        public static final ETestCaseSetupMethod PROJECT_IMPORT
        Creates a new client like NEW_CLIENT, and imports one ore more project export files.
    • Method Detail

      • values

        public static ETestCaseSetupMethod[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ETestCaseSetupMethod c : ETestCaseSetupMethod.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ETestCaseSetupMethod valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getDisplayName

        public String getDisplayName()
        Returns:
        The human-readable name of this setup method.
      • valueOfOrNull

        public static ETestCaseSetupMethod valueOfOrNull​(String value)
        Parameters:
        value - Value to parse.
        Returns:
        The setup method corresponding to the given value, or null when no such method exists.