_acs-tcl__db_boolean (private)
_acs-tcl__db_boolean
Defined in packages/acs-tcl/tcl/test/db-proc-test-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 bool_true {t 1 -1 true 1234 yes TRUE YES on ON} set bool_false {f 0 false no FALSE NO off OFF Off} foreach value $bool_true { aa_equals "Is $value true?" [db_boolean $value] "t" } foreach value $bool_false { aa_equals "Is $value false?" [db_boolean $value] "f" } }} { 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" "db_boolean (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle