Class AbstractEventWithDescription
- java.lang.Object
-
- com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
-
- com.carrotsearch.ant.tasks.junit4.events.AbstractEventWithDescription
-
- All Implemented Interfaces:
IDescribable
,IEvent
,RemoteEvent
- Direct Known Subclasses:
SuiteCompletedEvent
,SuiteStartedEvent
,TestFinishedEvent
,TestIgnoredEvent
,TestStartedEvent
abstract class AbstractEventWithDescription extends AbstractEvent implements IDescribable
-
-
Field Summary
Fields Modifier and Type Field Description private org.junit.runner.Description
description
-
Constructor Summary
Constructors Constructor Description AbstractEventWithDescription(EventType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(JsonReader reader)
org.junit.runner.Description
getDescription()
void
serialize(JsonWriter writer)
protected void
setDescription(org.junit.runner.Description description)
-
Methods inherited from class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
expectProperty, getType, readBinaryProperty, readBoolean, readLongProperty, readStringOrNullProperty, readStringProperty, writeBinaryProperty, writeDescription
-
-
-
-
Constructor Detail
-
AbstractEventWithDescription
public AbstractEventWithDescription(EventType type)
-
-
Method Detail
-
getDescription
public org.junit.runner.Description getDescription()
- Specified by:
getDescription
in interfaceIDescribable
-
setDescription
protected void setDescription(org.junit.runner.Description description)
-
serialize
public void serialize(JsonWriter writer) throws java.io.IOException
- Specified by:
serialize
in interfaceRemoteEvent
- Throws:
java.io.IOException
-
deserialize
public void deserialize(JsonReader reader) throws java.io.IOException
- Specified by:
deserialize
in interfaceRemoteEvent
- Throws:
java.io.IOException
-
-