diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2019-03-14 14:45:08 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2019-04-02 13:46:33 +0100 |
commit | b26c3f9cbd784a5f7db68049fd9c49a0a2077734 (patch) | |
tree | 0d5f60a709365de7d7aaa8a1320a5eeb78a84779 /ui/keymaps.c | |
parent | d61d1a1fb2f1db6c54651844a28389c523f3f8c7 (diff) | |
download | qemu-b26c3f9cbd784a5f7db68049fd9c49a0a2077734.zip qemu-b26c3f9cbd784a5f7db68049fd9c49a0a2077734.tar.gz qemu-b26c3f9cbd784a5f7db68049fd9c49a0a2077734.tar.bz2 |
tests: refactor file monitor test to make it more understandable
The current file monitor unit tests are too clever for their own good
making it hard to understand the desired output.
Instead of trying to infer the expected events, explicitly list the
events we expect in the operation sequence.
Instead of dynamically building a matrix of tests, just have one giant
operation sequence that validates all scenarios in a single test.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'ui/keymaps.c')
0 files changed, 0 insertions, 0 deletions