public abstract class FailureEvent extends java.lang.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,
java.lang.String propertyName) |
org.junit.runner.Description |
getDescription() |
FailureMirror |
getFailure() |
EventType |
getType() |
protected static byte[] |
readBinaryProperty(JsonReader reader,
java.lang.String propertyName) |
protected static boolean |
readBoolean(JsonReader reader,
java.lang.String propertyName) |
protected static long |
readLongProperty(JsonReader reader,
java.lang.String propertyName) |
protected static java.lang.String |
readStringOrNullProperty(JsonReader reader,
java.lang.String propertyName) |
protected static java.lang.String |
readStringProperty(JsonReader reader,
java.lang.String propertyName) |
void |
serialize(JsonWriter writer) |
protected void |
setFailure(org.junit.runner.notification.Failure failure) |
protected static JsonWriter |
writeBinaryProperty(JsonWriter writer,
java.lang.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 java.io.IOException
serialize in interface RemoteEventjava.io.IOExceptionpublic void deserialize(JsonReader reader) throws java.io.IOException
deserialize in interface RemoteEventjava.io.IOExceptionprotected static JsonWriter writeBinaryProperty(JsonWriter writer, java.lang.String propertyName, byte[] value) throws java.io.IOException
java.io.IOExceptionprotected static byte[] readBinaryProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static java.lang.String readStringProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static java.lang.String readStringOrNullProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static boolean readBoolean(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static long readLongProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static JsonReader expectProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionpublic static void writeDescription(JsonWriter writer, org.junit.runner.Description e) throws java.io.IOException
java.io.IOExceptionCopyright © 2011–2017 Carrot Search s.c.. All rights reserved.