use of com.carrotsearch.ant.tasks.junit4.events.IEvent in project randomizedtesting by randomizedtesting.
the class Deserializer method deserialize.
public IEvent deserialize() throws IOException {
JsonToken peek = input.peek();
if (peek == JsonToken.END_ARRAY)
return null;
input.beginArray();
EventType type = EventType.valueOf(input.nextString());
IEvent event = type.deserialize(input);
input.endArray();
return event;
}
Aggregations