• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use 'expr' for variable incrementing when the value is a double, as incr does not do it natively (thanks to Antonio for the pointer).

Trim whitespace

incr would return a decimal number, but test wants an integer to be returned. Restore expr and make clear that we want an integer out of it

Streamline util_sets_equal_p (passes automated test)

Add more information about typos loaded and checks passed

Fix typo + Whitespace changes

Test refactoring

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