webtest-procs.tcl

Support functions for automated tests of file storage.

Location:
packages/file-storage/tcl/test/webtest-procs.tcl
Author:
Gustaf Neumann

Procedures in this file

Detailed information

file_storage::test::add_file_to_folder (private)

 file_storage::test::add_file_to_folder -last_request last_request \
    folder_name file_name file_description

Adds a file to a folder from the UI.

Switches:
-last_request (required)
Parameters:
folder_name (required)
file_name (required)
file_description (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_file-storage file-storage (test ) file_storage::test::add_file_to_folder file_storage::test::add_file_to_folder test_file-storage->file_storage::test::add_file_to_folder test_fs_add_file_to_folder fs_add_file_to_folder (test ) test_fs_add_file_to_folder->file_storage::test::add_file_to_folder aa_error aa_error (public) file_storage::test::add_file_to_folder->aa_error aa_log aa_log (public) file_storage::test::add_file_to_folder->aa_log aa_true aa_true (public) file_storage::test::add_file_to_folder->aa_true acs::test::follow_link acs::test::follow_link (public) file_storage::test::add_file_to_folder->acs::test::follow_link acs::test::form_get_fields acs::test::form_get_fields (public) file_storage::test::add_file_to_folder->acs::test::form_get_fields

Testcases:
fs_add_file_to_folder, file-storage

file_storage::test::call_fs_page (private)

 file_storage::test::call_fs_page [ -last_request last_request ]

Requests the file-storage page.

Switches:
-last_request (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_file-storage file-storage (test ) file_storage::test::call_fs_page file_storage::test::call_fs_page test_file-storage->file_storage::test::call_fs_page test_fs_add_file_to_folder fs_add_file_to_folder (test ) test_fs_add_file_to_folder->file_storage::test::call_fs_page aa_get_first_url aa_get_first_url (public) file_storage::test::call_fs_page->aa_get_first_url acs::test::http acs::test::http (public) file_storage::test::call_fs_page->acs::test::http

Testcases:
fs_add_file_to_folder, file-storage

file_storage::test::create_file (private)

 file_storage::test::create_file f_name

Creates a temporary file.

Parameters:
f_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 ad_tmpdir ad_tmpdir (public) util::which util::which (public) file_storage::test::create_file file_storage::test::create_file file_storage::test::create_file->ad_tmpdir file_storage::test::create_file->util::which

Testcases:
No testcase defined.

file_storage::test::create_new_folder (private)

 file_storage::test::create_new_folder -last_request last_request \
    folder_name folder_description

Create a new folder via Web UI.

Switches:
-last_request (required)
Parameters:
folder_name (required)
folder_description (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_file-storage file-storage (test ) file_storage::test::create_new_folder file_storage::test::create_new_folder test_file-storage->file_storage::test::create_new_folder test_fs_add_file_to_folder fs_add_file_to_folder (test file-storage) test_fs_add_file_to_folder->file_storage::test::create_new_folder test_fs_create_folder fs_create_folder (test ) test_fs_create_folder->file_storage::test::create_new_folder test_fs_edit_folder fs_edit_folder (test file-storage) test_fs_edit_folder->file_storage::test::create_new_folder aa_error aa_error (public) file_storage::test::create_new_folder->aa_error aa_true aa_true (public) file_storage::test::create_new_folder->aa_true acs::test::follow_link acs::test::follow_link (public) file_storage::test::create_new_folder->acs::test::follow_link acs::test::form_reply acs::test::form_reply (public) file_storage::test::create_new_folder->acs::test::form_reply acs::test::get_form acs::test::get_form (public) file_storage::test::create_new_folder->acs::test::get_form

Testcases:
fs_create_folder, file-storage, fs_edit_folder, fs_add_file_to_folder

file_storage::test::delete_current_folder (private)

 file_storage::test::delete_current_folder -last_request last_request

Delete the current folder via Web UI.

Switches:
-last_request (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_file-storage file-storage (test ) file_storage::test::delete_current_folder file_storage::test::delete_current_folder test_file-storage->file_storage::test::delete_current_folder test_fs_create_folder fs_create_folder (test ) test_fs_create_folder->file_storage::test::delete_current_folder test_fs_edit_folder fs_edit_folder (test file-storage) test_fs_edit_folder->file_storage::test::delete_current_folder _ _ (public) file_storage::test::delete_current_folder->_ aa_true aa_true (public) file_storage::test::delete_current_folder->aa_true acs::test::follow_link acs::test::follow_link (public) file_storage::test::delete_current_folder->acs::test::follow_link acs::test::form_reply acs::test::form_reply (public) file_storage::test::delete_current_folder->acs::test::form_reply acs::test::get_form acs::test::get_form (public) file_storage::test::delete_current_folder->acs::test::get_form

Testcases:
fs_create_folder, file-storage, fs_edit_folder

file_storage::test::delete_first_file (private)

 file_storage::test::delete_first_file -last_request last_request \
    file_name

Delete the current file via Web UI.

Switches:
-last_request (required)
Parameters:
file_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_log aa_log (public) aa_true aa_true (public) acs::test::dom_html acs::test::dom_html (public) acs::test::form_reply acs::test::form_reply (public) acs::test::get_form acs::test::get_form (public) file_storage::test::delete_first_file file_storage::test::delete_first_file file_storage::test::delete_first_file->aa_log file_storage::test::delete_first_file->aa_true file_storage::test::delete_first_file->acs::test::dom_html file_storage::test::delete_first_file->acs::test::form_reply file_storage::test::delete_first_file->acs::test::get_form

Testcases:
No testcase defined.

file_storage::test::edit_folder (private)

 file_storage::test::edit_folder -last_request last_request folder_name

Create a new folder via Web UI.

Switches:
-last_request (required)
Parameters:
folder_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_file-storage file-storage (test ) file_storage::test::edit_folder file_storage::test::edit_folder test_file-storage->file_storage::test::edit_folder test_fs_edit_folder fs_edit_folder (test ) test_fs_edit_folder->file_storage::test::edit_folder aa_error aa_error (public) file_storage::test::edit_folder->aa_error aa_true aa_true (public) file_storage::test::edit_folder->aa_true acs::test::follow_link acs::test::follow_link (public) file_storage::test::edit_folder->acs::test::follow_link acs::test::form_reply acs::test::form_reply (public) file_storage::test::edit_folder->acs::test::form_reply acs::test::get_form acs::test::get_form (public) file_storage::test::edit_folder->acs::test::get_form

Testcases:
fs_edit_folder, file-storage
[ show source ]