public class TestFailureEvent extends FailureEvent
Modifier | Constructor and Description |
---|---|
protected |
TestFailureEvent() |
|
TestFailureEvent(org.junit.runner.notification.Failure failure) |
Modifier and Type | Method and Description |
---|---|
protected static JsonReader |
expectProperty(JsonReader reader,
String propertyName) |
EventType |
getType() |
protected static byte[] |
readBinaryProperty(JsonReader reader,
String propertyName) |
protected static boolean |
readBoolean(JsonReader reader,
String propertyName) |
protected static long |
readLongProperty(JsonReader reader,
String propertyName) |
protected static String |
readStringOrNullProperty(JsonReader reader,
String propertyName) |
protected static String |
readStringProperty(JsonReader reader,
String propertyName) |
protected static JsonWriter |
writeBinaryProperty(JsonWriter writer,
String propertyName,
byte[] value) |
static void |
writeDescription(JsonWriter writer,
org.junit.runner.Description e) |
deserialize, getDescription, getFailure, serialize, setFailure
protected TestFailureEvent()
public TestFailureEvent(org.junit.runner.notification.Failure failure)
protected static JsonWriter writeBinaryProperty(JsonWriter writer, String propertyName, byte[] value) throws IOException
IOException
protected static byte[] readBinaryProperty(JsonReader reader, String propertyName) throws IOException
IOException
protected static String readStringProperty(JsonReader reader, String propertyName) throws IOException
IOException
protected static String readStringOrNullProperty(JsonReader reader, String propertyName) throws IOException
IOException
protected static boolean readBoolean(JsonReader reader, String propertyName) throws IOException
IOException
protected static long readLongProperty(JsonReader reader, String propertyName) throws IOException
IOException
protected static JsonReader expectProperty(JsonReader reader, String propertyName) throws IOException
IOException
public static void writeDescription(JsonWriter writer, org.junit.runner.Description e) throws IOException
IOException
Copyright © 2011–2019 Carrot Search s.c.. All rights reserved.