• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
remove useless semicolon

    • -2
    • +1
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Streamline proc

    • -5
    • +1
    ./feed-parser/tcl/feed-parser-procs.tcl
Trim whitespace

    • -12
    • +12
    ./feed-parser/tcl/feed-parser-procs.tcl
- 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)