ad-proc-test-procs.tcl

  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
don't clobber toplevel namespace

Overhaul of test cases:

- make tested API calls explict

- reduce dependency on twt

  1. … 18 more files in changeset.
improve testcases by removing useless expr commands

  1. … 5 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- don't use backslash in multiline expressions

- make long expressions more uniform and more readable

- use "in" or not in (ni) operator instead of lsearch

- brace expressions to allow for tcl compilation

- bump version number

  1. … 23 more files in changeset.
- don't abbreviate subcommands

*** empty log message ***

  1. … 5 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Fire callback failed because of a callback implementation defined in the

test callback create callback test. Each case would pass separately, but if

the create test was followed by the fire test, the fire test would faile.

Fix a_callback definition. '-' was missing for switch arg1

Bug stomp: added documentation to acs core procs that had no docs.

  1. … 2 more files in changeset.
Removing these callbacks and their implementations: a_callback, b_callback, c_callback, a_callback -impl an_impl1, a_callback -impl an_impl2, a_callback -impl fail_impl and EvilCallback from the test procedure ad_proc_fire_callback, since we have a strange behavior when run many times this test.

test that array pass by ref works as expected, test eval uplevel work with empty args and that only one round of eval applied

add a couple extra callbacks to make tests not fail after the first run (when the callbacks it thinks should not be defined actually are defined since we have been through once

Added tests for ad_proc callbacks.

    • -0
    • +100
    ./ad-proc-test-procs.tcl