Crinit -- Configurable Rootfs Init
utest-resize-file-series.h File Reference

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

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

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

Go to the source code of this file.

Functions

void crinitResizeFileSeriesTestSuccess (void **state)
 
void crinitResizeFileSeriesTestNoMemError (void **state)
 
void crinitResizeFileSeriesTestFseNullError (void **state)
 
void crinitResizeFileSeriesTestShrinkZeroError (void **state)
 

Detailed Description

Header declaring the unit tests for crinitResizeFileSeries().

Function Documentation

◆ crinitResizeFileSeriesTestFseNullError()

void crinitResizeFileSeriesTestFseNullError ( void **  state)

Unit test for crinitResizeFileSeries(), given file series is NULL.

◆ crinitResizeFileSeriesTestNoMemError()

void crinitResizeFileSeriesTestNoMemError ( void **  state)

Unit test for crinitResizeFileSeries(), fails to reallocate memory.

◆ crinitResizeFileSeriesTestShrinkZeroError()

void crinitResizeFileSeriesTestShrinkZeroError ( void **  state)

Unit test for crinitResizeFileSeries(), shrinking to zero fails.

◆ crinitResizeFileSeriesTestSuccess()

void crinitResizeFileSeriesTestSuccess ( void **  state)

Unit test for crinitResizeFileSeries(), successful execution.