dog.Dog.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dog_2.11 Show documentation
Show all versions of dog_2.11 Show documentation
yet another testing framework
package dog
import java.util.concurrent.TimeUnit
trait Dog {
def paramEndo: scalaz.Endo[Param] = Param.id
def listener: DogListener = DogListener.default
implicit class ParamSyntax[A] private[dog](val self: TestCase[A]) {
def timeout(n: Int, timeunit: TimeUnit): TestCase[A] =
self.local(_ compose Param.timeout(n, timeunit))
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy