scala.testing.SUnit
class TestResult

[source: `scala/testing/SUnit.scala`]

`` `class` TestResult
  `extends` AnyRef

  a TestResult collects the result of executing a test case

Value Summary
`val` | buf : ArrayBuffer[(Test, Throwable)]

Method Summary
`def` | addFailure (test : Test, t : Throwable) : Unit
`def` | failureCount : Int
`def` | failures : Iterator[TestFailure]

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Value Details

`` `val` buf : ArrayBuffer[(Test, Throwable)]

Method Details

`` `def` addFailure(test : Test, t : Throwable) : Unit

`` `def` failureCount : Int

`` `def` failures : Iterator[TestFailure]