summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-12-30Add some unit tests for the Session.string_of_op function.Daniil Baturin
2016-12-30Fix the string_of_path test (square brackets are no longer part of the output).Daniil Baturin
2016-12-23T230: Add missing data access functions to the Reference_tree module with ↵Phil Summers
Unit tests
2016-12-23T230: Add missing data access functions to the Reference_tree module with ↵Phil Summers
unit tests
2016-12-22T226: Add secret and hidden properties to the reference tree.Phil Summers
2016-12-21T225: Added inactive and ephemeral fields to node data in Config_treePhil Summers
2016-12-20Add tests for the Reference_tree.is_multi function.Daniil Baturin
2016-12-20T224: add node comment functionality to the config tree.Daniil Baturin
2016-12-15Add a few missing reference tree test cases for valueless nodes and garbage ↵Daniil Baturin
after the value.
2016-12-15T212: use a directory (normally $program_dir/validators) for external ↵Daniil Baturin
validators. What's bad is that right now way too many things are aware of the nature of external validators, and the validators dir (formerly validators hashtable) is passed around a lot. We'll need to think it through.
2016-12-14T210: Add tests and test data for the vyconfd config loader.Daniil Baturin
2016-12-13Fix a few instances of sloppy sequences (with non-unit expressions).Daniil Baturin
2016-12-07Better test descriptions in vylist test, also add missing test.Daniil Baturin
2015-09-23Add more tests for set and delete.Daniil Baturin
2015-09-23Add delete function to Config_tree, add some tests for it.Daniil Baturin
2015-09-21Update tests for the Vylist API change.Daniil Baturin
2015-09-21Fix multilevel insert logic.Daniil Baturin
2015-06-03Add get_data function, a shortcut for getting a data of node at specified path.Daniil Baturin
Mainly for quickly getting data from a reference tree.
2015-06-03Make tree insert position-aware.Daniil Baturin
Make insertion at the beginning default behaviour. Implement insertion at the end.
2015-05-11Add vytree insertion load test.Daniil Baturin
2015-04-28Rename vyconf_tree_test to just vytree_test.Daniil Baturin
2015-04-28Add Vylist.in_list for quick checks.Daniil Baturin
2015-04-26Add config tree module.Daniil Baturin
2015-04-26Add Vytree.exists for checking if path exists in a tree.Daniil Baturin
2015-04-26Add path validation functionality.Daniil Baturin
2015-04-26Make Value_checker.validate_any return true if constraint list is emptyDaniil Baturin
(i.e. no constraints means anything goes).
2015-04-24Add validate_any to Value_checker for testing if a value passes at least one ↵Daniil Baturin
test.
2015-04-24Trivial reference tree load test.Daniil Baturin
2015-04-24Add test data for reference tree tests.Daniil Baturin
2015-04-24Initial implementation of the reference tree module.Daniil Baturin
2015-04-24Make find_xml_child return Xml.xml option rather than raise Not_found.Daniil Baturin
2015-04-24Add Vylist.complement for calculating difference between two listsDaniil Baturin
where one contains another (starting with the first element).
2015-04-23Quick and dirty path pretty printer.Daniil Baturin
2015-04-23Add get_existent_path for finding the part of a path that already exists in ↵Daniil Baturin
a tree.
2015-04-23Make insert require all but the last elements in the path to exist in the tree.Daniil Baturin
Making it linear time at cost of knowing the data for all path elements was probably a bad idea.
2015-04-15Add value validator module.Daniil Baturin
2015-04-14Abandon the idea of default data in Vytree.insert and use explicit data listDaniil Baturin
for multilevel insert.
2015-04-02Reverse the order of make/make_full arguments for easier partial application.Daniil Baturin
2015-04-02Fix Vytree.update and its unit test.Daniil Baturin
2015-04-01Add Vytree.update for updating the data attached to nodes.Daniil Baturin
2015-03-29Missing test in the tree testsuite.Daniil Baturin
2015-03-28Add tests for insert_before and insert_after.Daniil Baturin
2015-03-28Add tests for Vylist.replaceDaniil Baturin
2015-03-27Use cons instead of append for inserstions by default.Daniil Baturin
2015-03-04Add some tests for the vylist module.Daniil Baturin
2015-03-02Remove "child" from insert/delete etc. function names.Daniil Baturin
It's not like there's anything else we can insert or delete.
2015-03-01Add get_child and some tests for it.Daniil Baturin
2015-02-28Tests for pathological cases of delete_child usage.Daniil Baturin
2015-02-27Add some tests for delete_child.Daniil Baturin
2015-02-26Test for inserting duplicate children.Daniil Baturin