From: Sebastian Harl Date: Mon, 28 Jul 2014 21:36:05 +0000 (+0200) Subject: store: Make matchers more generic and applicable to non-hosts as well. X-Git-Tag: sysdb-0.3.0~21 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3da6e0cdfaba4755f5d272100e95528d33aae322;hp=3da6e0cdfaba4755f5d272100e95528d33aae322;p=sysdb.git store: Make matchers more generic and applicable to non-hosts as well. Most of the matchers are actually not specific to hosts and may be re-used for different purposes (e.g. filters). Make them applicable to arbitrary object types (again) and only check for the right object type when actually needed. Added simple unit-tests covering filters applied to all types of objects. ---