_oacs-dav__oacs_dav_sc_create (private)

 _oacs-dav__oacs_dav_sc_create

Defined in packages/oacs-dav/tcl/test/oacs-dav-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_log aa_log (public) aa_log_result aa_log_result (public) aa_true aa_true (public) db_0or1row db_0or1row (public) db_list db_list (public) _oacs-dav__oacs_dav_sc_create _oacs-dav__oacs_dav_sc_create _oacs-dav__oacs_dav_sc_create->aa_log _oacs-dav__oacs_dav_sc_create->aa_log_result _oacs-dav__oacs_dav_sc_create->aa_true _oacs-dav__oacs_dav_sc_create->db_0or1row _oacs-dav__oacs_dav_sc_create->db_list

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
    aa_true "DAV Service contract created" [db_0or1row get_dav_sc {
        select * from acs_sc_contracts where contract_name='dav'
    }]
    set sc_ops [db_list get_dav_ops {
        select operation_name from acs_sc_operations where contract_name='dav'
    }]
    set valid_ops [list get put mkcol copy propfind proppatch move delete]
    foreach op_name $valid_ops {
        aa_true "$op_name operation created"  {$op_name in $sc_ops}
    }

    aa_true "DAV put_type Service contract created"  [db_0or1row get_dav_pt_sc {
            select * from acs_sc_contracts where contract_name='dav_put_type'
        }]
    aa_true "get_type operation created"  [db_0or1row get_dav_pt_op {
            select operation_name from acs_sc_operations where
            contract_name='dav_put_type'
            and operation_name='get_type'

        }]
}} {
          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" "oacs_dav_sc_create (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
XQL Not present:
Oracle
Generic XQL file:
packages/oacs-dav/tcl/test/oacs-dav-procs.xql

PostgreSQL XQL file:
packages/oacs-dav/tcl/test/oacs-dav-procs-postgresql.xql

[ hide source ] | [ make this the default ]
Show another procedure: