_acs-templating__get_url_directory (private)
_acs-templating__get_url_directory
Defined in packages/acs-templating/tcl/test/util-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 url_dirs { // // /test / /test/ /test/ /test/foo/bar /test/foo/ /test/foo/bar/ /test/foo/bar/ } dict for {url dir} $url_dirs { aa_equals "Url: $url, directory: $dir" [template::util::get_url_directory $url] $dir } }} { 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" "get_url_directory (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle