Tests for the FIFO queue.
More...
#include "acutest.h"
#include "acutest_helpers.h"
#include <freeradius-devel/util/fifo.h>
Go to the source code of this file.
Tests for the FIFO queue.
- Copyright
- 2026 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file fifo_tests.c.
◆ FIFO_TEST_SIZE
◆ test_fifo_create()
| static void test_fifo_create |
( |
void |
| ) |
|
|
static |
◆ test_fifo_create_invalid()
| static void test_fifo_create_invalid |
( |
void |
| ) |
|
|
static |
◆ test_fifo_free_callback()
| static void test_fifo_free_callback |
( |
void |
| ) |
|
|
static |
◆ test_fifo_full()
| static void test_fifo_full |
( |
void |
| ) |
|
|
static |
◆ test_fifo_null_args()
| static void test_fifo_null_args |
( |
void |
| ) |
|
|
static |
◆ test_fifo_partial_drain()
| static void test_fifo_partial_drain |
( |
void |
| ) |
|
|
static |
◆ test_fifo_peek()
| static void test_fifo_peek |
( |
void |
| ) |
|
|
static |
◆ test_fifo_push_pop()
| static void test_fifo_push_pop |
( |
void |
| ) |
|
|
static |
◆ test_fifo_wraparound()
| static void test_fifo_wraparound |
( |
void |
| ) |
|
|
static |
◆ test_free_callback()
| static void test_free_callback |
( |
void * |
data | ) |
|
|
static |
◆ free_count
◆ TEST_LIST
Initial value:= {
}
static void test_fifo_full(void)
static void test_fifo_create_invalid(void)
static void test_fifo_peek(void)
static void test_fifo_free_callback(void)
static void test_fifo_partial_drain(void)
static void test_fifo_null_args(void)
static void test_fifo_push_pop(void)
static void test_fifo_create(void)
static void test_fifo_wraparound(void)
Definition at line 272 of file fifo_tests.c.