acs-tcl-test-procs.tcl

  • last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add 'xml_doc_get_first_node', 'randomRange', 'whos_online::user_invisible_p' and 'site_node::get_url_from_object_id' to the list of covered procs of different testcases

  1. … 2 more files in changeset.
Add 'db_string', 'db_list' and 'db_list_of_lists' to the list of covered procs of different testcases

Intentation changes

Add 'db_flush_cache' to the list of covered procs of the 'db__caching' testcase

Add testcase for 'acs_user::ban' and 'acs_user::approve'

Move 'util::content_size_pretty' into 'acs-lang' and rename it to 'lc_content_size_pretty', localicing 'bytes' and adapting automated tests. Bump 'acs-lang' version.

  1. … 41 more files in changeset.
"Replace 'decimal' parameter with 'standard' in 'util::content_size_pretty', wich now supports three different standards (SI base-10, IEC base-2 and the old JEDEC base-2), change default to SI base-10 and modify automated tests accordingly". +info: https://en.wikipedia.org/wiki/Binary_prefix

  1. … 1 more file in changeset.
Add automated test for 'ad_decode' and 'util::interval_pretty' procs. Many thanks to Hanifa Hasan

Add new proc 'util::content_size_pretty', to prettify data size given in bytes, and its automated tests.

It supports both binary and decimal representations, a resolution up to YB/YiB, and setting the precision via parameter.

It should replace ad-hoc size prettyfication done manually in several places of the codebase.

  1. … 1 more file in changeset.
remove duplicated test case

Follow redirect to handle the vanilla dotlrn use case

whitespace changes

  1. … 1 more file in changeset.
automated tests: fix broken argument in test case

Relax the test as some homepages might redirect to the login page and little assumptions can be made about the content (fixes vanilla dotlrn case)

improve spelling

  1. … 13 more files in changeset.
Fix regression in 'if_no_rows' idiom for db_foreach, document alternative syntax, create a test for db_foreach main functionalities

  1. … 1 more file in changeset.
Proc "util_get_subset_missing": make sure to return the found elements.

Added test case for this proc.

  1. … 1 more file in changeset.
Make test locale-aware

whitespace cleanup

  1. … 11 more files in changeset.
correct the name of the tested proc

extend regression test

Provide tests for public procs: min and max

Provide tests for public procs: util_escape_quotes_for_csv

Provide tests for public procs: util_commify_number

Refactor test case for util_absolute_path_p

Provide tests for public procs: util_complete_url_p

Provide tests for public procs: util_absolute_path_p

Provide tests for public procs: util::trim_leading_zeros

Whitespace changes

Mention explicitly the tested procs in the test cases.