_acs-templating__util_is_nil (private)

 _acs-templating__util_is_nil

Defined in packages/acs-templating/tcl/test/util-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_false aa_false (public) aa_log aa_log (public) aa_log_result aa_log_result (public) aa_true aa_true (public) template::util::is_nil template::util::is_nil (public) _acs-templating__util_is_nil _acs-templating__util_is_nil _acs-templating__util_is_nil->aa_false _acs-templating__util_is_nil->aa_log _acs-templating__util_is_nil->aa_log_result _acs-templating__util_is_nil->aa_true _acs-templating__util_is_nil->template::util::is_nil

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
    aa_true "'test' is nil?" [template::util::is_nil test]

    set test 1
    aa_false "'test' is nil?" [template::util::is_nil test]

    set test ""
    aa_true "'test' is nil?" [template::util::is_nil test]

    unset test
    array set test {}
    aa_false "'test' is nil?" [template::util::is_nil test]
}} {
          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_is_nil (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: