public enum TestFramework extends java.lang.Enum<TestFramework>
Modifier and Type | Field and Description |
---|---|
static TestFramework |
DEFAULT_OPTION |
Modifier and Type | Method and Description |
---|---|
Language |
getDefaultLanguage() |
java.lang.String |
getName() |
java.lang.String |
getSourcePath(java.lang.String path,
Language language) |
java.util.List<Language> |
getSupportedLanguages() |
java.lang.String |
getTestFrameworkSuffix() |
java.lang.String |
getTestFrameworkSuffixWithoutTrailingDot() |
java.lang.String |
getTitle() |
boolean |
isKotlinTestFramework() |
static boolean |
isKotlinTestFramework(TestFramework testFramework) |
java.lang.String |
toString() |
static TestFramework |
valueOf(java.lang.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 JUNIT
public static final TestFramework SPOCK
public static final TestFramework KOTEST
public static final TestFramework DEFAULT_OPTION
public static TestFramework[] values()
for (TestFramework c : TestFramework.values()) System.out.println(c);
public static TestFramework valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean isKotlinTestFramework(TestFramework testFramework)
public boolean isKotlinTestFramework()
public java.lang.String toString()
toString
in class java.lang.Enum<TestFramework>
@NonNull public java.lang.String getName()
public java.lang.String getSourcePath(java.lang.String path, Language language)
public java.lang.String getTestFrameworkSuffix()
public java.lang.String getTestFrameworkSuffixWithoutTrailingDot()
public java.util.List<Language> getSupportedLanguages()
TestFramework
public Language getDefaultLanguage()
TestFramework
public java.lang.String getTitle()