in scala/testing/SUnit
class TestCase

class TestCase(name: String)
extends Test
with ScalaObject
with Assert

a TestCase defines the fixture to run multiple tests

Field Summary
  val name: String

Method Summary
protected def createResult(): TestResult
  def run(r: TestResult): Unit
  def run(): Unit
protected def runTest(): Unit
  def setUp(): Unit
  def tearDown(): Unit
override def toString(): String

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

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

Methods inherited from scala/ScalaObject-class
getScalaType

Methods inherited from scala/testing/SUnit/Assert-class
assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail

Field Detail

name

  val name: String
Method Detail

createResult

  protected def createResult(): TestResult

runTest

  protected def runTest(): Unit

run

  def run(r: TestResult): Unit

run

  def run(): Unit

setUp

  def setUp(): Unit

tearDown

  def tearDown(): Unit

toString

  override def toString(): String