• last updated 8 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Test the behavior when the multirow contains values in the form "\d+\.": this shows a bug caused by the value retrieval going through an expr, which will "normalize" the value to "\d+\.0"

Implement a test making sure ::xo::dc "loop code-executing" api is not subject to the "out of pools" bug

Remove hack and prefer to document limitation in the automated test

  1. … 1 more file in changeset.
Test that appending to an existing multirow from the db works as expected: when the columns defined via query and extend are the same, this should succeed

Don't collide with multirows created by other tests

Test ::xo::dc multirow further

- break and continue behavior in the code block (this will expose a bug)

- appending to an existing multirow

Extend automated tests to cover new ::xo::dc multirow api

Remove test of undocumented format to specify prepared statement

Basic test of xo::dc foreach when using prepared statements

This api currently supports the flag, but will ignore it

Extend test for prepared statements containing strings with colon characters, exposing that the latest commit won't address all cases

Make test more consistent

Introduce a test exposing that when a statement is prepared on SQL containing colons, this sould fail because they would be interpreted as variables

Basic test of the prepared statements feature on ::xo::dc api

Fixed bug with value-constraints query parameters

Previous versions had a problem with calls like

:query_parameter name:SOMECONSTRAINT

since the implementation clobbered the name variable. Versions of NSF

later than 2022-01-21 support "nsf::parseargs" with the "-asdict"

option, which can use all the nsf::parseargs options and avoids


Added tests of "xo::cc query_parameters" to the regression test suite.

  1. … 1 more file in changeset.
file context-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
update list of checked procs

improve documentation and streamline code

  1. … 2 more files in changeset.
Use built-in "ns_parsequery" instead of manual parsing of query parameters.

Note, that this change might alter query processing, since previously

query parameter without explicit values were treated as boolean values

(like in HTML), now these are treated like "x=" before. The new version is

about 10x faster.

Furthermore, new tests of the regression tests were added for query parameter


  1. … 1 more file in changeset.
file api-test-procs.tcl was initially added on branch oacs-5-10.

fixed description of test file

fix entry in listing of covered procs

improve test coverage

  1. … 2 more files in changeset.
improve test coverage

improve listing of test coverage

    • -12
    • +17
  1. … 5 more files in changeset.
improve listing of test coverage

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

  1. … 11 more files in changeset.
Fix tested proc name.

::xo::db::Class get_instance_from_db is defined using ad_proc instead of instproc.

Fixes the acs_api_browser_api_get_body test case.

extend test coverage

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.