Sydney

Class TestCase

Object
   |
   +--Assert
         |
         +--Test
               |
               +--TestCase

class TestCase
extends Test

Defined in test_case.js


 
Fields inherited from class Assert
Expected, actual
 
Constructor Summary
TestCase (name)
           
 
Method Summary
 TestResults run(<TestResults> testResults)
           Runs the test and collects the results into testResults.
 void runTest()
           This is the function that actually runs the test.
 void setUp()
           This function should initialize the testing environment, perhaps by opening a new window, or just setting initial values for class members.
 void tearDown()
           This function should clean up after setUp().
 function toString()
          
<static> TestSuite getSuite()
           Returns a TestSuite containing tests for all subclasses of TestCase.
 
Methods inherited from class Assert
assertArraysEqual, assertArraysIdentical, assertDefined, assertEqual, assertFalse, assertIdentical, assertNotIdentical, assertNotNull, assertNull, assertTrue, assertUndefined, fail
 

Constructor Detail

TestCase

function TestCase(name)
Method Detail

run

TestResults run(<TestResults> testResults)

runTest

void runTest()

setUp

void setUp()

tearDown

void tearDown()

toString

function toString()

getSuite

<static> TestSuite getSuite()

Sydney

SourceForge.net Logo