_acs-tcl__acs_object__package_id (private)

 _acs-tcl__acs_object__package_id

Defined in packages/acs-tcl/tcl/test/acs-tcl-test-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) acs_object::package_id acs_object::package_id (public) db_string db_string (public) _acs-tcl__acs_object__package_id _acs-tcl__acs_object__package_id _acs-tcl__acs_object__package_id->aa_equals _acs-tcl__acs_object__package_id->aa_log _acs-tcl__acs_object__package_id->aa_log_result _acs-tcl__acs_object__package_id->acs_object::package_id _acs-tcl__acs_object__package_id->db_string

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
    # Retrieve an objects_package_id
    set object_id [db_string get_object_id "select max(object_id) from acs_objects where package_id >0"]
    set package_id [db_string get_package_id "select package_id from acs_objects where object_id = :object_id"]
    aa_equals "package_id returned is correct" $package_id [acs_object::package_id -object_id $object_id]
}} {
          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" "acs_object__package_id (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: