- Publicity: Public Only All
webtest-procs.tcl
Automated tests.
- Location:
- packages/forums/tcl/test/webtest-procs.tcl
- Created:
- 24 July 2018
- Author:
- Gustaf Neumann
Procedures in this file
- forums::test::edit (private)
- forums::test::new (private)
- forums::test::new_postings (private)
- forums::test::view (private)
Detailed information
forums::test::edit (private)
forums::test::edit -last_request last_request [ -forum_id forum_id ]
Edit a forum via the web interface.
- Switches:
- -last_request (required)
- -forum_id (optional, defaults to
"0"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forums::test::new (private)
forums::test::new [ -presentation_type presentation_type ] \ [ -posting_policy posting_policy ] [ -user_id user_id ] \ [ -user_info user_info ] name
Create a new forum via the web interface.
- Switches:
- -presentation_type (optional, defaults to
"flat"
)- -posting_policy (optional, defaults to
"open"
)- -user_id (optional, defaults to
"0"
)- -user_info (optional)
- Parameters:
- name (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forums::test::new_postings (private)
forums::test::new_postings [ -last_request last_request ] \ [ -forum_id forum_id ]
Add a posting to the provided forum via the web interface.
- Switches:
- -last_request (optional)
- -forum_id (optional, defaults to
"0"
)- Returns:
- message_id
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forums::test::view (private)
forums::test::view [ -last_request last_request ] \ [ -forum_id forum_id ] [ -name name ]
View a forum via the web interface.
- Switches:
- -last_request (optional)
- -forum_id (optional, defaults to
"0"
)- -name (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.