public enum TestLogEvent extends Enum<TestLogEvent>
列挙型定数と説明 |
---|
FAILED
A test has failed.
|
PASSED
A test has completed successfully.
|
SKIPPED
A test has been skipped.
|
STANDARD_ERROR
A test has written a message to standard error.
|
STANDARD_OUT
A test has written a message to standard out.
|
STARTED
A test has started.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static TestLogEvent |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static TestLogEvent[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final TestLogEvent STARTED
public static final TestLogEvent PASSED
public static final TestLogEvent SKIPPED
public static final TestLogEvent FAILED
public static final TestLogEvent STANDARD_OUT
public static final TestLogEvent STANDARD_ERROR
public static TestLogEvent[] values()
for(TestLogEvent c: TestLogEvent.values()) System.out.println(c);
public static TestLogEvent valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合