Crinit -- Configurable Rootfs Init
utest-envset-init.h File Reference

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

Header declaring the unit tests for crinitEnvSetInit(). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void crinitEnvSetInitTestSuccess (void **state)
 
void crinitEnvSetInitTestNullInput (void **state)
 
void crinitEnvSetInitTestMallocError (void **state)
 

Detailed Description

Header declaring the unit tests for crinitEnvSetInit().

Function Documentation

◆ crinitEnvSetInitTestMallocError()

void crinitEnvSetInitTestMallocError ( void **  state)

Tests handling of a memory allocation error.

◆ crinitEnvSetInitTestNullInput()

void crinitEnvSetInitTestNullInput ( void **  state)

Tests detection of NULL pointer input.

◆ crinitEnvSetInitTestSuccess()

void crinitEnvSetInitTestSuccess ( void **  state)

Tests successful initialization of an environment set.