workflow::test::assert_case_state (public)

 workflow::test::assert_case_state -workflow_id workflow_id \
    -case_id case_id [ -user_id user_id ] \
    -expect_current_state expect_current_state \
    -expect_enabled_actions expect_enabled_actions \
    [ -expect_user_actions expect_user_actions ]

Defined in packages/workflow/tcl/test/workflow-test-procs.tcl

Make assertions about what the current state should be and what actions are enabled etc.

Switches:
-workflow_id (required)
-case_id (required)
-user_id (optional)
-expect_current_state (required)
-expect_enabled_actions (required)
-expect_user_actions (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 workflow::test::run_bug_tracker_test workflow::test::run_bug_tracker_test (public) workflow::test::assert_case_state workflow::test::assert_case_state workflow::test::run_bug_tracker_test->workflow::test::assert_case_state aa_log aa_log (public) workflow::test::assert_case_state->aa_log aa_true aa_true (public) workflow::test::assert_case_state->aa_true util_sets_equal_p util_sets_equal_p (public) workflow::test::assert_case_state->util_sets_equal_p workflow::case::fsm::get_state_info workflow::case::fsm::get_state_info (private) workflow::test::assert_case_state->workflow::case::fsm::get_state_info workflow::case::get_available_actions workflow::case::get_available_actions (public, deprecated) workflow::test::assert_case_state->workflow::case::get_available_actions

Testcases:
No testcase defined.
[ show source ]
Show another procedure: