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

sbt.protocol.testing.EndTestGroupEvent.scala Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
/**
 * This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
 */

// DO NOT EDIT MANUALLY
package sbt.protocol.testing
/** Called if test completed. */
final class EndTestGroupEvent private (
  val name: String,
  val result: sbt.protocol.testing.TestResult) extends sbt.protocol.testing.TestMessage() with Serializable {
  
  
  
  override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
    case x: EndTestGroupEvent => (this.name == x.name) && (this.result == x.result)
    case _ => false
  })
  override def hashCode: Int = {
    37 * (37 * (37 * (17 + "sbt.protocol.testing.EndTestGroupEvent".##) + name.##) + result.##)
  }
  override def toString: String = {
    "EndTestGroupEvent(" + name + ", " + result + ")"
  }
  private[this] def copy(name: String = name, result: sbt.protocol.testing.TestResult = result): EndTestGroupEvent = {
    new EndTestGroupEvent(name, result)
  }
  def withName(name: String): EndTestGroupEvent = {
    copy(name = name)
  }
  def withResult(result: sbt.protocol.testing.TestResult): EndTestGroupEvent = {
    copy(result = result)
  }
}
object EndTestGroupEvent {
  
  def apply(name: String, result: sbt.protocol.testing.TestResult): EndTestGroupEvent = new EndTestGroupEvent(name, result)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy