aboutsummaryrefslogtreecommitdiff
path: root/tests/tree.test
AgeCommit message (Collapse)AuthorFilesLines
2022-08-21tree: node ids are now simple integersSteve Bennett1-1/+1
Dictionary lookups with simple integers are more efficient than with "node<integer>" Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-08-03tree: Allow nodes to be deletedSteve Bennett1-0/+15
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Strip leading & from proc error messagesSteve Bennett1-1/+1
And some more Tcl8.6 compatible error messages Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-21More constraint improvementsSteve Bennett1-0/+1
2010-12-16Implement 'tree' in terms of 'oo'Steve Bennett1-6/+5
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-11-22Overhaul unit test frameworkSteve Bennett1-4/+4
Much closer to tcltest now, including constraints. Try to get all appropriate tests running under both Jim and Tcl. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Skip tests for features which are not availableSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Change tree API to be object-basedSteve Bennett1-43/+43
A small change, but makes for a more natural interface Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Improvements to tailcallSteve Bennett1-6/+7
Add tests and documentation Make tailcall work within 'try' Fix tailcall interaction with uplevel Use tailcall for dispatch in tree.tcl Also some related improvements in tree.tcl Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Bugs, features, testsSteve Bennett1-3/+3
Subst was broken for backslash escapes Add support for return, break, continue in subst commands Accept abbreviations for switches to subst Fix 'list #' More tests
2010-10-15Implement tree packageSteve Bennett1-0/+114
Similar to tcllib ::struct::tree ------------------------------------------------------------------------