trait
TextPrinter
extends AnyRef
Type Members
-
trait
Print
extends AnyRef
-
case class
PrintBr
() extends Print with Product with Serializable
-
case class
PrintLine
(text: Print, stats: Stats, level: Int, args: Arguments) extends Product with Serializable
-
case class
PrintLines
(lines: List[PrintLine]) extends Product with Serializable
-
case class
PrintOther
(fragment: ExecutedFragment) extends Print with Product with Serializable
-
case class
PrintResult
(r: ExecutedResult) extends Print with Product with Serializable
-
case class
PrintSpecEnd
(end: ExecutedSpecEnd, endStats: Stats) extends Print with Product with Serializable
-
case class
PrintSpecStart
(start: ExecutedSpecStart) extends Print with Product with Serializable
-
case class
PrintText
(t: ExecutedText) extends Print with Product with Serializable
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
object
PrintReducer
extends Reducer[ExecutedFragment, List[Print]]
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
flatten
(results: (((List[Print], SpecStats), Levels[ExecutedFragment]), SpecsArguments[ExecutedFragment]))(implicit commandLineArgs: Arguments = Arguments()): List[PrintLine]
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
-
-
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
This trait reduces a list of ExecutedFragments to a list of PrintLines.
Each line contains: * A description (text or example description) * A level, to work out the indenting * Some statistics, to print on SpecEnd * The current arguments, to control the conditional printing of text, statistics,...