Methods for running tests and checking for success.
string |
previousFileName
@public
|
int |
testCount
@public
|
int |
failCount
@public
|
int |
fileTestCount
@public
|
int |
fileFailCount
@public
|
|
|
reportFile() @public |
|
fail(msg) @public | Logs error msg always.
|
|
true(actual, msg) @public | Logs an error when actual is FALSE.
Adds msg to the error message if it is present and not NIL.
|
|
false(actual, msg) @public | Logs an error when actual is TRUE.
Adds msg to the error message if it is present and not NIL.
|
|
notNil<Tp>(p, msg) @public | Logs an error when p is NIL
Adds msg to the error message if it is present and not NIL.
|
|
isNil<Tp>(p, msg) @public | Logs an error when p is not NIL
Adds msg to the error message if it is present and not NIL.
|
|
notEmpty(p, msg) @public | Logs an error when p is an empty string.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Logs an error when expected and actual are not equal.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Logs an error when expected and actual are not equal.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Logs an error when expected and actual are not equal.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Logs an error when expected and actual are not equal.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Logs an error when expected and actual are not equal.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Logs an error when expected and actual are not equal.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Logs an error when expected and actual are not equal.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Logs an error when expected and actual are not equal.
Adds msg to the error message if it is present and not NIL.
|
|
equal(expected, actual, msg) @public | Verify that expected and actual are equal.
Adds msg to the error message if it is present and not NIL.
|
|
contains(expected, actual, msg) @public | Verify that expected is present somewhere in actual.
Adds msg to the error message if it is present and not NIL.
|
|
shortDiff(expected, actual)
string, string @public | Returns a short summary of the difference between expected and
actual.
|
|
inRange(n, min, max, msg) @public | Logs an error when n < min and when n > max.
Adds msg to the error message if it is present and not NIL.
|
|