_acs-tcl__ad_parameter_from_configuration_file (private)
_acs-tcl__ad_parameter_from_configuration_file
Defined in packages/acs-tcl/tcl/test/defs-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 {{ foreach section [ns_configsections] { set section_name [ns_set name $section] if {[regexp ^ns/server/[ns_info server]/acs(.*)\$ $section_name _ package_key]} { set found_p 1 set package_key [string trimleft $package_key /] foreach key [ns_set keys $section] { set expected [ns_set get $section $key] set result [ad_parameter_from_configuration_file $key $package_key] aa_equals "Value is expected" $result $expected } } } if {![info exists found_p]} { aa_log "No parameter exposed to the API was found in the server conf." } }} { 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" "ad_parameter_from_configuration_file (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle