Instance Constructors
-
new
PrettyPrinterTests
()
Type Members
-
type
?0
-
type
Indent
= Int
-
type
Layout
= String
-
class
PVal
extends PrettyPrintable
-
case class
Val
(i: Int) extends Product with Serializable
-
type
Width
= Int
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
object
FocusTest
extends Tag
-
def
angles
(d: Doc): Doc
-
implicit def
anyToPrettyPrintable
(a: Any): PrettyPrintable
-
def
asInstanceOf
[T0]
: T0
-
def
assert
(o: Option[String]): Unit
-
def
assert
(o: Option[String], clue: Any): Unit
-
def
assert
(condition: Boolean, clue: Any): Unit
-
def
assert
(condition: Boolean): Unit
-
def
assertMessage
(index: Int, line: Int, column: Int, msg: String): Unit
-
def
backslash
: Doc
-
def
braces
(d: Doc): Doc
-
def
brackets
(d: Doc): Doc
-
def
cat
(ds: Seq[Doc]): Doc
-
implicit def
char
(c: Char): Doc
-
def
clone
(): AnyRef
-
def
colon
: Doc
-
def
comma
: Doc
-
implicit def
convertToEqualizer
(left: Any): Equalizer
-
val
defaultIndent
: Int
-
val
defaultWidth
: Int
-
def
dot
: Doc
-
def
dquote
: Doc
-
def
dquotes
(d: Doc): Doc
-
def
empty
: Doc
-
def
enclose
(l: Doc, d: Doc, r: Doc): Doc
-
def
eq
(arg0: AnyRef): Boolean
-
def
equal
: Doc
-
def
equals
(arg0: Any): Boolean
-
def
execute
(testName: String, configMap: Map[String, Any], color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit
-
def
expect
(expected: Any)(actual: Any): Unit
-
def
expect
(expected: Any, clue: Any)(actual: Any): Unit
-
def
expectedTestCount
(filter: Filter): Int
-
def
expectnotsame
(expected: Any)(actual: Any): Unit
-
def
expectsame
(expected: Any)(actual: Any): Unit
-
def
fail
(cause: Throwable): Nothing
-
def
fail
(message: String, cause: Throwable): Nothing
-
def
fail
(message: String): Nothing
-
def
fail
(): Nothing
-
def
fillcat
(ds: Seq[Doc]): Doc
-
def
fillsep
(ds: Seq[Doc], sep: Doc): Doc
-
def
fillsep
(ds: Seq[Doc]): Doc
-
def
finalize
(): Unit
-
def
forwslash
: Doc
-
def
getClass
(): java.lang.Class[_]
-
def
group
(d: Doc): Doc
-
def
hashCode
(): Int
-
def
hcat
(ds: Seq[Doc]): Doc
-
def
hsep
(ds: Seq[Doc], sep: Doc): Doc
-
def
hsep
(ds: Seq[Doc]): Doc
-
def
ignore
(testName: String, testTags: Tag*)(testFun: ⇒ Unit): Unit
-
implicit def
info
: Informer
-
def
intercept
[T <: AnyRef]
(f: ⇒ Any)(implicit manifest: Manifest[T]): T
-
def
isInstanceOf
[T0]
: Boolean
-
val
l
: List[Doc]
-
val
l1
: List[Int]
-
val
l2
: List[Val]
-
val
l3
: List[PVal]
-
def
langle
: Doc
-
def
lbrace
: Doc
-
def
lbracket
: Doc
-
def
line
: Doc
-
def
linebreak
: Doc
-
def
list
[T]
(l: List[T], prefix: String, elemToDoc: (T) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc
-
def
lparen
: Doc
-
def
lsep
(ds: Seq[Doc], sep: Doc): Doc
-
def
lsep2
(ds: Seq[Doc], sep: Doc): Doc
-
def
lterm
(ds: Seq[Doc], term: Doc): Doc
-
val
m
: List[Doc]
-
def
ne
(arg0: AnyRef): Boolean
-
def
nest
(d: Doc, j: Indent): Doc
-
def
nestedSuites
: List[Suite]
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
parens
(d: Doc): Doc
-
def
pending
: PendingNothing
-
def
pendingUntilFixed
(f: ⇒ Unit): Unit
-
def
plist
(l: List[PrettyPrintable], prefix: String, elemToDoc: (PrettyPrintable) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc
-
def
pretty
(d: Doc, w: Width): Layout
-
def
pretty
(p: PrettyPrintable): Layout
-
def
product
(p: Any): Doc
-
def
rangle
: Doc
-
def
rbrace
: Doc
-
def
rbracket
: Doc
-
def
rparen
: Doc
-
def
run
(testName: Option[String], reporter: Reporter, stopper: Stopper, filter: Filter, configMap: Map[String, Any], distributor: Option[Distributor], tracker: Tracker): Unit
-
def
runNestedSuites
(reporter: Reporter, stopper: Stopper, filter: Filter, configMap: Map[String, Any], distributor: Option[Distributor], tracker: Tracker): Unit
-
def
runTest
(testName: String, reporter: Reporter, stopper: Stopper, configMap: Map[String, Any], tracker: Tracker): Unit
-
def
runTests
(testName: Option[String], reporter: Reporter, stopper: Stopper, filter: Filter, configMap: Map[String, Any], distributor: Option[Distributor], tracker: Tracker): Unit
-
def
same
(v1: Any, v2: Any): Boolean
-
def
semi
: Doc
-
def
sep
(ds: Seq[Doc]): Doc
-
def
softbreak
: Doc
-
def
softline
: Doc
-
def
space
: Doc
-
def
spaces
(n: Int): Doc
-
def
squote
: Doc
-
def
squotes
(d: Doc): Doc
-
def
ssep
(ds: Seq[Doc], sep: Doc): Doc
-
def
sterm
(ds: Seq[Doc], term: Doc): Doc
-
def
string
(s: String): Doc
-
def
suiteName
: String
-
def
surround
(d: Doc, b: Doc): Doc
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
tags
: Map[String, Set[String]]
-
def
test
(testName: String, testTags: Tag*)(testFun: ⇒ Unit): Unit
-
def
testNames
: Set[String]
-
def
testsFor
(unit: Unit): Unit
-
implicit def
text
(t: String): Doc
-
def
toString
(): String
-
def
value
(v: Any): Doc
-
def
vcat
(ds: Seq[Doc]): Doc
-
def
vsep
(ds: Seq[Doc], sep: Doc): Doc
-
def
vsep
(ds: Seq[Doc]): Doc
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
withClue
(clue: Any)(fun: ⇒ Unit): Unit
-
def
withFixture
(test: NoArgTest): Unit
Inherited from PrettyPrinter
Inherited from PrettyPrinterBase
Inherited from FunSuite
Inherited from Suite
Inherited from Serializable
Inherited from AbstractSuite
Inherited from Assertions
Inherited from AnyRef
Inherited from Any
Basic tests of pretty-printer module. More complex setups and some combinators are tested within particular examples.