acs-tcl-test-procs.tcl

  • last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Avoid testing all site nodes on 'site_node_get_children', if the number of them is too large, as it can take too long

improve spelling

  1. … 16 more files in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 34 more files in changeset.
ad_urlencode_url: add a slash to the path when this is not empty, fix test case

  1. … 1 more file in changeset.
Extend test

Expose a regression after changes for bug #3437

fix for issue #3437, extend regression test

  1. … 1 more file in changeset.
Introduce two new export_vars tests exposing that, when base URL ends with a ?, result is not what the user should expect

Add more borderline cases for those tempted to reimplement these procs

Move min and max procs in the util:: namespace, improve documentation, improve tests, create deprecated wrappers

  1. … 1 more file in changeset.
Rename 'random', 'randomInit' and 'randomRange' procs to something compliant to OpenACS naming convention, replace occurrences, create deprecated wrapper

  1. … 7 more files in changeset.
Remove unnecessary 'aa_run_with_teardown'

  1. … 3 more files in changeset.
Add 'db_dml', 'db_0or1row' , 'db_abort_transaction' and 'db_multirow' to the list of covered procs of different testcases

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.