Crinit -- Configurable Rootfs Init
mock-destroy-rtim-cmd.c File Reference

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

Implementation of a mock function for crinitGlobOptSet(). More...

#include "mock-destroy-rtim-cmd.h"
#include "unit_test.h"
Include dependency graph for mock-destroy-rtim-cmd.c:

Functions

int __wrap_crinitDestroyRtimCmd (crinitRtimCmd_t *c)
 

Detailed Description

Implementation of a mock function for crinitGlobOptSet().

Function Documentation

◆ __wrap_crinitDestroyRtimCmd()

int __wrap_crinitDestroyRtimCmd ( crinitRtimCmd_t c)

Mock function for crinitDestroyRtimCmd().

Checks that the right parameters are given and returns a pre-set value through the cmocka API. Otherwise the function is a no-op.