• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve test documentation.

Add more common spelling errors to the 'documentation__check_typos' test case, collected from previous typo fixes in openacs.

move newly defined testing API (in OpenACS 5.10) to namespace acs::test

    • -3
    • +3
    /openacs-4/packages/forums/forums.info
    • -2
    • +2
    /openacs-4/packages/xowf/www/index.vuh
    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
handle authorizations with no auth_sync_process defined without raising an error in the error.log

Fix typo, trim whitespace

Trim whitespaces

Reduce test verbosity

Add new test case 'documentation__check_typos', which checks for spelling errors in the proc documentation.

The test uses a file containing common spelling errors (doc-check-procs-common-typos.txt), based in the one

provided by Debian's lintian, which can be found here: https://github.com/Debian/lintian/tree/master/data/spelling

The test can take some time, depending on the amount of packages and how powerful the machine is.

Fix typo

Replace array idioms with dict idioms

    • -20
    • +25
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Replace array idioms with dict idioms

    • -5
    • +5
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Replace array idioms with dict idioms

    • -3
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Replace array idioms with dict idioms

    • -9
    • +7
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Replace array idioms with dict idioms

    • -6
    • +8
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Replace array idioms with dict idioms, streamline expressions

Trim whitespace

Fix typo

- new API function: forum::delete (can't believe, this was missing)

- rework regression test

* make API calls explicit

* ported one test case from (broken) twt to aa_http

- bump version number to 1.3.1d6

    • -2
    • +3
    /openacs-4/packages/forums/forums.info
    • -0
    • +11
    /openacs-4/packages/forums/tcl/forums-procs-oracle.xql
    • -1
    • +9
    /openacs-4/packages/forums/tcl/forums-procs.tcl
move functions to acs-automated testing

    • -2
    • +3
    /openacs-4/packages/xowiki/xowiki.info
make ::aa_test::form_reply and :aa_xpath::get_form_values from xowiki/testing available for all packages

bump version number to 5.10.0d5

Whitespace changes

Prefer 'incr' to increment variables instead of 'expr'.

Whitespace changes

Prefer 'incr' to increment variables instead of 'expr'.

Prefer 'incr' to increment variables instead of 'expr'.

make automated-testing login more robust, i.e. working with a configured wild card ip address

fix too many colons

make tested API calls explicit

    • -130
    • +173
    /openacs-4/packages/forums/tcl/test/forums-procs.tcl
make tested API calls explicit

make tested API calls explicit, fix broken test case ('the_public' was spelled 'the_pubic')