_acs-tcl__object_p (private)
_acs-tcl__object_p
Defined in packages/acs-tcl/tcl/test/object-test-case-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ aa_run_with_teardown -rollback -test_code { # # Check with an unused object_id # set object_id [db_nextval acs_object_id_seq] aa_false "Is $object_id an object?" [acs_object::object_p -id $object_id] # # Fetch an existing object # set object_id [db_string q {select max(object_id) from acs_objects}] aa_true "Is $object_id an object?" [acs_object::object_p -id $object_id] # # Create an object and check # set object_id [package_instantiate_object acs_object] aa_true "Is $object_id an object?" [acs_object::object_p -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" "object_p (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle