Pretty

org.scalacheck.util.Pretty
See thePretty companion trait
object Pretty

Attributes

Companion
trait
Source
Pretty.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Pretty.type

Members list

Type members

Classlikes

case class Params(verbosity: Int)

Attributes

Source
Pretty.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(f: Params => String): Pretty

Attributes

Source
Pretty.scala
def break(s: String, lead: String, length: Int): String

Break a long string across lines.

Break a long string across lines.

This method will wrap the given string at length characters, inserting newlines and an optional prefix (lead) on every line other than the first.

All lines in the resulting string are guaranteed to be length or shorter.

We require lead.length < length; otherwise it would be impossible to legally wrap lines.

Attributes

Source
Pretty.scala
def format(s: String, lead: String, trail: String, width: Int): String

Attributes

Source
Pretty.scala
def pad(s: String, c: Char, length: Int): String

Attributes

Source
Pretty.scala
def pretty[T](t: T, prms: Params)(implicit ev: T => Pretty): String

Attributes

Source
Pretty.scala
def pretty[T](t: T)(implicit ev: T => Pretty): String

Attributes

Source
Pretty.scala
def prettyArgs(args: Seq[Arg[Any]]): Pretty

Attributes

Source
Pretty.scala
def prettyTime(millis: Long): String

Attributes

Source
Pretty.scala

Concrete fields

Attributes

Source
Pretty.scala

Implicits

Implicits

implicit def prettyAny(t: Any): Pretty

Attributes

Source
Pretty.scala
implicit def prettyFreqMap(fm: FreqMap[Set[Any]]): Pretty

Attributes

Source
Pretty.scala
implicit def prettyList(l: List[Any]): Pretty

Attributes

Source
Pretty.scala
implicit def prettyString(t: String): Pretty

Attributes

Source
Pretty.scala
implicit def prettyTestParams(prms: Parameters): Pretty

Attributes

Source
Pretty.scala
implicit def prettyTestRes(res: Result): Pretty

Attributes

Source
Pretty.scala
implicit def prettyThrowable(e: Throwable): Pretty

Attributes

Source
Pretty.scala