_acs-templating__adp_level (private)
_acs-templating__adp_level
Defined in packages/acs-templating/tcl/test/parse-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 template_adp_level $::template::parse_level try { unset -nocomplain ::template::parse_level aa_equals "When no parse level is set, result is empty" [template::adp_level] "" set ::template::parse_level [list 1 2 3] aa_equals "With a parse level, result is the last level" [template::adp_level] 3 aa_true "Up must be an integer" [catch { template::adp_level broken } errmsg] aa_equals "Up is the number of elements we go up in the parse level" [template::adp_level 3] 1 } finally { set ::template::parse_level $template_adp_level } }} { 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" "adp_level (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle