public enum JUnitVersion extends java.lang.Enum<JUnitVersion>
| Modifier and Type | Field and Description |
|---|---|
static JUnitVersion |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static JUnitVersion |
fromString(java.lang.String version) |
int |
getVersion() |
static JUnitVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JUnitVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JUnitVersion JUNIT_4
public static final JUnitVersion JUNIT_5
public static JUnitVersion DEFAULT
public static JUnitVersion[] values()
for (JUnitVersion c : JUnitVersion.values()) System.out.println(c);
public static JUnitVersion 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 int getVersion()
public static JUnitVersion fromString(java.lang.String version)