_faq__faq_create_and_retrieve (private)

 _faq__faq_create_and_retrieve

Defined in packages/faq/tcl/test/faq-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) aa_true aa_true (public) _faq__faq_create_and_retrieve _faq__faq_create_and_retrieve _faq__faq_create_and_retrieve->aa_equals _faq__faq_create_and_retrieve->aa_log _faq__faq_create_and_retrieve->aa_log_result _faq__faq_create_and_retrieve->aa_run_with_teardown _faq__faq_create_and_retrieve->aa_true

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
        aa_run_with_teardown -rollback -test_code {
            set faq_id [faq::new -faq_name "__test_faq" -separate]

            faq::get_instance_info -arrayname __test_array -faq_id $faq_id

            aa_equals "FAQ name is expected"  $__test_array(faq_name) __test_faq
            aa_true "FAQ separate_p is expected"  $__test_array(separate_p)
        }
    }} {
          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" "faq_create_and_retrieve (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: