• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- modularize web tests based on acs::test

- add new web tests for viewing and editing forums

    • -54
    • +83
    ./forums/tcl/test/forums-procs.tcl
    • -0
    • +143
    ./forums/tcl/test/webtest-procs.tcl
- move new testing function "visualize_control_chars" to the namespace ::acs::test

- new testing functions

acs::test::get_form and

acs::test::xpath::get_form

to get collected form info with more ease in test cases

- bump version info to 5.10.0d7

    • -2
    • +2
    ./acs-automated-testing/acs-automated-testing.info
    • -36
    • +131
    ./acs-automated-testing/tcl/aa-test-procs.tcl
Add new test case 'files__trailing_whitespace', which looks for trailing whitespace (spaces or tabs at the end of lines).

Currently, only .tcl files are checked.

    • -2
    • +2
    ./acs-tcl/tcl/test/doc-check-procs.tcl
    • -1
    • +57
    ./acs-tcl/tcl/test/file-test-procs.tcl
Fix Test Name

Add test for the news aggregator and feed-parser

news-aggregator will reuse basic test from the feed parser

    • -0
    • +243
    ./feed-parser/tcl/test/feed-parser-test-procs.tcl
    • -0
    • +46
    ./news-aggregator/tcl/test/news-aggregator-test-procs.tcl
Fix subscription form error (left behind from previous commit)

    • -3
    • +3
    ./news-aggregator/www/subscriptions.adp
no reason for casting values to integer

    • -2
    • +2
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Use 'expr' for variable incrementing when the value is a double, as incr does not do it natively (thanks to Antonio for the pointer).

    • -2
    • +2
    ./acs-datetime/tcl/acs-datetime-procs.tcl
Trim whitespace

    • -14
    • +14
    ./acs-automated-testing/tcl/aa-test-procs.tcl
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

    • -2
    • +2
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Streamline util_sets_equal_p (passes automated test)

Add more information about typos loaded and checks passed

    • -2
    • +5
    ./acs-tcl/tcl/test/doc-check-procs.tcl
Fix typo + Whitespace changes

    • -21
    • +15
    ./acs-tcl/tcl/test/file-test-procs.tcl
Test refactoring

    • -9
    • +11
    ./acs-tcl/tcl/test/doc-check-procs.tcl
Improve test documentation.

    • -4
    • +21
    ./acs-tcl/tcl/test/doc-check-procs.tcl
Add more common spelling errors to the 'documentation__check_typos' test case, collected from previous typo fixes in openacs.

    • -1
    • +87
    ./acs-tcl/tcl/test/doc-check-procs-common-typos.txt
move newly defined testing API (in OpenACS 5.10) to namespace acs::test

    • -2
    • +2
    ./acs-automated-testing/acs-automated-testing.info
    • -115
    • +195
    ./acs-automated-testing/tcl/aa-test-procs.tcl
    • -35
    • +4
    ./acs-automated-testing/tcl/tclwebtest-procs.tcl
    • -19
    • +19
    ./xowiki/tcl/test/test-procs.tcl
handle authorizations with no auth_sync_process defined without raising an error in the error.log

    • -28
    • +8
    ./acs-authentication/tcl/sync-procs.tcl
Fix typo, trim whitespace

    • -2
    • +2
    ./feed-parser/tcl/tdom-helper-procs.tcl
Trim whitespaces

    • -129
    • +129
    ./forums/tcl/test/tclwebtest-procs.tcl
Reduce test verbosity

    • -2
    • +2
    ./acs-tcl/tcl/test/doc-check-procs.tcl
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.

    • -0
    • +4234
    ./acs-tcl/tcl/test/doc-check-procs-common-typos.txt
    • -2
    • +48
    ./acs-tcl/tcl/test/doc-check-procs.tcl
Fix typo

    • -2
    • +2
    ./acs-api-browser/tcl/acs-api-documentation-procs.tcl
Replace array idioms with dict idioms

Replace array idioms with dict idioms

Replace array idioms with dict idioms

Replace array idioms with dict idioms

Replace array idioms with dict idioms

Replace array idioms with dict idioms, streamline expressions

    • -15
    • +16
    ./acs-admin/tcl/apm-admin-procs.tcl
Trim whitespace

    • -58
    • +58
    ./acs-admin/tcl/apm-admin-procs.tcl