com.carrotsearch.ant.tasks.junit4.events
Class FailureEvent
java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.FailureEvent
- All Implemented Interfaces:
- IDescribable, IEvent
- Direct Known Subclasses:
- SuiteFailureEvent, TestFailureEvent, TestIgnoredAssumptionEvent
public abstract class FailureEvent
- extends Object
- implements IDescribable
Generic serialized failure event.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FailureEvent
public FailureEvent(EventType type)
setFailure
protected void setFailure(Failure failure)
getFailure
public FailureMirror getFailure()
getDescription
public Description getDescription()
- Specified by:
getDescription in interface IDescribable
getType
public EventType getType()
- Specified by:
getType in interface IEvent
Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.