_acs-tcl__util_memoize_cache_flush (private)
_acs-tcl__util_memoize_cache_flush
Defined in packages/acs-tcl/tcl/test/memoizing-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 {{ aa_log "caching" util_memoize {memoizing_procs_test::return_string -name "foobar"} aa_log "checking if the proc is cached" aa_log "flushing" util_memoize_flush_regexp {return_upper_case_text} set success_p [util_memoize_cached_p {memoizing_procs_test::return_upper_case_text -txt "foobar"}] aa_equals "proc was flushed successful" $success_p 0 }} { 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_memoize_cache_flush (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle