From a97286a71ea39200fdbd6ad876a3b597f9ece6a7 Mon Sep 17 00:00:00 2001 From: Eric Garver Date: Tue, 9 Feb 2021 12:20:27 -0500 Subject: [PATCH 15/22] test(dbus): policy: introspect signals (cherry picked from commit 4ef37228e9bb1f564597b4cd654c2092cef0cca8) (cherry picked from commit 9aac1417b2d10a4793756b4bdfa10047a2240ecd) --- src/tests/dbus/policy_permanent_signatures.at | 15 +++++++++++++++ src/tests/dbus/policy_runtime_signatures.at | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/src/tests/dbus/policy_permanent_signatures.at b/src/tests/dbus/policy_permanent_signatures.at index 7363b7715947..9ad36fa131e7 100644 --- a/src/tests/dbus/policy_permanent_signatures.at +++ b/src/tests/dbus/policy_permanent_signatures.at @@ -48,17 +48,32 @@ DBUS_INTROSPECT([config/policy/${DBUS_POLICY_OBJ}], [[//interface[@name="org.fed ]) +DBUS_INTROSPECT([config/policy/${DBUS_POLICY_OBJ}], [[//interface[@name="org.fedoraproject.FirewallD1.config.policy"]//signal[@name="Updated"]]], 0, [dnl + + + +]) DBUS_INTROSPECT([config/policy/${DBUS_POLICY_OBJ}], [[//interface[@name="org.fedoraproject.FirewallD1.config.policy"]//method[@name="remove"]]], 0, [dnl ]) +DBUS_INTROSPECT([config/policy/${DBUS_POLICY_OBJ}], [[//interface[@name="org.fedoraproject.FirewallD1.config.policy"]//signal[@name="Removed"]]], 0, [dnl + + + +]) DBUS_INTROSPECT([config/policy/${DBUS_POLICY_OBJ}], [[//interface[@name="org.fedoraproject.FirewallD1.config.policy"]//method[@name="rename"]]], 0, [dnl ]) +DBUS_INTROSPECT([config/policy/${DBUS_POLICY_OBJ}], [[//interface[@name="org.fedoraproject.FirewallD1.config.policy"]//signal[@name="Renamed"]]], 0, [dnl + + + +]) DBUS_INTROSPECT([config/policy/${DBUS_POLICY_OBJ}], [[//interface[@name="org.fedoraproject.FirewallD1.config.policy"]//method[@name="loadDefaults"]]], 0, [dnl diff --git a/src/tests/dbus/policy_runtime_signatures.at b/src/tests/dbus/policy_runtime_signatures.at index c651ae981adf..e299329e4f4f 100644 --- a/src/tests/dbus/policy_runtime_signatures.at +++ b/src/tests/dbus/policy_runtime_signatures.at @@ -15,6 +15,12 @@ DBUS_INTROSPECT([], [[//interface[@name="org.fedoraproject.FirewallD1.policy"]// ]) +DBUS_INTROSPECT([], [[//interface[@name="org.fedoraproject.FirewallD1.policy"]//signal[@name="PolicyUpdated"]]], 0, [dnl + + + + +]) dnl Fetching Policies DBUS_INTROSPECT([], [[//interface[@name="org.fedoraproject.FirewallD1.policy"]//method[@name="getPolicies"]]], 0, [dnl -- 2.27.0