Motr  M0
capa_ut.c File Reference
#include "lib/types.h"
#include "ut/ut.h"
#include "lib/misc.h"
#include "capa/capa.h"
Include dependency graph for capa_ut.c:

Go to the source code of this file.

Data Structures

struct  capa_object_guard
 

Functions

static int cog_init (struct capa_object_guard *cog)
 
static void cog_fini (struct capa_object_guard *cog)
 
static void capa_test (void)
 

Variables

struct m0_ut_suite capa_ut
 

Function Documentation

◆ capa_test()

static void capa_test ( void  )
static
Todo:
struct m0_capa_issuer is empty, put proper values.

Definition at line 45 of file capa_ut.c.

Here is the call graph for this function:

◆ cog_fini()

static void cog_fini ( struct capa_object_guard cog)
static

Definition at line 37 of file capa_ut.c.

Here is the caller graph for this function:

◆ cog_init()

static int cog_init ( struct capa_object_guard cog)
static

Definition at line 32 of file capa_ut.c.

Here is the caller graph for this function:

Variable Documentation

◆ capa_ut

struct m0_ut_suite capa_ut
Initial value:
= {
.ts_name = "capa-ut",
.ts_init = NULL,
.ts_fini = NULL,
.ts_tests = {
{ "capa", capa_test },
{ NULL, NULL }
}
}
#define NULL
Definition: misc.h:38
static void capa_test(void)
Definition: capa_ut.c:45

Definition at line 102 of file capa_ut.c.