_workflow__workflow_spec_with_message_keys (private)

 _workflow__workflow_spec_with_message_keys

Defined in packages/workflow/tcl/test/workflow-test-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) util::array_list_spec_pretty util::array_list_spec_pretty (public) workflow::delete workflow::delete (public) _workflow__workflow_spec_with_message_keys _workflow__workflow_spec_with_message_keys _workflow__workflow_spec_with_message_keys->aa_log _workflow__workflow_spec_with_message_keys->aa_log_result _workflow__workflow_spec_with_message_keys->aa_true _workflow__workflow_spec_with_message_keys->util::array_list_spec_pretty _workflow__workflow_spec_with_message_keys->workflow::delete

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

        set workflow_id [workflow::fsm::new_from_spec  -spec [workflow::test::get_message_key_spec]]

        set generated_spec [workflow::fsm::generate_spec -workflow_id $workflow_id]
        
        if { ![aa_true "Checking that generated spec 2 is identical to the spec that we created from (except for ordering)"  [array_lists_equal_p $generated_spec [workflow::test::get_message_key_spec]]] } {
            ns_log Error "Workflow test case failed: \nDesired spec: [workflow::test::get_message_key_spec]\n\nActual spec:\n\n[util::array_list_spec_pretty $generated_spec]"
        }
    }

    set teardown_chunk {
        set workflow_id [workflow::get_id -package_key acs-automated-testing -short_name test_message_keys]
        workflow::delete -workflow_id $workflow_id
    }
    
    workflow::test::run_with_teardown $test_chunk $teardown_chunk
}} {
          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_spec_with_message_keys (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: