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

dog.Dog.scala Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
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