tests

Clone Tools
  • last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- deactivate under windows for the time being

make test more robust ("file lstat" returns less data under windows)

align names (use "subclass" instead of "sub-class")

add regression test for testing the behavior of :upvar from toplevel tclsh with and without filters

This test covers implicitly also the behavior of [current callinglevel].

improve spelling

add minimal regression test for object property "autonamed"

Adjust regression test to more specific error message

* nsf-cmd.test: Make new tests 8.5-savy

* nsf-cmd.test: Add test rename (target) conflicts for the shadowed procs; improve test formatting

* nsf-cmd.test: Modernize tests to work on error codes.

* nsf.c, nsf-cmd.test: Fixed nsf::procs for (unintended) deletes of the shadowed proc, plus test cases.

  1. … 1 more file in changeset.
* nsf.c, nsf-cmd.test: Fixed nsf::procs for (unintended) deletes of the shadowed proc, plus test cases.

  1. … 1 more file in changeset.
* nsf.c, nsfShadow.c (NsfProcStubDeleteProc, Nsf_RenameObjCmd): Provide for coupled renaming of the nsf::proc pairs; and coupled deletion.

  1. … 3 more files in changeset.
* nsf.c, nsfShadow.c (NsfProcStubDeleteProc, Nsf_RenameObjCmd): Provide for coupled renaming of the nsf::proc pairs; and coupled deletion.

  1. … 3 more files in changeset.
* nsf.c (NsfProcStub, InvokeShadowedProc): Provide for re-fetching (e.g., deleted) ::nsf::procs::* commands, to allow for renamed nsf::procs to run. * nsf-cmd.test: Added test to cover re-fetch

  1. … 1 more file in changeset.
* nsf.c (NsfProcStub, InvokeShadowedProc): Provide for re-fetching (e.g., deleted) ::nsf::procs::* commands, to allow for renamed nsf::procs to run. * nsf-cmd.test: Added test to cover re-fetch

  1. … 1 more file in changeset.
* nsf.c, nsfInt.h (NsfProcStub, NsfProcClientData): Apply namespace reform to nsf::procs, to prevent proc redefinition after a proc rename to fail. * nsf-cmd.test: Add test case to document/ to cover failing rename + redefine.

  1. … 2 more files in changeset.
* nsf.c, nsfInt.h (NsfProcStub, NsfProcClientData): Apply namespace reform to nsf::procs, to prevent proc redefinition after a proc rename to fail. * nsf-cmd.test: Add test case to document/ to cover failing rename + redefine.

  1. … 2 more files in changeset.
use consistently US spelling variation

* disposition.test, parameters.test: Adjust tests to reflect the changed representational behaviour for numerics (int, wide) according to TIP 514 (now in Tcl 8.7a2+).

* object-system.test: Add a simple test to catch incomplete version bumps earlier

improve spelling

fix typos

  1. … 27 more files in changeset.
* parameters.test: Adding two test cases to cover previously missed code branches leading to leaking NsfMethodNamePath uses.

* nsf.c (ListMethod): Provide a disassemble implementation based on ::tcl::unsupported::disassemble. [::nsf::cmf::info disassemble] is generally available, the info ?object? method variants only in development mode. Implementation covers proc methods and ::nsf::procs. Along the way, prettify some code paths in ListMethod.

  1. … 6 more files in changeset.
- add Tcl_Obj caching to cget argument - redued usage of goto statements - reduced size of largish function

  1. … 1 more file in changeset.
* msgcat.test: Added a small collection of basic tests covering msgcat usage from within NSF/NX objects and classes. Tested successfully with mainline Tcl 8.6 and the TIP-490 branch "tip490-msgcat-oo-2".

  1. … 1 more file in changeset.
* nsf.c (NextSearchAndInvoke): Relax the pre-conditions, objv can actually be NULL (see test cases). Besides, the assertion was not reflected by a corresponding nonnull constraints on the NextSearchAndInvoke prototype.

  1. … 1 more file in changeset.
Fix another 86/85 glitch

Make test suite working under 8.5, again.

    • -0
    • +173
    ./double-alias.test
  1. … 1 more file in changeset.