public final class EventValidator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Event |
validateEvent(Event e)
Validate a single
Event. |
static void |
validateRun(java.util.List<Event> events)
Validates a list of events, which should represent a valid
TestRun. |
public static void validateRun(java.util.List<Event> events)
Validates a list of events, which should represent a valid TestRun.
The following things are validated:
events - List of events representing one complete TestRunInvalidEventException - if the event was invalidInvalidRunException - if the run's integrity failed