scala.testing.SUnit

class TestCase

[source: scala/testing/SUnit.scala]

abstract class TestCase(val name : java.lang.String)
extends Test with Assert
The class TestCase defines the fixture to run multiple tests.
Parameters
name - ...
Method Summary
def run (r : TestResult) : Unit
protected abstract def runTest : Unit
def setUp : Unit
def tearDown : Unit
override def toString : java.lang.String
Returns a string representation of the object.
Methods inherited from Assert
enableStackTrace, assertSameElements, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotEq, assertNotEq, assertNull, assertNull, assertEq, assertEq, assertTrue, assertTrue, fail, fail
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
protected abstract def runTest : Unit

def run(r : TestResult) : Unit
Overrides
Test.run

def setUp : Unit

def tearDown : Unit

override def toString : java.lang.String
Returns a string representation of the object.

The default representation is platform dependent.

Returns
a string representation of the object.