Upgrade to contraband 0.4.0

This commit is contained in:
Dale Wijnand
2018-03-12 15:39:07 +00:00
parent ed5a8c118b
commit dd4de14593
46 changed files with 108 additions and 47 deletions
@@ -21,7 +21,7 @@ final class EndTestGroupErrorEvent private (
override def toString: String = {
"EndTestGroupErrorEvent(" + name + ", " + error + ")"
}
protected[this] def copy(name: String = name, error: String = error): EndTestGroupErrorEvent = {
private[this] def copy(name: String = name, error: String = error): EndTestGroupErrorEvent = {
new EndTestGroupErrorEvent(name, error)
}
def withName(name: String): EndTestGroupErrorEvent = {
@@ -21,7 +21,7 @@ final class EndTestGroupEvent private (
override def toString: String = {
"EndTestGroupEvent(" + name + ", " + result + ")"
}
protected[this] def copy(name: String = name, result: sbt.protocol.testing.TestResult = result): EndTestGroupEvent = {
private[this] def copy(name: String = name, result: sbt.protocol.testing.TestResult = result): EndTestGroupEvent = {
new EndTestGroupEvent(name, result)
}
def withName(name: String): EndTestGroupEvent = {
@@ -20,7 +20,7 @@ final class StartTestGroupEvent private (
override def toString: String = {
"StartTestGroupEvent(" + name + ")"
}
protected[this] def copy(name: String = name): StartTestGroupEvent = {
private[this] def copy(name: String = name): StartTestGroupEvent = {
new StartTestGroupEvent(name)
}
def withName(name: String): StartTestGroupEvent = {
@@ -20,7 +20,7 @@ final class TestCompleteEvent private (
override def toString: String = {
"TestCompleteEvent(" + result + ")"
}
protected[this] def copy(result: sbt.protocol.testing.TestResult = result): TestCompleteEvent = {
private[this] def copy(result: sbt.protocol.testing.TestResult = result): TestCompleteEvent = {
new TestCompleteEvent(result)
}
def withResult(result: sbt.protocol.testing.TestResult): TestCompleteEvent = {
@@ -19,7 +19,7 @@ override def hashCode: Int = {
override def toString: String = {
"TestInitEvent()"
}
protected[this] def copy(): TestInitEvent = {
private[this] def copy(): TestInitEvent = {
new TestInitEvent()
}
@@ -31,7 +31,7 @@ final class TestItemDetail private (
override def toString: String = {
"TestItemDetail(" + fullyQualifiedName + ", " + status + ", " + duration + ")"
}
protected[this] def copy(fullyQualifiedName: String = fullyQualifiedName, status: sbt.testing.Status = status, duration: Option[Long] = duration): TestItemDetail = {
private[this] def copy(fullyQualifiedName: String = fullyQualifiedName, status: sbt.testing.Status = status, duration: Option[Long] = duration): TestItemDetail = {
new TestItemDetail(fullyQualifiedName, status, duration)
}
def withFullyQualifiedName(fullyQualifiedName: String): TestItemDetail = {
@@ -21,7 +21,7 @@ final class TestItemEvent private (
override def toString: String = {
"TestItemEvent(" + result + ", " + detail + ")"
}
protected[this] def copy(result: Option[sbt.protocol.testing.TestResult] = result, detail: Vector[sbt.protocol.testing.TestItemDetail] = detail): TestItemEvent = {
private[this] def copy(result: Option[sbt.protocol.testing.TestResult] = result, detail: Vector[sbt.protocol.testing.TestItemDetail] = detail): TestItemEvent = {
new TestItemEvent(result, detail)
}
def withResult(result: Option[sbt.protocol.testing.TestResult]): TestItemEvent = {
@@ -19,7 +19,7 @@ final class TestStringEvent private (
override def toString: String = {
value
}
protected[this] def copy(value: String = value): TestStringEvent = {
private[this] def copy(value: String = value): TestStringEvent = {
new TestStringEvent(value)
}
def withValue(value: String): TestStringEvent = {