summaryrefslogtreecommitdiff
path: root/test/value_checker_test.ml
AgeCommit message (Collapse)Author
2024-10-27T6718: update testsJohn Estabrook
Update tests, as appropriate: for example, the Vyconf config file grammar is distinct from the one currently used in vyos1x-config, consequently the curly_parser_test is not included.
2017-01-16Remove the assumptions about validator argument being mandatory.Daniil Baturin
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.
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-15Add value validator module.Daniil Baturin