Crinit -- Configurable Rootfs Init
case-success.c File Reference

(2023-10-16, commit: 49337e0)

Unit test for crinit list api. More...

#include "common.h"
#include "list.h"
#include "unit_test.h"
#include "utest-list.h"
Include dependency graph for case-success.c:

Classes

struct  crinitTestEntry
 

Typedefs

typedef struct crinitTestEntry crinitTestEntry_t
 

Functions

static int crinitCmpTestEntry (crinitList_t *e1, crinitList_t *e2)
 
void crinitListTestSuccess (void **state)
 

Variables

static crinitList_t crinitSl = CRINIT_LIST_INIT(crinitSl)
 

Detailed Description

Unit test for crinit list api.

Typedef Documentation

◆ crinitTestEntry_t

Function Documentation

◆ crinitCmpTestEntry()

static int crinitCmpTestEntry ( crinitList_t e1,
crinitList_t e2 
)
static

◆ crinitListTestSuccess()

void crinitListTestSuccess ( void **  state)

Tests successful list operations.

Variable Documentation

◆ crinitSl

crinitList_t crinitSl = CRINIT_LIST_INIT(crinitSl)
static