Motr  M0
pvers.c File Reference
#include "conf/pvers.h"
#include "conf/helpers.h"
#include "conf/ut/common.h"
#include "lib/errno.h"
#include "ut/ut.h"
Include dependency graph for pvers.c:

Go to the source code of this file.

Functions

static void test_pver_fid (void)
 
static void conf_ut_ha_state_set (const struct m0_conf_cache *cache, const struct m0_fid *objid, enum m0_ha_obj_state state)
 
static void test_pver_find (void)
 

Variables

struct m0_ut_suite conf_pvers_ut
 

Function Documentation

◆ conf_ut_ha_state_set()

static void conf_ut_ha_state_set ( const struct m0_conf_cache cache,
const struct m0_fid objid,
enum m0_ha_obj_state  state 
)
static

Definition at line 61 of file pvers.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_pver_fid()

static void test_pver_fid ( void  )
static

Definition at line 28 of file pvers.c.

Here is the call graph for this function:

◆ test_pver_find()

static void test_pver_find ( void  )
static

Definition at line 80 of file pvers.c.

Here is the call graph for this function:

Variable Documentation

◆ conf_pvers_ut

struct m0_ut_suite conf_pvers_ut
Initial value:
= {
.ts_name = "conf-pvers-ut",
.ts_tests = {
{ "fid", test_pver_fid },
{ "pver-find", test_pver_find },
{ NULL, NULL }
}
}
M0_INTERNAL int m0_conf_ut_cache_init(void)
Definition: common.c:107
#define NULL
Definition: misc.h:38
static void test_pver_find(void)
Definition: pvers.c:80
static void test_pver_fid(void)
Definition: pvers.c:28
M0_INTERNAL int m0_conf_ut_cache_fini(void)
Definition: common.c:114

Definition at line 182 of file pvers.c.