xowiki-test-procs.tcl

  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Create a test user for the 'create_form_with_form_instance' test case, instead of using the current one, and use its 'user_info' in the calls to 'acs::test::http'

mark private functions as private

  1. … 9 more files in changeset.
improve listing of test coverage

  1. … 17 more files in changeset.
improve listing of test coverage

  1. … 6 more files in changeset.
improve listing of test coverage

  1. … 8 more files in changeset.
make listing of tested procs more complete

  1. … 11 more files in changeset.
improve listing of tested procs

  1. … 2 more files in changeset.
avoid array notation for per_thread caches to ease flushing

  1. … 5 more files in changeset.
include public methods called via the web interface in listing of tested methods.

  1. … 1 more file in changeset.
improve spelling

  1. … 3 more files in changeset.
improve spelling

  1. … 10 more files in changeset.
improve spelling

  1. … 19 more files in changeset.
add test cases for slot interactions

Do not use web api to create the folder in this non-web test

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)

  1. … 1 more file in changeset.
fix typos

enforce the system locale for the resolver test

extend test cases

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

add tested methods to testcase definition

  1. … 1 more file in changeset.
make test display nicer

- fix wiki-rendered links to existing folders

- extended regression test

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

- 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.