assert |
Same as assertTrue, simply passes bVal to assertCheck. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting a true here for a passing mark. |
|
assertTrue |
Simply passes bVal to assertCheck. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting a true here for a passing mark. |
|
assertFalse |
simply passes the NOT value of bVal to assertCheck. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting a false here for a passing mark. |
|
assertEquals |
Compares the second and third parameters to see if they are equal. |
sCom |
Comment for alert being checked |
sVal1 |
Value of any type that will be used to compare against sVal2. |
sVal2 |
Value of any type that will be used to compare against sVal1. |
|
assertNotEquals |
Compares the second and third parameters to see if they are NOT equal. |
sCom |
Comment for alert being checked |
sVal1 |
Value of any type that will be used to compare against sVal2. |
sVal2 |
Value of any type that will be used to compare against sVal1. |
|
assertNull |
Checks for a null value and passes true to assertCheck when found. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting a null here for a passing mark. |
|
assertNotNull |
Checks for a non-null value and passes true to assertCheck when not found. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting any value but null here for a passing mark. |
|
assertNaN |
Checks for a non-numeric value and passes true to assertCheck when not a number. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting any value but a number here for a passing mark. |
|
assertNotNaN |
Checks for a numeric value and passes true to assertCheck when a number is found. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting a number here for a passing mark. |
|
assertStringLength |
Checks for a string value with a length > 0 and passes true to assertCheck when a sting has 1 or more characters. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting a string with a length > 0 here for a passing mark. |
|
assertCheck |
Called by all asserts. Responsible for writing output to debug control. |
sCom |
Comment for alert being checked |
bVal |
Result from assert. Expecting a true here for a passing mark. |
sMsg |
Reason for failure |
|
clearDebug |
Clears debug text output. |
Returns |
true when successful |
|
displayDebug |
Writes output to the debug control. If no control found it will attempt to create a new control and append it to the document body. This brings about an interesting problem with IE since it will yield an "Operation Aborted" error if done before the page loads so there is custom code to wait until the page is loaded until the control is added. |
Returns |
true when successful |
|