acs-tcl-test-procs.tcl

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
extend tests for naturalnum

Refine regex and extend tests

  1. … 1 more file in changeset.
Extend 'acs_tcl__util_url_valid_p' test case

Make the check for relative URLs less strict to cover some valid cases (see RFC 1808) and extend test cases.

  1. … 1 more file in changeset.
Add the 'relative' flag to 'util_url_valid_p', to check also relative URLs. Extend 'acs_tcl__util_url_valid_p' test case and bump package version.

  1. … 2 more files in changeset.
Refine URL validation regexp and extend 'acs_tcl__util_url_valid_p' test case.

  1. … 1 more file in changeset.
Added page_contract filter "object_id"

This change adds the page_contract filter "object_id", which validates

values whether these are syntactically acceptable as object_ids in

PostgreSQL and Oracle.

Note that before one is able to use the filter, the server has to be

restarted. Otherwise, when e.g. "apm/version_reload.tcl" would be

executed with the new filter, it would fail. So, one has to be careful

on update scripts, when people upgrade from old version not to create

a blocking mutual blocking condition.

  1. … 4 more files in changeset.
improved listing of covered procs

added page contract filter "printable" to avoid passing of binary values to certain pages

  1. … 2 more files in changeset.
extended regression test: increase coverage of page contract filters

move db-test case to db-regression test files

  1. … 1 more file in changeset.
mark private functions as private

  1. … 9 more files in changeset.
improve listing of test coverage

  1. … 17 more files in changeset.
improve listing of test coverage

  1. … 8 more files in changeset.
make listing of tested procs more complete

  1. … 18 more files in changeset.
make listing of tested procs more complete

  1. … 2 more files in changeset.
make listing of tested procs more complete

  1. … 6 more files in changeset.
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