tests

Clone Tools
  • last updated 55 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve spelling

  1. … 5 more files in changeset.
New feature: added support for return value checker for nsf::proc

One can now specify "-returns ...." in nsf::proc commands the same way

as in nx/XOTcl2 methods.

nsf::proc ... /procName/ /arguments/ ?-returns /valueconstraint/? /body/

When return value checkers are defined, these are returned by the

usual introspection interface.

% nsf::proc ::foo {-a:integer} -returns integer {return 1}

% nsf::cmd::info definition ::foo

::nsf::proc ::foo -a:integer -returns integer {return 1}

% nsf::cmd::info returns ::foo

integer

The regression test was extended to cover these cases.

  1. … 4 more files in changeset.
Fix bug, where Tcl's "string is" checker modified result, when used as a return value checker

The new code saves and restores the original result value.

The regression test was extended.

Many thanks to Antonio Pisano for pointing out this issue.

  1. … 1 more file in changeset.
* tcl86.test, nsf-cmd.test, forward.test, destroy.test: Make sure to run all 8.6+/ 8.7+ specific tests also under Tcl 9

report tcl version at the begin of regression test to ease reading output of git workflows

Added support for compiling with Tcl 9.0 (Many Thanks to Jan Nijtmans for first steps)

This version compiles cleanly at least with Tcl 8.6.* and Tcl 9.0 (fossil trunk),

having -pedantic and -Wextra defined.

  1. … 20 more files in changeset.
added option "-asdict" to nsf::parseargs

The new option makes it easier to process the parsed argument in different

contexts

  1. … 3 more files in changeset.
Bug fix: include alias to object in "info methods -path"

Previously, it was not possible to define an alias to an object for

NaviServer, since it was not returned by "info methods -path" and

was therefore not included in the blueprint.

Extended regression test.

  1. … 2 more files in changeset.
fix broken test

* nsf.c (VolatileMethod), volatile.test: Fix volatile for XOTcl 2: frame skipping must be limited to configure, otherwise, for self calls (e.g., 'my volatile'), the sentinal variable plus unset trace become created in the wrong callframe context (leading to corruption of any non-proc callframe); added test cases

  1. … 1 more file in changeset.
reduce debugging output

  1. … 1 more file in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 13 more files in changeset.
improve spelling

  1. … 3 more files in changeset.
improve spelling

  1. … 4 more files in changeset.
improve spelling

  1. … 4 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
Fix potential crash, whe nsf::parseargs is called with a non-empty argspec and empty argv

Extended regression test to cover such cases.

  1. … 1 more file in changeset.
typographic changes, most prominently, more consistent comma settings

https://onlinewritingtraining.com.au/however-therefore-furthermore/

  1. … 2 more files in changeset.
improve spelling

  1. … 5 more files in changeset.
improve spelling

  1. … 6 more files in changeset.
attempt to understand AppVeyor results

  1. … 1 more file in changeset.
* tests/submethods.test: Test for various conditions of unknown handling for ensemble methods of varying depth; also covers the crash condition reported on c.l.t, introduced with [156a37f]

* properties.test: Add a case to test for the bug on cget/configure NsfFlagObjType sharing

minor cleanup and extended regression test - reduce returns before end of function - reduce variable scopes - don't use variable for different purposes

  1. … 1 more file in changeset.
* nsf.c, methods.test: Cont'd uplevel reform to sanitize the single-arg case (in light of recent changes to 8.7, TIP 515 and for the sake of XOTcl 1 compatibility): A single arg to uplevel won't be inspected for a level specifier anymore; added tests and TODOs

  1. … 1 more file in changeset.
* nx.tcl, properties.test: Add exists accessor to properties and variables; incl. tests and documentation

  1. … 6 more files in changeset.
* tests/*.test: Add 'package prefer latest' to remaining test files.

  1. … 18 more files in changeset.
* forward.test: Constrain the max recursion depth around recursive forwards, so that we do not run into early crashes on systems with limited stack sizes (when the stack is saturated before a recursion limit is hit). This fixes test runs on MinGW/ gcc builds at AppVeyor.

* forward.tests: Provide some background comment on platform-dependent error messages as test conditions (infinite loop) and make sure tests under 8.6 are executed as intended.

provide more context info when the version mismatch test fails