From 8aa3a33e442fc49fd67e4c8df8869d257c41c77e Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Thu, 6 Jun 2019 17:37:58 +0200 Subject: tests/qapi-schema: Test for good feature lists in structs Signed-off-by: Kevin Wolf Message-Id: <20190606153803.5278-3-armbru@redhat.com> Reviewed-by: Markus Armbruster Signed-off-by: Markus Armbruster --- tests/test-qmp-cmds.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/test-qmp-cmds.c') diff --git a/tests/test-qmp-cmds.c b/tests/test-qmp-cmds.c index f0b95dcbc3..ab389f42da 100644 --- a/tests/test-qmp-cmds.c +++ b/tests/test-qmp-cmds.c @@ -43,6 +43,14 @@ void qmp_user_def_cmd1(UserDefOne * ud1, Error **errp) { } +void qmp_test_features(FeatureStruct0 *fs0, FeatureStruct1 *fs1, + FeatureStruct2 *fs2, FeatureStruct3 *fs3, + FeatureStruct4 *fs4, CondFeatureStruct1 *cfs1, + CondFeatureStruct2 *cfs2, CondFeatureStruct3 *cfs3, + Error **errp) +{ +} + UserDefTwo *qmp_user_def_cmd2(UserDefOne *ud1a, bool has_udb1, UserDefOne *ud1b, Error **errp) -- cgit v1.2.3