• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Test updating the nx documentation in a certain cornercase condition

Reproduces behavior found in the wild

merge from oacs-5-10

    • -0
    • +439
    ./xotcl-core-db-tutorial-procs.tcl
  1. … 8095 more files in changeset.
whitespace changes

  1. … 14 more files in changeset.
moved functionality to automated testing

Removed memory leaks in the regression test

- new function ::xo::aa_check_leftovers to detect leaks a soon as possible

- made ::xo::stats better reusable by returning a dict

- extended regression test

- bumped xotcl-core to 5.10.1b5

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

Disable tests to check for executables on the system

  1. … 7 more files in changeset.
Test external command dependencies

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

clobbering.

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
    ./context-test-procs.tcl
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

processing.

  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.