_acs-admin__apm_higher_version_installed_p (private)

 _acs-admin__apm_higher_version_installed_p

Defined in packages/acs-admin/tcl/test/acs-admin-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_equals aa_equals (public) aa_log aa_log (public) aa_log_result aa_log_result (public) aa_run_with_teardown aa_run_with_teardown (public) apm_higher_version_installed_p apm_higher_version_installed_p (public) _acs-admin__apm_higher_version_installed_p _acs-admin__apm_higher_version_installed_p _acs-admin__apm_higher_version_installed_p->aa_equals _acs-admin__apm_higher_version_installed_p->aa_log _acs-admin__apm_higher_version_installed_p->aa_log_result _acs-admin__apm_higher_version_installed_p->aa_run_with_teardown _acs-admin__apm_higher_version_installed_p->apm_higher_version_installed_p

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

    aa_run_with_teardown  -rollback  -test_code {

            set is_lower [apm_higher_version_installed_p acs-admin "1"]
            aa_equals "is the version of acs-admin higher than 0.1d?" $is_lower -1

            set is_higher [apm_higher_version_installed_p acs-admin "1000"]
            aa_equals "is the version of acs-admin lower than 1000.1d?" $is_higher 1

        }
}} {
          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_higher_version_installed_p (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: