- Publicity: Public Only All
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
- file_storage::test::add_file_to_folder (private)
- file_storage::test::call_fs_page (private)
- file_storage::test::create_file (private)
- file_storage::test::create_new_folder (private)
- file_storage::test::delete_current_folder (private)
- file_storage::test::delete_first_file (private)
- file_storage::test::edit_folder (private)
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):
- 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):
- 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):
- 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):
- 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):
- 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):
- 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):
- Testcases:
- fs_edit_folder, file-storage