public enum TestFramework extends Enum<TestFramework>
Enum Constant and Description |
---|
CUSTOM
Custom test framework.
|
JUNIT
JUnit test framework.
|
JUNIT5
JUnit5 test framework.
|
SPOCK
Spock test framework.
|
TESTNG
TestNG test framework.
|
Modifier and Type | Method and Description |
---|---|
boolean |
annotationLevelRules() |
String |
getClassExtension() |
String |
getClassModifier() |
String |
getClassNameSuffix() |
String |
getIgnoreAnnotation() |
String |
getIgnoreClass() |
String |
getLineSuffix() |
String |
getMethodModifier() |
String |
getOrderAnnotation() |
List<String> |
getOrderAnnotationImports() |
String |
getRuleAnnotation(String annotationValue) |
static TestFramework |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestFramework[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestFramework SPOCK
public static final TestFramework JUNIT
public static final TestFramework JUNIT5
public static final TestFramework TESTNG
public static final TestFramework CUSTOM
public static TestFramework[] values()
for (TestFramework c : TestFramework.values()) System.out.println(c);
public static TestFramework valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getClassModifier()
public String getMethodModifier()
public String getLineSuffix()
public String getClassExtension()
public String getClassNameSuffix()
public String getIgnoreClass()
public String getOrderAnnotation()
public String getIgnoreAnnotation()
public boolean annotationLevelRules()
Copyright © 2016–2021 Spring. All rights reserved.