• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Create testing instance outside the transaction so it is visible for http requests as well and tear it down, always require empty instances

Let go the init_classes approach and require what is needed for each test locally (fixes path_resolve and basically all xowiki tests)

add test case for links with "resolve_local=true"

cleanup for link test cases (remove created instances)

  1. … 1 more file in changeset.
remove trailing newlines

add test cases for link rendering, for links pointing to folders in different instances

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

    • -0
    • +0
    ./xowiki-link-test-procs.tcl
define ::xowiki::test::require_link based on symbolic name

extend regression test

  1. … 1 more file in changeset.
fix typos

enforce the system locale for the resolver test

extend test cases

fix potential confusion for test cases: make sure, the provided name and nls_language are aligned

  1. … 1 more file in changeset.
whitespace changes

add test for ambiguous page link with language prefix

add page p0 to regression test, provide more logging

  1. … 1 more file in changeset.
As stated in xowiki::Package.item_ref, a trailing slash indicates a folder in case of ambiguity

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.