• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
don't leak user_ids from regression test case

make tested API calls explicit

    • -4
    • +19
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
    • -3
    • +4
    ./acs-tcl/tcl/test/navigation-procs.tcl
    • -7
    • +23
    ./acs-tcl/tcl/test/site-nodes-test-procs.tcl
prefer built-in ns_dbquotevalue over DoubleApos

    • -6
    • +2
    ./webmail/www/message-send-add-attachment.tcl
improve spelling

modernize Tcl

normalize boolean expressions in .adp files

prefer built-in ns_dbquotevalue over DoubleApos

    • -3
    • +3
    ./ecommerce/tcl/ecommerce-widgets-procs.tcl
    • -3
    • +2
    ./ecommerce/www/admin/customer-service/index.tcl
    • -2
    • +2
    ./ecommerce/www/admin/email-templates/add-2.tcl
    • -2
    • +2
    ./ecommerce/www/admin/email-templates/edit-2.tcl
    • -3
    • +3
    ./ecommerce/www/admin/retailers/add-3.tcl
    • -3
    • +3
    ./ecommerce/www/admin/retailers/edit-2.tcl
    • -2
    • +2
    ./ecommerce/www/admin/templates/add-3.tcl
    • -2
    • +2
    ./ecommerce/www/admin/templates/delete-2.tcl
    • -2
    • +2
    ./ecommerce/www/admin/user-classes/add-2.tcl
  1. … 3 more files in changeset.
normalize boolean expressions in .adp files

    • -7
    • +7
    ./ecommerce/www/checkout-one-form-2.tcl
    • -1
    • +1
    ./ecommerce/www/gift-certificate-claim-2.adp
    • -2
    • +2
    ./ecommerce/www/shopping-cart-oracle.xql
    • -1
    • +2
    ./ecommerce/www/admin/customer-reviews/one.tcl
  1. … 20 more files in changeset.
prefer built-in ns_dbquotevalue over DoubleApos

make former private functions, used in several packages to public functions

    • -3
    • +3
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
prefer built-in ns_dbquotevalue over DoubleApos

    • -3
    • +3
    ./acs-templating/tcl/paginator-procs.tcl
    • -2
    • +2
    ./acs-templating/tcl/richtext-procs.tcl
remove single quotes

    • -2
    • +2
    ./acs-subsite/tcl/plsql-utility-procs.tcl
prefer built-in ns_dbquotevalue over DoubleApos

    • -2
    • +2
    ./acs-subsite/tcl/plsql-utility-procs.tcl
improve spelling

    • -2
    • +2
    ./acs-bootstrap-installer/tcl/30-apm-load-procs.tcl
Add new test case 'documentation__check_parameters', which checks if parameters defined in the proc doc (@param) are really proc parameters.

Sometimes proc parameter changes are not reflected in the proc doc, this should take care of some of these cases.

    • -1
    • +62
    ./acs-tcl/tcl/test/doc-check-procs.tcl
Fix @param names

    • -4
    • +4
    ./acs-service-contract/tcl/acs-service-contract-procs.tcl
improve spelling

    • -2
    • +2
    ./categories/tcl/category-xml-procs.tcl
use consistently bind variables

improve spelling

improve spelling

port all former tclwebtest test cases to acs::test and do some more detailed testing

    • -116
    • +57
    ./forums/tcl/test/forums-procs.tcl
    • -290
    • +0
    ./forums/tcl/test/tclwebtest-procs.tcl
    • -61
    • +196
    ./forums/tcl/test/webtest-procs.tcl
acs-automated testing:

- provide the ability to add detail urls to messages

- new convenince methods

acs::test::reply_contains

acs::test::reply_contains_no

    • -2
    • +2
    ./acs-automated-testing/acs-automated-testing.info
    • -1
    • +43
    ./acs-automated-testing/tcl/aa-test-procs.tcl
    • -4
    • +4
    ./acs-automated-testing/www/admin/testcase.adp
    • -6
    • +15
    ./acs-automated-testing/www/admin/testcase.tcl
Fix spelling

Improve the list of common typos for the 'documentation__check_typos' test case, including some from Wikipedia: https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

    • -1
    • +3354
    ./acs-tcl/tcl/test/doc-check-procs-common-typos.txt
Remove apparent leftover + trailing whitespace

    • -4
    • +3
    ./acs-tcl/tcl/test/doc-check-procs.tcl
Add new test case 'files__page_contracts', which checks for the existance of both 'ad_page_contract' and 'ad_include_contract' in the .tcl files inside 'www' and 'lib' package directories.

There are cases, where includelets are not stored in 'lib' but 'www', or have 'ad_page_contract' instead of 'ad_include_contract'. Checking if the location of includelets is correct is not so clear, so we avoid doing this in this particular test.

    • -1
    • +78
    ./acs-tcl/tcl/test/file-test-procs.tcl
add tested API calls to testcases

modernize Tcl

display testd URLs on testcases for web tests

    • -2
    • +3
    ./acs-automated-testing/tcl/aa-test-procs.tcl
    • -0
    • +4
    ./acs-automated-testing/www/admin/testcase.adp
    • -4
    • +15
    ./acs-automated-testing/www/admin/testcase.tcl
rework test case documentation__check_typos

- make test case more robust (don't abort tests when there is a proc_doc without a "main" section

- improve performance and sanity:

* move invariantes out of the loop

* use built-in hashes

* don't check the same term multiple times

... times went from >15 sec to <1sec

    • -24
    • +39
    ./acs-tcl/tcl/test/doc-check-procs.tcl