• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
update to newer testing interface

Replace array idiom -> dict idiom (port from downstream)

add a comment easier to understand by the casual reader

  1. … 1 more file in changeset.
Fix doc

Make requiring of a test package instance more generic: the plan is to use it in other contexts

  1. … 1 more file in changeset.
Require an extra xowiki instance for test shenanigans

Use the xowiki namespace

Cleanup irrelevant comment

Fix typos

remove .SELF. prefix also in link_info dict

fix typo in anonymous array

Prefer connchan message relay implementation (we check whether it is available anyway)

provide proper fix, which makes the expectations clear

Whitespace cleanup

Make sure field's class implements leaf_components method

- document the web-callable methods

- separater test cases from test helper procs

file check-method-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/check-method-procs.tcl
add test case for repeated form field with default

whitespace changes

Code was meant to check existance of the field in the dict

use request chaining interface

    • -10
    • +21
    ./tcl/test/xowiki-test-procs.tcl
support as well the request chaining interface with "-last_request"

distinguish between dicts item_ref_info and link_info in create_link (fixes degression after change from anonymous array to dict)

fix typo

checkbox settings: refactor approach once more to aovid potential interactions with calls of "get_compound_value" from other call-sites

fix typo

add regression test for recent changes in default handling of checkboxes

# The created form contains several checkboxes, which are

# nasty to handle. When a ceckbox was marked, but is thenq

# # unchecked, this values is NOT returned by the

# browser. The server has to detect by the fact of

# untransmitted values that the instance attribute value

# has to be altered. This is very different to the

# standard cases, where the edited values are transmitted.

#

# The created form below handles also more complex cases:

#

# a) a checkbox box1, where a default is set

# b) a repeated checkbox, where one value is provided

# c) a compound field, where the compound field definition

# contains a default for the sub-component.

    • -0
    • +190
    ./tcl/test/xowiki-test-procs.tcl
file xowiki-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/xowiki-test-procs.tcl
make use of new feature for checkbox testing in acs::test::form_reply

Bump version number to 5.10.0d26 and adjust dependencies

fix name of called proc, add warnings to raise awareness