webtest-procs.tcl

Automated tests.

Location:
packages/forums/tcl/test/webtest-procs.tcl
Created:
24 July 2018
Author:
Gustaf Neumann

Procedures in this file

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):
%3 aa_get_first_url aa_get_first_url (public) acs::test::form_reply acs::test::form_reply (public) acs::test::get_form acs::test::get_form (public) acs::test::http acs::test::http (public) acs::test::reply_contains acs::test::reply_contains (public) forums::test::edit forums::test::edit forums::test::edit->aa_get_first_url forums::test::edit->acs::test::form_reply forums::test::edit->acs::test::get_form forums::test::edit->acs::test::http forums::test::edit->acs::test::reply_contains

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):
%3 aa_get_first_url aa_get_first_url (public) acs::test::form_reply acs::test::form_reply (public) acs::test::get_form acs::test::get_form (public) acs::test::http acs::test::http (public) acs::test::reply_contains_no acs::test::reply_contains_no (public) forums::test::new forums::test::new forums::test::new->aa_get_first_url forums::test::new->acs::test::form_reply forums::test::new->acs::test::get_form forums::test::new->acs::test::http forums::test::new->acs::test::reply_contains_no

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):
%3 aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) aa_true aa_true (public) acs::test::follow_link acs::test::follow_link (public) acs::test::form_reply acs::test::form_reply (public) forums::test::new_postings forums::test::new_postings forums::test::new_postings->aa_get_first_url forums::test::new_postings->aa_log forums::test::new_postings->aa_true forums::test::new_postings->acs::test::follow_link forums::test::new_postings->acs::test::form_reply

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):
%3 aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) acs::test::follow_link acs::test::follow_link (public) acs::test::http acs::test::http (public) acs::test::reply_has_status_code acs::test::reply_has_status_code (public) forums::test::view forums::test::view forums::test::view->aa_get_first_url forums::test::view->aa_log forums::test::view->acs::test::follow_link forums::test::view->acs::test::http forums::test::view->acs::test::reply_has_status_code

Testcases:
No testcase defined.
[ show source ]