Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
utest-crinit-cfg-user-handler.h File Reference

(/usr/bin/git 2025-02-19, commit: a5edf77)

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

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

Go to the source code of this file.

Functions

void crinitCfgUserHandlerTestNumericSuccess (void **state)
 
void crinitCfgUserHandlerTestAlphaInputSuccess (void **state)
 
void crinitCfgUserHandlerTestNegativeInput (void **state)
 
void crinitCfgUserHandlerTestNullInput (void **state)
 
void crinitCfgUserHandlerTestEmptyInput (void **state)
 

Detailed Description

Header declaring the unit tests for crinitCfgUserHandler().

Function Documentation

◆ crinitCfgUserHandlerTestAlphaInputSuccess()

void crinitCfgUserHandlerTestAlphaInputSuccess ( void **  state)

Tests successful parsing of a alphabetical user name (e.g. "www-run") instead of an ID.

◆ crinitCfgUserHandlerTestEmptyInput()

void crinitCfgUserHandlerTestEmptyInput ( void **  state)

Tests handling of empty value part.

◆ crinitCfgUserHandlerTestNegativeInput()

void crinitCfgUserHandlerTestNegativeInput ( void **  state)

Tests unsuccessful parsing of a negative numeric user ID.

◆ crinitCfgUserHandlerTestNullInput()

void crinitCfgUserHandlerTestNullInput ( void **  state)

Tests detection of NULL pointer input.

◆ crinitCfgUserHandlerTestNumericSuccess()

void crinitCfgUserHandlerTestNumericSuccess ( void **  state)

Tests successful parsing of a numeric user ID.