Motr  M0
sd_ut.c File Reference
#include "lib/trace.h"
#include "ut/ut.h"
#include "fdmi/fdmi.h"
#include "fdmi/source_dock_internal.h"
#include "fdmi/ut/sd_common.h"
Include dependency graph for sd_ut.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FDMI
 

Functions

void fdmi_sd_post_record (void)
 
void fdmi_sd_apply_filter (void)
 
void fdmi_sd_release_fom (void)
 
void fdmi_sd_send_notif (void)
 

Variables

struct m0_ut_suite fdmi_sd_ut
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FDMI

Definition at line 23 of file sd_ut.c.

Function Documentation

◆ fdmi_sd_apply_filter()

void fdmi_sd_apply_filter ( void  )

Definition at line 212 of file sd_apply_filter.c.

Here is the call graph for this function:

◆ fdmi_sd_post_record()

void fdmi_sd_post_record ( void  )

Definition at line 101 of file sd_post_record.c.

Here is the call graph for this function:

◆ fdmi_sd_release_fom()

void fdmi_sd_release_fom ( void  )

Wait until record is processed and released. Must happen within 10 sec, otherwise we consider it a failure.

Wait until record is sent over RPC. Must happen within 10 sec, otherwise we consider it a failure.

Definition at line 170 of file sd_release_fom.c.

Here is the call graph for this function:

◆ fdmi_sd_send_notif()

void fdmi_sd_send_notif ( void  )

Definition at line 246 of file sd_send_not.c.

Here is the call graph for this function:

Variable Documentation

◆ fdmi_sd_ut

struct m0_ut_suite fdmi_sd_ut
Initial value:
= {
.ts_name = "fdmi-sd-ut",
.ts_tests = {
{ "fdmi-sd-post-record", fdmi_sd_post_record},
{ "fdmi-sd-apply-filter", fdmi_sd_apply_filter},
{ "fdmi-sd-release-fom", fdmi_sd_release_fom},
{ "fdmi-sd-send-notif", fdmi_sd_send_notif},
{ NULL, NULL },
},
}
#define NULL
Definition: misc.h:38
void fdmi_sd_post_record(void)
void fdmi_sd_apply_filter(void)
void fdmi_sd_release_fom(void)
void fdmi_sd_send_notif(void)
Definition: sd_send_not.c:246

Definition at line 37 of file sd_ut.c.