_acs-tcl__apm_respositories_api (private)

 _acs-tcl__apm_respositories_api

Defined in packages/acs-tcl/tcl/test/apm-install-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_equals aa_equals (public) aa_false aa_false (public) aa_log aa_log (public) aa_log_result aa_log_result (public) apm_get_repository_channels apm_get_repository_channels (public) _acs-tcl__apm_respositories_api _acs-tcl__apm_respositories_api _acs-tcl__apm_respositories_api->aa_equals _acs-tcl__apm_respositories_api->aa_false _acs-tcl__apm_respositories_api->aa_log _acs-tcl__apm_respositories_api->aa_log_result _acs-tcl__apm_respositories_api->apm_get_repository_channels

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
        set repos failed

        aa_false "Fetching the repos succeeds"  [catch {set repos [apm_get_repository_channels]} errmsg]

        foreach repo $repos {
            aa_equals "Repo entry '$repo' is made by 2 elements"  [llength $repo] 2
        }
    }} {
          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" "apm_respositories_api (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: