• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make tested API calls explicit

    • -4
    • +19
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
prefer built-in ns_dbquotevalue over DoubleApos

    • -2
    • +2
    ./packages/webmail/www/message-send-2.tcl
improve spelling

    • -2
    • +2
    ./packages/webmail/www/message-send-2.tcl
modernize Tcl

    • -2
    • +2
    ./packages/webmail/tcl/wm-util-procs.tcl
normalize boolean expressions in .adp files

    • -2
    • +2
    ./packages/scorm-player/embed/player.adp
prefer built-in ns_dbquotevalue over DoubleApos

  1. … 3 more files in changeset.
normalize boolean expressions in .adp files

    • -1
    • +1
    ./packages/ecommerce/lib/checkout-progress.adp
    • -1
    • +1
    ./packages/ecommerce/lib/contextbar.adp
    • -1
    • +1
    ./packages/ecommerce/lib/share-bar.adp
    • -1
    • +1
    ./packages/ecommerce/www/checkout-one-form.adp
    • -3
    • +3
    ./packages/ecommerce/www/shopping-cart.adp
    • -1
    • +2
    ./packages/ecommerce/www/admin/audit-table.tcl
    • -1
    • +1
    ./packages/ecommerce/www/admin/index.adp
  1. … 20 more files in changeset.
prefer built-in ns_dbquotevalue over DoubleApos

    • -6
    • +4
    ./packages/acs-tcl/tcl/00-database-procs.tcl
    • -8
    • +14
    ./packages/acs-tcl/tcl/utilities-procs.tcl
make former private functions, used in several packages to public functions

    • -3
    • +3
    ./packages/acs-tcl/tcl/00-database-procs.tcl
    • -4
    • +4
    ./packages/acs-tcl/tcl/apm-file-procs.tcl
    • -2
    • +2
    ./packages/acs-tcl/tcl/apm-xml-procs.tcl
    • -3
    • +3
    ./packages/acs-tcl/tcl/exception-procs.tcl
prefer built-in ns_dbquotevalue over DoubleApos

    • -2
    • +2
    ./packages/acs-templating/tcl/list-procs.tcl
    • -3
    • +3
    ./packages/acs-templating/tcl/util-procs.tcl
remove single quotes

    • -4
    • +4
    ./packages/acs-subsite/tcl/package-procs.tcl
prefer built-in ns_dbquotevalue over DoubleApos

    • -4
    • +4
    ./packages/acs-subsite/tcl/package-procs.tcl
improve spelling

    • -2
    • +7
    ./packages/acs-tcl/tcl/security-procs.tcl
    • -2
    • +2
    ./packages/acs-templating/tcl/parse-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.

Fix @param names

    • -4
    • +2
    ./packages/xowiki/tcl/package-procs.tcl
improve spelling

    • -5
    • +5
    ./packages/dotlrn/tcl/community-procs.tcl
    • -2
    • +2
    ./packages/dotlrn/www/subcommunity-new.tcl
    • -1
    • +1
    ./packages/general-comments/www/doc/design.adp
use consistently bind variables

    • -4
    • +5
    ./packages/forums/lib/message/row2.tcl
improve spelling

    • -3
    • +3
    ./packages/xotcl-core/tcl/05-db-procs.tcl
    • -2
    • +2
    ./packages/xotcl-core/tcl/cr-procs.tcl
    • -2
    • +2
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
improve spelling

    • -3
    • +3
    ./packages/acs-tcl/tcl/apm-install-procs.tcl
port all former tclwebtest test cases to acs::test and do some more detailed testing

    • -116
    • +57
    ./packages/forums/tcl/test/forums-procs.tcl
    • -290
    • +0
    ./packages/forums/tcl/test/tclwebtest-procs.tcl
    • -61
    • +196
    ./packages/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

Fix spelling

    • -2
    • +2
    ./packages/new-portal/tcl/portal-procs.tcl
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

Remove apparent leftover + trailing whitespace

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.

add tested API calls to testcases

    • -5
    • +5
    ./packages/forums/tcl/test/forums-procs.tcl
modernize Tcl

    • -8
    • +12
    ./packages/forums/www/forum-view.tcl
display testd URLs on testcases for web tests

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
    ./packages/acs-tcl/tcl/test/doc-check-procs.tcl
remove useless semicolon