sbt.protocol.testing.StartTestGroupEvent.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testing_2.12 Show documentation
Show all versions of testing_2.12 Show documentation
sbt is an interactive build tool
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.protocol.testing
/** Called for each class or equivalent grouping. */
final class StartTestGroupEvent private (
val name: String) extends sbt.protocol.testing.TestMessage() with Serializable {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: StartTestGroupEvent => (this.name == x.name)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.protocol.testing.StartTestGroupEvent".##) + name.##)
}
override def toString: String = {
"StartTestGroupEvent(" + name + ")"
}
private[this] def copy(name: String = name): StartTestGroupEvent = {
new StartTestGroupEvent(name)
}
def withName(name: String): StartTestGroupEvent = {
copy(name = name)
}
}
object StartTestGroupEvent {
def apply(name: String): StartTestGroupEvent = new StartTestGroupEvent(name)
}