Class Index | File Index

Classes


Class core.UnitTester


Defined in: UnitTester.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
<inner>  
link(text, code)
<inner>  
report(r)
 
 
 
runTests(TestClass, callback, testNames)
Run the tests from TestClass.
Class Detail
core.UnitTester()
Field Detail
resourcePrefix
Method Detail
{!number} failedTestsCount()
Returns:
{!number}

<inner> {!string} link(text, code)
Parameters:
{!string} text
{!string} code
Returns:
{!string}

<inner> report(r)
Parameters:
{!{description:string|suite:!Array.|success:boolean|log:!Array.<{category:string|message:string}>|time:number}} r

reporter(r)
Parameters:
r

{!Object} results()
Returns:
{!Object}

{undefined} runTests(TestClass, callback, testNames)
Run the tests from TestClass. If parameter testNames is supplied only the tests with the names supplied in that array will be executed.
Parameters:
{!function(new:core.UnitTest|core.UnitTestRunner)} TestClass
The constructor for the test class.
{!function():undefined} callback
{!Array.} testNames
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 12 2015 18:24:51 GMT+0100 (MEZ)