All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent Maven / Gradle / Ivy

The newest version!
package com.carrotsearch.ant.tasks.junit4.events;

import org.junit.runner.Description;


/**
 * Serialized failure.
 */
@SuppressWarnings("serial")
public class SuiteCompletedEvent extends AbstractEvent {
  private Description description;
  private long startTimestamp;
  private long executionTime;

  public SuiteCompletedEvent(Description description, long start, long duration) {
    super(EventType.SUITE_COMPLETED);
    this.description = description;
    this.startTimestamp = start;
    this.executionTime = duration;
  }

  public Description getDescription() {
    return description;
  }

  public long getExecutionTime() {
    return executionTime;
  }

  public long getStartTimestamp() {
    return startTimestamp;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy