• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Test refactoring

Improve test documentation.

Add more common spelling errors to the 'documentation__check_typos' test case, collected from previous typo fixes in openacs.

Reduce test verbosity

Add new test case 'documentation__check_typos', which checks for spelling errors in the proc documentation.

The test uses a file containing common spelling errors (doc-check-procs-common-typos.txt), based in the one

provided by Debian's lintian, which can be found here: https://github.com/Debian/lintian/tree/master/data/spelling

The test can take some time, depending on the amount of packages and how powerful the machine is.

    • -0
    • +4234
    ./doc-check-procs-common-typos.txt
prefer "aa_equals" over "aa_true"+"string equal"

  1. … 2 more files in changeset.
replace "expr" by "incr"

Fix typo

improve testcases by removing useless expr commands

    • -14
    • +14
    ./application-data-link-procs.tcl
Declass constraint names breaking the very strict OpenACS naming convention from errors to warnings

Rationale: it is sometimes impossible to have constraint names that are both < 30 chars and consistent with the naming scheme 'table_name'_'column_name'_'constraint_type' for all those defined on a particular table (see e.g. acs_named_objects).

Breaking this convention might be suboptimal, but is not harmful in itself.

simplify code

improve test cases: align comment with operations, remove useless "expr" commands

Trim whitespace

Whitespace cleanup

Add 'Markdown' tests for 'ad_html_text_convert'

- use information from acs_testing in api-browser: provide link for

test cases.

- new function: api_add_to_proc_doc for updating apidoc information

from other packages

- bump version of acs-automated testing to 5.10.0d4 and

acs-api-browser to 5.10.0d2

- toc includelet:

* new flag: "-renderer" (default "")

specify an explicit renderer. This is an alternative to the

classic "rendering by style", where there style determines the renderer.

* new flag: "-include_in_foldertree" (default true)

it is now possible to avoid inclusion of all folder-tree element

in the standard folder tree. Default set for backwards

compatibility.

  1. … 5 more files in changeset.
Add trivial tests for the other different kinds of space

Add TIMESTAMP to the list of feasible time database types in tests

fix site-node test in regression test

don't use per-request caching, since we migh shoot in our own foot

interrupt cache_transaction to achieve desired semantics

allow in a few cases empty node_ids for method "get_url" as it is used by current OpenACS

  1. … 1 more file in changeset.
fix regression test for confusing setup with wildcard IPv4 address and host name "localhost", but localhost is resolved on the host as IPv6 address

Add user_tab_columns.BPCHAR to the list of possible boolean physical datatypes

Port from downstream cache transaction logics and fix automated test as now db_transaction will return 0 instead of the empty string (and no particular return value should be assumed)

  1. … 1 more file in changeset.
Modify test so only files from installed packages are tested and builtin success counting is used

Modify xql test so that only currently installed packages are examined

Fix typo

New utility ad_pad emulating both lpad and rpad tipically available in DBMSs

  1. … 1 more file in changeset.
Expect other kinds of tcl booleans in the test

Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 71 more files in changeset.
Fix typos

  1. … 3 more files in changeset.