OPEN INTRA-MART im-UISupplements Client Side JavaScript

クラス im.jsunit.TestResult

Object
   |
   +--im.jsunit.TestResult

class im.jsunit.TestResult


クラスの説明
Version: 0.1

Author: emooru
Defined in TestResult.js


コンストラクタの概要
im.jsunit.TestResult()
            コンストラクタの説明。
 
メソッドの概要
 void addError(&l<im.lang.Throwable> t;im.jsunit.Test> test, t)
           Adds an error to the list of errors.
 void addFailure(&l<im.lang.AssertionFailedError> t;im.jsunit.Test> test, t)
           Adds a failure to the list of failures.
 void addListener(<im.jsunit.TestListener> listener)
           Registers a TestListener
 void endTest(<im.jsunit.Test> test)
           Informs the result that a test was completed.
 Number errorCount()
           Gets the number of detected errors.
 im.util.Iterator errors()
           Returns an Iterator for the errors.
 Number failureCount()
           Gets the number of detected failures.
 im.util.Iterator failures()
           Returns an Iterator for the failures.
 void removeListener(<im.jsunit.TestListener> listener)
           Unregisters a TestListener
 Number runCount()
           Gets the number of run tests.
 void runProtected(<im.jsunit.Test> test, <im.jsunit.Protectable> p)
           Runs a TestCase.
 Boolean shouldStop()
           Checks whether the test run should stop.
 void startTest(<im.jsunit.Test> test)
           Informs the result that a test will be started.
 void stop()
           Marks that the test run should stop.
 Boolean wasSuccessful()
           Returns whether the entire test was successful or not.

コンストラクタの詳細

im.jsunit.TestResult

im.jsunit.TestResult()

メソッドの詳細

addError

void addError(&l<im.lang.Throwable> t;im.jsunit.Test> test, t)

addFailure

void addFailure(&l<im.lang.AssertionFailedError> t;im.jsunit.Test> test, t)

addListener

void addListener(<im.jsunit.TestListener> listener)

endTest

void endTest(<im.jsunit.Test> test)

errorCount

Number errorCount()

errors

im.util.Iterator errors()

failureCount

Number failureCount()

failures

im.util.Iterator failures()

removeListener

void removeListener(<im.jsunit.TestListener> listener)

runCount

Number runCount()

runProtected

void runProtected(<im.jsunit.Test> test, <im.jsunit.Protectable> p)

shouldStop

Boolean shouldStop()

startTest

void startTest(<im.jsunit.Test> test)

stop

void stop()

wasSuccessful

Boolean wasSuccessful()

OPEN INTRA-MART im-UISupplements Client Side JavaScript

このドキュメントはJSDoc によって Sun Sep 28 20:00:25 2008に作成されました。