_acs-tcl__documentation__check_deprecated_see (private)
_acs-tcl__documentation__check_deprecated_see
Defined in packages/acs-tcl/tcl/test/doc-check-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 count 0 set good 0 foreach p [lsort -dictionary [nsv_array names api_proc_doc]] { set pa [nsv_get api_proc_doc $p] if { ([dict exists $pa deprecated_p] && [dict get $pa deprecated_p]) || ([dict exists $pa warn_p] && [dict get $pa warn_p]) } { incr count if { ![dict exists $pa see] || [string is space [dict get $pa see]] } { aa_silence_log_entries -severities warning { aa_log_result fail "No @see for deprecated proc [api_proc_link $p]" } } else { incr good } } } aa_log "Found $good of $count procs checked" }} { 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" "documentation__check_deprecated_see (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle