Package de.hybris.bootstrap.testclasses
Enum Class TestClassesUtil.FILTER
- All Implemented Interfaces:
Serializable,Comparable<TestClassesUtil.FILTER>,Constable
- Enclosing class:
- TestClassesUtil
FILTER_BY_EXTENSIONIf 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_PACKAGEIf 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_NEGATIVEIf 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_ANNOTATIONIf 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_FILTERIf 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)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic TestClassesUtil.FILTERReturns the enum constant of this class with the specified name.static TestClassesUtil.FILTER[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILTER_BY_EXTENSION
-
FILTER_BY_PACKAGE
-
FILTER_BY_ANNOTATION
-
SPLIT_FILTER
-
FILTER_BY_PACKAGE_NEGATIVE
-
REPLACED
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-