• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
As apparently test init cases can pollute each other's namespace, use a different variable name

Make test independent from vars defined elsewhere

add tested methods to testcase definition

add API test procs for method "normalize_path"

file api-test-procs.tcl was initially added on branch oacs-5-10.

make test display nicer

- fix wiki-rendered links to existing folders

- extended regression test

  1. … 1 more file in changeset.
shorten overlong lines

avoid overlong line and produce nicer URLs

- provide a better fix for name disambiguation between folders and same named (language prefixed) pages

- extend regression test

  1. … 2 more files in changeset.
don't use non-existing method name in test specification.

This fixes a bug on openacs.org in source search of API browser.

TODO: the procs specified in the test definition (aa_register_case)

should be checked for existence.

add test case to show nameclash-behavior between folder and item

fix regression test when system locale is en_US

- modernize code (remove "my")

- prefer fully qualified commands based on IDs

  1. … 33 more files in changeset.
Make sure init test classes are named differently, or xowiki tests will interfere with xowf ones

  1. … 1 more file in changeset.
update to newer testing interface

  1. … 1 more file in changeset.
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

- document the web-callable methods

- separater test cases from test helper procs

  1. … 2 more files in changeset.
file check-method-procs.tcl was initially added on branch oacs-5-10.

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

use request chaining interface

support as well the request chaining interface with "-last_request"

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.