public class SuiteCompletedEvent extends Object
Modifier | Constructor and Description |
---|---|
protected |
SuiteCompletedEvent() |
|
SuiteCompletedEvent(org.junit.runner.Description description,
long start,
long duration) |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(JsonReader reader) |
protected static JsonReader |
expectProperty(JsonReader reader,
String propertyName) |
org.junit.runner.Description |
getDescription() |
long |
getExecutionTime() |
long |
getStartTimestamp() |
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 |
setDescription(org.junit.runner.Description description) |
protected static JsonWriter |
writeBinaryProperty(JsonWriter writer,
String propertyName,
byte[] value) |
static void |
writeDescription(JsonWriter writer,
org.junit.runner.Description e) |
protected SuiteCompletedEvent()
public SuiteCompletedEvent(org.junit.runner.Description description, long start, long duration)
public long getExecutionTime()
public long getStartTimestamp()
public void serialize(JsonWriter writer) throws IOException
serialize
in interface RemoteEvent
IOException
public void deserialize(JsonReader reader) throws IOException
deserialize
in interface RemoteEvent
IOException
public org.junit.runner.Description getDescription()
getDescription
in interface IDescribable
protected void setDescription(org.junit.runner.Description description)
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–2017 Carrot Search s.c.. All rights reserved.