public abstract class FailureEvent extends Object implements IDescribable
| Constructor and Description |
|---|
FailureEvent(EventType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JsonReader reader) |
protected static JsonReader |
expectProperty(JsonReader reader,
String propertyName) |
org.junit.runner.Description |
getDescription() |
FailureMirror |
getFailure() |
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) |
void |
serialize(JsonWriter writer) |
protected void |
setFailure(org.junit.runner.notification.Failure failure) |
protected static JsonWriter |
writeBinaryProperty(JsonWriter writer,
String propertyName,
byte[] value) |
static void |
writeDescription(JsonWriter writer,
org.junit.runner.Description e) |
public FailureEvent(EventType type)
protected void setFailure(org.junit.runner.notification.Failure failure)
public FailureMirror getFailure()
public org.junit.runner.Description getDescription()
getDescription in interface IDescribablepublic void serialize(JsonWriter writer) throws IOException
serialize in interface RemoteEventIOExceptionpublic void deserialize(JsonReader reader) throws IOException
deserialize in interface RemoteEventIOExceptionprotected static JsonWriter writeBinaryProperty(JsonWriter writer, String propertyName, byte[] value) throws IOException
IOExceptionprotected static byte[] readBinaryProperty(JsonReader reader, String propertyName) throws IOException
IOExceptionprotected static String readStringProperty(JsonReader reader, String propertyName) throws IOException
IOExceptionprotected static String readStringOrNullProperty(JsonReader reader, String propertyName) throws IOException
IOExceptionprotected static boolean readBoolean(JsonReader reader, String propertyName) throws IOException
IOExceptionprotected static long readLongProperty(JsonReader reader, String propertyName) throws IOException
IOExceptionprotected static JsonReader expectProperty(JsonReader reader, String propertyName) throws IOException
IOExceptionpublic static void writeDescription(JsonWriter writer, org.junit.runner.Description e) throws IOException
IOExceptionCopyright © 2011–2025 Carrot Search s.c.. All rights reserved.