Enum Class TestClassesUtil.FILTER

java.lang.Object
java.lang.Enum<TestClassesUtil.FILTER>
de.hybris.bootstrap.testclasses.TestClassesUtil.FILTER
All Implemented Interfaces:
Serializable, Comparable<TestClassesUtil.FILTER>, Constable
Enclosing class:
TestClassesUtil

public static enum TestClassesUtil.FILTER extends Enum<TestClassesUtil.FILTER>
FILTER_BY_EXTENSION
If set, this filter will only allow extensions to be scanned that are in the given list.
The expected format is a single String or a Collection of Strings

FILTER_BY_PACKAGE
If set, this filter will only accept test classes for the given packages.
Reg expressions like de.hybris.*.cockpit.* are allowed!
The expected format is a single String or a Collection of Strings
The positive list is evaluated before the negative list!

FILTER_BY_PACKAGE_NEGATIVE
If set, this filter will only accept test classes that NOT match these packages.
Reg expressions like de.hybris.*.cockpit.* are allowed!
The expected format is a single String or a Collection of Strings
The positive list is evaluated before the negative list!

FILTER_BY_ANNOTATION
If set, this filter will only accept test classes that are annotated with the given annotation classes.
The expected format is a single (annotation) class or a Collection of class files
Supported are DemoTest, IntegrationTest, PerformanceTest, ManualTest and/or UnitTest

SPLIT_FILTER
If set, this filter will split the final amount of tests by the given string, which can be used for automatic testing purposes. The given object has to be a String with the format a-b. "b" is the total amount of parts you want the tests to be split into. "a" is the number you currently want to get.
Example : If you want to split 1000 tests into 4 pieces, you have the possibilities to get 1-4 (test 1 to 250), 2-4 (test 251 to 500), 3-4 (test 501 to 750) and 4-4 (test 751 to 1000)

  • Enum Constant Details

  • Method Details

    • values

      public static TestClassesUtil.FILTER[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TestClassesUtil.FILTER valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null