_acs-bootstrap-installer__db_qd__apply_frames (private)

 _acs-bootstrap-installer__db_qd__apply_frames

Defined in packages/acs-bootstrap-installer/tcl/test/00-proc-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
aa_equals aa_equals (public) aa_log aa_log (public) aa_log_result aa_log_result (public) db_qd_get_fullname db_qd_get_fullname (public) db_qd_test_lambda_scope db_qd_test_lambda_scope (private) _acs-bootstrap-installer__db_qd__apply_frames _acs-bootstrap-installer__db_qd__apply_frames _acs-bootstrap-installer__db_qd__apply_frames->aa_equals _acs-bootstrap-installer__db_qd__apply_frames->aa_log _acs-bootstrap-installer__db_qd__apply_frames->aa_log_result _acs-bootstrap-installer__db_qd__apply_frames->db_qd_get_fullname _acs-bootstrap-installer__db_qd__apply_frames->db_qd_test_lambda_scope

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
        set warnings {}
        set trace_cmd [list apply {{level command operation} {
            if {[string equal -nocase [lindex $command 1] warning]
                && [string match "db_qd_get_fullname:*" [lindex $command 2]]} {
                upvar #$level warnings warnings
                lappend warnings $command
            }
        }} [info level]]
        trace add execution ns_log enter $trace_cmd
        try {
            set documented [db_qd_test_lambda_scope example]
            set inline [uplevel #0 {
                apply {{} {db_qd_get_fullname example 0}}
            }]
        } finally {
            trace remove execution ns_log enter $trace_cmd
        }

        aa_equals "Nested apply resolves in the documented procedure" $documented  dbqd.acs-bootstrap-installer.tcl.test.00-proc-procs.db_qd_test_lambda_scope.example
        aa_equals "Shell-style inline query uses the null path" $inline dbqd..NULL
        aa_equals "Query resolution emitted no warnings" $warnings {}
    }} {
          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_qd__apply_frames (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: