LCOV - code coverage report
Current view: top level - libmogwai-schedule/tests - peer-manager-dummy.h (source / functions) Hit Total Coverage
Test: Code coverage Lines: 1 1 100.0 %
Date: 2022-06-30 20:59:16 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3 6 50.0 %

           Branch data     Line data    Source code
       1                 :            : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
       2                 :            :  *
       3                 :            :  * Copyright © 2018 Endless Mobile, Inc.
       4                 :            :  *
       5                 :            :  * This library is free software; you can redistribute it and/or
       6                 :            :  * modify it under the terms of the GNU Lesser General Public
       7                 :            :  * License as published by the Free Software Foundation; either
       8                 :            :  * version 2.1 of the License, or (at your option) any later version.
       9                 :            :  *
      10                 :            :  * This library is distributed in the hope that it will be useful,
      11                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      12                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      13                 :            :  * Lesser General Public License for more details.
      14                 :            :  *
      15                 :            :  * You should have received a copy of the GNU Lesser General Public
      16                 :            :  * License along with this library; if not, write to the Free Software
      17                 :            :  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
      18                 :            :  *
      19                 :            :  * Authors:
      20                 :            :  *  - Philip Withnall <withnall@endlessm.com>
      21                 :            :  */
      22                 :            : 
      23                 :            : #pragma once
      24                 :            : 
      25                 :            : #include <glib.h>
      26                 :            : #include <glib-object.h>
      27                 :            : #include <libmogwai-schedule/peer-manager.h>
      28                 :            : 
      29                 :            : G_BEGIN_DECLS
      30                 :            : 
      31                 :            : #define MWS_TYPE_PEER_MANAGER_DUMMY mws_peer_manager_dummy_get_type ()
      32   [ -  +  +  -  :        296 : G_DECLARE_FINAL_TYPE (MwsPeerManagerDummy, mws_peer_manager_dummy, MWS, PEER_MANAGER_DUMMY, GObject)
                   +  - ]
      33                 :            : 
      34                 :            : MwsPeerManagerDummy *mws_peer_manager_dummy_new      (gboolean             fail);
      35                 :            : 
      36                 :            : /* Mock control methods. */
      37                 :            : gboolean             mws_peer_manager_dummy_get_fail (MwsPeerManagerDummy *self);
      38                 :            : void                 mws_peer_manager_dummy_set_fail (MwsPeerManagerDummy *self,
      39                 :            :                                                       gboolean             fail);
      40                 :            : 
      41                 :            : void                 mws_peer_manager_dummy_set_peer_credentials (MwsPeerManagerDummy *self,
      42                 :            :                                                                   const gchar         *sender,
      43                 :            :                                                                   const gchar         *path);
      44                 :            : 
      45                 :            : void                 mws_peer_manager_dummy_remove_peer (MwsPeerManagerDummy *self,
      46                 :            :                                                          const gchar         *name);
      47                 :            : 
      48                 :            : G_END_DECLS

Generated by: LCOV version 1.16