- Publicity: Public Only All
workflow-test-procs.tcl
Test helper procedure library for the acs-automated-testing tests of the workflow package.
- Location:
- packages/workflow/tcl/test/workflow-test-procs.tcl
- Created:
- 10 January 2003
- Author:
- Peter Marklund
- CVS Identification:
$Id: workflow-test-procs.tcl,v 1.21 2018/07/22 10:12:03 gustafn Exp $
Procedures in this file
- _workflow__bugtracker_workflow_clone (private)
- _workflow__bugtracker_workflow_create_array_style (private)
- _workflow__bugtracker_workflow_create_normal (private)
- _workflow__dynamic_simple_workflow (private)
- _workflow__hierarchical_workflow (private)
- _workflow__parallel_simple_workflow (private)
- _workflow__workflow_automatic_action (private)
- _workflow__workflow_spec_with_message_keys (private)
- workflow::test::action_short_names (public)
- workflow::test::admin_owner_id (public)
- workflow::test::array_lists_equal_p (public)
- workflow::test::assert_case_state (public)
- workflow::test::assert_user_actions (public)
- workflow::test::case_setup (public)
- workflow::test::get_message_key_spec (public)
- workflow::test::initial_action_short_name (public)
- workflow::test::run_bug_tracker_test (public)
- workflow::test::run_with_teardown (public)
- workflow::test::workflow_get_array_style_spec (public)
- workflow::test::workflow_id (public)
- workflow::test::workflow_name (public)
- workflow::test::workflow_object_id (public)
- workflow::test::workflow_object_id_2 (public)
- workflow::test::workflow_setup (public)
- workflow::test::workflow_setup_array_style (public)
- workflow::test::workflow_teardown (public)
Detailed information
_workflow__bugtracker_workflow_clone (private)
_workflow__bugtracker_workflow_clone
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
_workflow__bugtracker_workflow_create_array_style (private)
_workflow__bugtracker_workflow_create_array_style
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
_workflow__bugtracker_workflow_create_normal (private)
_workflow__bugtracker_workflow_create_normal
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
_workflow__dynamic_simple_workflow (private)
_workflow__dynamic_simple_workflow
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
_workflow__hierarchical_workflow (private)
_workflow__hierarchical_workflow
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
_workflow__parallel_simple_workflow (private)
_workflow__parallel_simple_workflow
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
_workflow__workflow_automatic_action (private)
_workflow__workflow_automatic_action
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
_workflow__workflow_spec_with_message_keys (private)
_workflow__workflow_spec_with_message_keys
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::action_short_names (public)
workflow::test::action_short_names action_id_list
Return the short names of the actions with given id:s
- Parameters:
- action_id_list (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::admin_owner_id (public)
workflow::test::admin_owner_id
Return the id of the site-wide-admin (the only person guaranteed to be on the system).
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::array_lists_equal_p (public)
workflow::test::array_lists_equal_p list1 list2
Are the two lists equal?
- Parameters:
- list1 (required)
- list2 (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
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 ]
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):
- Testcases:
- No testcase defined.
workflow::test::assert_user_actions (public)
workflow::test::assert_user_actions -workflow_id workflow_id \ -case_id case_id [ -user_id user_id ] \ [ -expect_user_actions expect_user_actions ]
Make assertions about user actions.
- Switches:
- -workflow_id (required)
- -case_id (required)
- -user_id (optional)
- -expect_user_actions (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::case_setup (public)
workflow::test::case_setup
Create a case of the Bug Tracker bug test workflow.
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::get_message_key_spec (public)
workflow::test::get_message_key_spec
Get a workflow array style spec containing message keys.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::initial_action_short_name (public)
workflow::test::initial_action_short_name
The short name of the initial action of the test workflow
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::run_bug_tracker_test (public)
workflow::test::run_bug_tracker_test [ -create_proc create_proc ]
- Switches:
- -create_proc (optional, defaults to
"workflow_setup"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::run_with_teardown (public)
workflow::test::run_with_teardown test_chunk teardown_chunk
Execute code in test chunk and guarantee that code in teardown_chunk will be executed even if error is thrown by the test_chunk.
- Parameters:
- test_chunk (required)
- teardown_chunk (required)
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::workflow_get_array_style_spec (public)
workflow::test::workflow_get_array_style_spec
Get the array-style spec for a workflow for the Bug Tracker Bug use case.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::workflow_id (public)
workflow::test::workflow_id
Get the id of the Bug Tracker bug workflow
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::workflow_name (public)
workflow::test::workflow_name
The short name used for the Bug Tracker Bug test workflow. It is assumed this short name will not be present in the system.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::workflow_object_id (public)
workflow::test::workflow_object_id
Return a dummy object_id for use for the workflow stuff.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::workflow_object_id_2 (public)
workflow::test::workflow_object_id_2
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::workflow_setup (public)
workflow::test::workflow_setup
Create a test workflow for the Bug Tracker Bug use case.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::workflow_setup_array_style (public)
workflow::test::workflow_setup_array_style
Create a test workflow for the Bug Tracker Bug use case.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
workflow::test::workflow_teardown (public)
workflow::test::workflow_teardown
Delete the Bug Tracker Bug test workflow.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.