/**
 * This code is generated using [[https://www.scala-sbt.org/contraband]].
 */

// DO NOT EDIT MANUALLY
package sbt.protocol.testing
/** Called once, at end of the testing. */
final class TestCompleteEvent private (
  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: TestCompleteEvent => (this.result == x.result)
    case _ => false
  })
  override def hashCode: Int = {
    37 * (37 * (17 + "sbt.protocol.testing.TestCompleteEvent".##) + result.##)
  }
  override def toString: String = {
    "TestCompleteEvent(" + result + ")"
  }
  private def copy(result: sbt.protocol.testing.TestResult): TestCompleteEvent = {
    new TestCompleteEvent(result)
  }
  def withResult(result: sbt.protocol.testing.TestResult): TestCompleteEvent = {
    copy(result = result)
  }
}
object TestCompleteEvent {
  
  def apply(result: sbt.protocol.testing.TestResult): TestCompleteEvent = new TestCompleteEvent(result)
}
