_acs-bootstrap-installer__get_package_files (private)

 _acs-bootstrap-installer__get_package_files

Defined in packages/acs-bootstrap-installer/tcl/test/30-apm-load-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_log aa_log (public) aa_log_result aa_log_result (public) aa_true aa_true (public) acs_package_root_dir acs_package_root_dir (public) ad_find_all_files ad_find_all_files (public) _acs-bootstrap-installer__get_package_files _acs-bootstrap-installer__get_package_files _acs-bootstrap-installer__get_package_files->aa_log _acs-bootstrap-installer__get_package_files->aa_log_result _acs-bootstrap-installer__get_package_files->aa_true _acs-bootstrap-installer__get_package_files->acs_package_root_dir _acs-bootstrap-installer__get_package_files->ad_find_all_files

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
        set package_key acs-tcl

        set package_files [apm_get_package_files -all -package_key $package_key]

        set package_path [acs_package_root_dir $package_key]
        set package_length [string length $package_path]
        foreach f [ad_find_all_files $package_path] {
            set f [string range $f $package_length+1 end]
            aa_true "File '$f' belongs to '$package_key' and was found by the API" {
                $f in $package_files
            }
        }
    }} {
          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" "get_package_files (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
Generic XQL file:
packages/acs-bootstrap-installer/tcl/test/30-apm-load-procs.xql

PostgreSQL XQL file:
packages/acs-bootstrap-installer/tcl/test/30-apm-load-procs-postgresql.xql

Oracle XQL file:
packages/acs-bootstrap-installer/tcl/test/30-apm-load-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: