_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):
- 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