aboutsummaryrefslogtreecommitdiff
path: root/ui/sdl2-input.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-03-17 12:54:33 +0100
committerMarkus Armbruster <armbru@redhat.com>2020-03-17 19:58:34 +0100
commit3ecc3932cce98d12dfd0e5341b1b554aee977e66 (patch)
treeedb68f6dd3bf263cf3b89decb3a576992901c0cb /ui/sdl2-input.c
parent3d16042c9208c80b984b65cf90d1738a4c295bcc (diff)
tests/test-qmp-event: Simplify test data setup
Building expected data with qdict_put() & friends is tedious to write and hard to read. Parse them from string literals with qdict_from_jsonf_nofail() instead. While there, use initializers instead of assignments for initializing aggregate event arguments. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200317115459.31821-9-armbru@redhat.com>
Diffstat (limited to 'ui/sdl2-input.c')
0 files changed, 0 insertions, 0 deletions