tests

Clone Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adding a first test case

nx::Class unknown: rewritte unknown message to include '?...?'

  1. … 1 more file in changeset.
- remove spurious blank in error message - fix typo in print string

  1. … 1 more file in changeset.
Tests: Adjust the test suite for the latest rewording of the nx::Class unknown message

Add two tests on try/finally

- add tweo more tests of plain tclsh

- remove superfluous (and icorrect) tests

- don't call tcl eval operations from NsfLog() in phyical destroy round - extend regression test for shell with tests in [info nameofexecutable] rather than in nxhs

  1. … 2 more files in changeset.
nx::shell2: Add some more tests

nx::shell2: Rewrote in-shell exit support to avoid Tcl's native exit and to unwind gracefully to avoid NSF refcount leaks on exit; bumped package number

  1. … 5 more files in changeset.
DispatchUnknownMethod(): Make sure that arcane method names make it into proper unknown error mesages (incl. names representing invalid Tcl lists); tests included; checked by valgrind

  1. … 2 more files in changeset.
Adjust shell tests for latest changes to stacktrace formatting

Make cmd-literal tests conditional on a (future) Tcl release: 8.6.7

Adding a second UnsetTracedVars test, this time for the per-object namespace case

Add missing test on UnsetTracedVars()

cmd resolver work - fix test, when OS specific cmd resolver is used from a NSF_CSC_CALL_IS_COMPILE frame - improved output from __db_show_obj: put results into one line instead of multiple lines - new debug function __db_get_obj: return into about a tcl_obj in form of a dict (in general, one should not rely on Tcl_Obj internals, especially when upgrading over major Tcl versions, but for testing/understanding behavior etc., such a command is helpful). - extend regression test

  1. … 5 more files in changeset.
Shift some atomic tests into test case

Revive and include test case on Bug 3418547

- add test for the global cmd literal sharing - keep experimental code for disassembling methods

    • -0
    • +104
    ./cmdresolution.test
  1. … 2 more files in changeset.
Deactivate one test for now

Some cleanup and adding basic test cases

  1. … 5 more files in changeset.
- fix one case in interaction between get-trace and default value

  1. … 1 more file in changeset.
- Allow combination of "-trace get" with default value (was previously disallowed) - Extend regression test

  1. … 2 more files in changeset.
- add new command nsf::parseargs to parse an argument vector against a parameter definition and to set the resulting variables in the current scope - extend regression test

  1. … 5 more files in changeset.
- fix serializing of info internals for XOTcl

  1. … 1 more file in changeset.
Adding some missing test on recently added introspection methods

- add editor hint

Slot trace reform: - redesign of slot interface of traces from * variables contains cmds and variable references to * slot specific methods with the same interface as slot-setters - new: * specify flag "-trace" with a list of values "get", "set", "default" * when flag is set, a trace will be registered calling methods value=get obj variable value=set obj variable value value=default obj variable on the slot (actually the first two are identical with the methods used for slot-defined accessors) - updated regression test * new flag "-notrace" for "nsf::var::set" and "nsf::var::get"

  1. … 7 more files in changeset.
- changed interface of NsfDStringEval to control behavior via bitflags (this is after all more readable than a argument list of "0" and "1"s) - added optional recursion prevention for functions called via NsfDStringEval (handling NSF_EVAL_DEBUG, NSF_EVAL_LOG, NSF_EVAL_DEPRECATED) - added regression tests for potential recursive calls

  1. … 5 more files in changeset.
- add absolute path in returned proc defintion to regression test