_acs-templating__read_write_file (private)
_acs-templating__read_write_file
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 tmpfile [ns_config ns/parameters tmpdir]/__test_acs_templating_read_write_file.txt foreach v { avalue anötervalue 1234 &scene } { template::util::write_file $tmpfile $v aa_equals "In/out from file returns the same" [template::util::read_file $tmpfile] $v } }} { 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" "read_write_file (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle