Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
case-success.c File Reference

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

Unit test for crinitCfgGroupHandler(), successful execution. More...

#include <stdlib.h>
#include <string.h>
#include "common.h"
#include "confhdl.h"
#include "unit_test.h"
#include "utest-crinit-cfg-group-handler.h"
Include dependency graph for case-success.c:

Functions

void crinitCfgGroupHandlerTestNumericSuccess (void **state)
 
void crinitCfgGroupHandlerTestAlphaInputSuccess (void **state)
 
void crinitCfgGroupHandlerTestAlphaInputTwoGroupsSuccess (void **state)
 
void crinitCfgGroupHandlerTestAlphaInputThreeGroupsSuccess (void **state)
 
void crinitCfgGroupHandlerTestNumericMultipleGroupsSuccess (void **state)
 

Detailed Description

Unit test for crinitCfgGroupHandler(), successful execution.

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.

◆ 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.