_search__extra_args (private)
_search__extra_args
Defined in packages/search/tcl/test/search-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 expected_names [list] foreach procname [info procs ::callback::search::extra_arg::impl::*] { lappend expected_names [namespace tail $procname] } aa_equals "Extra arg names are expected" [search::extra_args_names] $expected_names foreach arg $expected_names { unset -nocomplain $arg } aa_equals "Extra args returns empty when no var is defined" [search::extra_args] "" set expected_values [list] set i 0 foreach arg $expected_names { set $arg $i lappend expected_values $arg $i incr i } aa_equals "Extra args returns the values defined in the caller scope" [lsort [search::extra_args]] [lsort $expected_values] set expected_contract "" foreach name $expected_names { append expected_contract "\{$name \{\}\}\n" } aa_equals "Extra args contract returns expected" [search::extra_args_page_contract] $expected_contract }} { 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" "extra_args (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle