_acs-templating__util_negative (private)
_acs-templating__util_negative
Defined in packages/acs-templating/tcl/test/date-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ set negative_true {-1 -0,6} set negative_false {"" 0 +1 lala} foreach value $negative_true { aa_true "Is $value negative?" [template::util::negative $value] } foreach value $negative_false { aa_false "Is $value negative?" [template::util::negative $value] } }} { aa_log "Running testcase body $body_count" set ::__aa_test_indent [info level] set catch_val [catch $testcase_body msg] if {$catch_val != 0 && $catch_val != 2} { aa_log_result "fail" "util_negative (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle