Added additional test cases for stc-manager firewall dbus methods
[platform/core/connectivity/stc-manager.git] / unittest / gdbus.h
index 91596a9..f545629 100644 (file)
 #define STC_MGR_STATISTICS_INTERFACE    STC_MGR_SERVICE ".statistics"
 #define STC_MGR_RESTRICTION_INTERFACE   STC_MGR_SERVICE ".restriction"
 #define STC_MGR_MANAGER_INTERFACE       STC_MGR_SERVICE ".manager"
+#define STC_MGR_FIREWALL_INTERFACE      STC_MGR_SERVICE ".firewall"
 
 #define STC_MGR_STATISTICS_PATH         "/net/stc/statistics"
 #define STC_MGR_RESTRICTION_PATH        "/net/stc/restriction"
 #define STC_MGR_MANAGER_PATH            "/net/stc/manager"
+#define STC_MGR_FIREWALL_PATH           "/net/stc/firewall"
 
 #define STC_MGR_METHOD_STATISTICS_INIT              "Init"
 #define STC_MGR_METHOD_STATISTICS_GET_PER_APP_ID    "Get"
 
 #define STC_MGR_METHOD_MANAGER_STOP                 "Stop"
 
+#define STC_MGR_METHOD_FIREWALL_GET_ALL             "GetAllRule"
+#define STC_MGR_METHOD_FIREWALL_UPDATE              "UpdateRule"
+#define STC_MGR_METHOD_FIREWALL_REMOVE              "RemoveRule"
+#define STC_MGR_METHOD_FIREWALL_ADD                 "AddRule"
+#define STC_MGR_METHOD_FIREWALL_SET                 "SetChain"
+#define STC_MGR_METHOD_FIREWALL_UNSET               "UnsetChain"
+#define STC_MGR_METHOD_FIREWALL_FLUSH               "FlushChain"
+#define STC_MGR_METHOD_FIREWALL_GET_CHAIN           "GetAllChain"
+#define STC_MGR_METHOD_FIREWALL_REMOVE_CHAIN        "RemoveChain"
+#define STC_MGR_METHOD_FIREWALL_ADD_CHAIN           "AddChain"
+#define STC_MGR_METHOD_FIREWALL_GET_LOCK            "GetLock"
+#define STC_MGR_METHOD_FIREWALL_LOCK                "Lock"
+#define STC_MGR_METHOD_FIREWALL_UNLOCK              "Unlock"
+
 class GDbus {
 private:
        GDBusConnection *m_pConnection;