Code

store: Make matchers more generic and applicable to non-hosts as well.
authorSebastian Harl <sh@tokkee.org>
Mon, 28 Jul 2014 21:36:05 +0000 (23:36 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 28 Jul 2014 21:36:05 +0000 (23:36 +0200)
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.


No differences found