Rework listener tests

A few failures to signal DATA_AVAILABLE (as well as some where it was
signalled unnecessarily) were discovered while refactoring the RHC
despite the tests all passing.  Clearly the tests were inadequate.

The enormous amount of boilerplate in the tests prompted a small rewrite
to a programmable listener invocation tester that one simply feeds a
noise-like one-liner in a string.  This trades the boilerplate for
somewhat inscrutable code.

Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
Erik Boasson 2020-04-29 20:10:14 +02:00 committed by eboasson
parent 23678edad5
commit 06a0ba26c9

File diff suppressed because it is too large Load diff