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

(/usr/bin/git 2025-03-27, commit: 72cdbda)

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

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

Go to the source code of this file.

Functions

void crinitCfgGroupHandlerTestNumericSuccess (void **state)
 
void crinitCfgGroupHandlerTestAlphaInputSuccess (void **state)
 
void crinitCfgGroupHandlerTestAlphaInputTwoGroupsSuccess (void **state)
 
void crinitCfgGroupHandlerTestAlphaInputThreeGroupsSuccess (void **state)
 
void crinitCfgGroupHandlerTestNumericMultipleGroupsSuccess (void **state)
 
void crinitCfgGroupHandlerTestNegativeInput (void **state)
 
void crinitCfgGroupHandlerTestNullInput (void **state)
 
void crinitCfgGroupHandlerTestEmptyInput (void **state)
 

Detailed Description

Header declaring the unit tests for crinitCfgGroupHandler().

Function Documentation

◆ crinitCfgGroupHandlerTestAlphaInputSuccess()

void crinitCfgGroupHandlerTestAlphaInputSuccess ( void **  state)

Tests successful parsing of a alphabetical group name (e.g. "disk") instead of an ID.

◆ crinitCfgGroupHandlerTestAlphaInputThreeGroupsSuccess()

void crinitCfgGroupHandlerTestAlphaInputThreeGroupsSuccess ( void **  state)

Tests successful parsing of three alphabetical group names (e.g. "nogroup disk floppy") instead of an ID.

◆ crinitCfgGroupHandlerTestAlphaInputTwoGroupsSuccess()

void crinitCfgGroupHandlerTestAlphaInputTwoGroupsSuccess ( void **  state)

Tests successful parsing of two alphabetical group names (e.g. "disk floppy") instead of an ID.

◆ crinitCfgGroupHandlerTestEmptyInput()

void crinitCfgGroupHandlerTestEmptyInput ( void **  state)

Tests handling of empty value part.

◆ crinitCfgGroupHandlerTestNegativeInput()

void crinitCfgGroupHandlerTestNegativeInput ( void **  state)

Tests unsuccessful parsing of a negative numeric group ID.

◆ crinitCfgGroupHandlerTestNullInput()

void crinitCfgGroupHandlerTestNullInput ( void **  state)

Tests detection of NULL pointer input.

◆ crinitCfgGroupHandlerTestNumericMultipleGroupsSuccess()

void crinitCfgGroupHandlerTestNumericMultipleGroupsSuccess ( void **  state)

Tests successful parsing of two numeric group IDs.

◆ crinitCfgGroupHandlerTestNumericSuccess()

void crinitCfgGroupHandlerTestNumericSuccess ( void **  state)

Tests successful parsing of a numeric group ID.