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

munit.internal.junitinterface.JUnitEvent.scala Maven / Gradle / Ivy

The newest version!
/*
 * Adapted from https://github.com/scala-js/scala-js, see NOTICE.md.
 */

package munit.internal.junitinterface

import sbt.testing._

final class JUnitEvent(
    taskDef: TaskDef,
    _fullyQualifiedName: String,
    _status: Status,
    _selector: Selector,
    _throwable: OptionalThrowable = new OptionalThrowable,
    _duration: Long = -1L
) extends Event {
  override def status(): Status = _status
  override def selector(): Selector = _selector
  override def throwable(): OptionalThrowable = _throwable
  override def duration(): Long = _duration
  override def fullyQualifiedName(): String = _fullyQualifiedName
  override def fingerprint(): Fingerprint = taskDef.fingerprint()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy