_acs-tcl__object_name (private)

 _acs-tcl__object_name

Defined in packages/acs-tcl/tcl/test/object-test-case-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_name acs_object_name (public) db_foreach db_foreach (public) _acs-tcl__object_name _acs-tcl__object_name _acs-tcl__object_name->aa_equals _acs-tcl__object_name->aa_log _acs-tcl__object_name->aa_log_result _acs-tcl__object_name->acs_object_name _acs-tcl__object_name->db_foreach

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
    db_foreach get_objects {
        select object_id, acs_object.name(object_id) as name
        from acs_objects
        order by object_id desc
        fetch first 10 rows only
    } {
        aa_equals "Api retrieves the correct name '$name' for object_id '$object_id'"  [acs_object_name $object_id$name
    }
}} {
          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" "object_name (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: