_xowf__workflow_constructs (private)

 _xowf__workflow_constructs

Defined in packages/xowf/tcl/test/xowf-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) aa_silence_log_entries aa_silence_log_entries (public) _xowf__workflow_constructs _xowf__workflow_constructs _xowf__workflow_constructs->aa_equals _xowf__workflow_constructs->aa_log _xowf__workflow_constructs->aa_log_result _xowf__workflow_constructs->aa_silence_log_entries

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{

        ::xowf::WorkflowConstruct instforward true set "" 1
        ::xowf::WorkflowConstruct instforward false set "" 0

        #
        # Silence message "cannot determine wf_context from call-stack"
        #
        aa_silence_log_entries -severities warning {
            ::xowf::WorkflowConstruct x
        }

        aa_equals "non-conditional test with empty" [x get_value """"
        aa_equals "non-conditional test with nonempty scalar" [x get_value "a""a"

        aa_equals "non-conditional test with nonempty list" [x get_value {a b}] "a b"
        aa_equals "non-conditional test with nonempty list" [x get_value "a b""a b"

        aa_equals "conditional test, true branch" [x get_value "? true a default b""a"
        aa_equals "conditional test, false branch" [x get_value "? false a default b""b"

        aa_equals "conditional test, true branch list" [x get_value "? true {a b} default {b c}""a b"
        aa_equals "conditional test, false branch list" [x get_value "? false {a b} default {b c}""b c"
    }} {
          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" "workflow_constructs (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: