Search:
jsunit.js
file jsunit.js
Class Summary
Exception that is thrown for failed unit tests
Function Summary
assert(expr, msg)
Check if condition is true and throw exception if it is not
Function Details
function assert
assert(expr, msg)
Check if condition is true and throw exception if it is not
Parameters:
expr - expression to checkmsg - diagnostic message that is included into exception
jgrouse.jsunit.AssertionException is thrown when assertion fails
Defined in jsunit.js