• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove 'check_xotcl_xocc' test case, as it has served its purpose already

Add 'check_xotcl_xocc' test case, checking for 'xo::cc'.

The intention of this test is to expose the destruction of the '::xo::cc' object, as a side effect of the 'check_xotcl' test. The test will fail if executed after it, and succeed otherwise.

The object destruction affects other tests executed in the same batch, and breaks in particular xowf's 'create_folder_with_page'.

The 'check_xotcl' test runs the 'Serializer all' method, which is calling 'xo::at_cleanup', destroying the '::xo::cc' object.

whitespace cleanup

    • -11
    • +11
    ./xotcl-core-db-tutorial-procs.tcl
  1. … 11 more files in changeset.
make test more robust against extending attributes

improve spelling

  1. … 2 more files in changeset.
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 10 more files in changeset.
Add a quick run of the basic CRUD operations on ORM to avoid issues when e.g. no particular object member is explicitly supplied

Modifying IP really comes from the item and not from the revision (as normally comes from the automatically generated view ${table_name}i which says so)

Do not return empty context_ids for the test, make sure value will have to change

Test behavior before and after a full fetch, make sure that the chosen context_id is not the previous one

Be stricter in CrItem tests as well

Be stricter and treat known suboptimal behaviors in ORM interface as test failures

Fix xotcl-core cr-items test: modifying IP comes in fact from the cr_item's acs_object (it is also on the revision, but on the items seems to take into account e.g. proxying)

add test cases from the xotcl-core DB tutorial

    • -0
    • +261
    ./xotcl-core-db-tutorial-procs.tcl
file xotcl-core-db-tutorial-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./xotcl-core-db-tutorial-procs.tcl
Improve boolean existance checks

Add a couple more tests about properties of revisions

Add basic CrItem tests

Basic tests of ::xo::db::Object and ::xo::db::Class

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

improve test condition

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- add editor hints

  1. … 64 more files in changeset.
correct parentesis

require at least Tcl 8.5.4 for this version (see as well TIP #143)

  1. … 1 more file in changeset.
-update to version 0.100, compliant with xowiki 0.105

  1. … 24 more files in changeset.
base test on a commonly available cache

- add a few more message keys

- make it explicit in the code that we require at least XOTcl 1.5.0 (1.5.6 recommended)

- bump version numbers to update message catalogs

  1. … 5 more files in changeset.
extend xotcl-core regression test: add checks for serializer

adding the release version of xowiki and xotcl-core to the oacs-5-3 branch

  1. … 213 more files in changeset.