in scala/testing/SUnit
class TestResult

class TestResult()
extends Object
with ScalaObject

a TestResult collects the result of executing a test case

Field Summary
  val buf: ArrayBuffer[Tuple2[Test,Throwable]]

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

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/ScalaObject-class
getScalaType

Field Detail

buf

  val buf: ArrayBuffer[Tuple2[Test,Throwable]]
Method Detail

addFailure

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

failureCount

  def failureCount(): Int

failures

  def failures(): Iterator[TestFailure]