Tests for the RADIUS/1.1 Token tracking in the rlm_radius tracking table.
More...
#include <freeradius-devel/util/test/acutest.h>
#include <freeradius-devel/util/test/acutest_helpers.h>
#include "track.c"
Go to the source code of this file.
Tests for the RADIUS/1.1 Token tracking in the rlm_radius tracking table.
- Copyright
- 2026 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file track_tests.c.
◆ REQUEST
◆ RESERVE_OR_RETURN
| #define RESERVE_OR_RETURN |
( |
|
_tt, |
|
|
|
_te |
|
) |
| |
Value:do { \
TEST_CHECK(!"track_reserve() failed"); \
return; \
} \
} while (0)
static radius_track_entry_t * track_reserve(radius_track_t *tt, radius_track_entry_t **te_p)
Definition at line 75 of file track_tests.c.
◆ test_binding()
| static void test_binding |
( |
void |
| ) |
|
|
static |
◆ test_id_mode()
| static void test_id_mode |
( |
void |
| ) |
|
|
static |
◆ test_token_epoch()
| static void test_token_epoch |
( |
void |
| ) |
|
|
static |
◆ test_token_find()
| static void test_token_find |
( |
void |
| ) |
|
|
static |
◆ test_token_many()
| static void test_token_many |
( |
void |
| ) |
|
|
static |
◆ test_token_release()
| static void test_token_release |
( |
void |
| ) |
|
|
static |
◆ test_token_reuse()
| static void test_token_reuse |
( |
void |
| ) |
|
|
static |
◆ test_update()
| static void test_update |
( |
void |
| ) |
|
|
static |
◆ token_find()
◆ token_table()
◆ track_reserve()
◆ dummy_request
◆ TEST_LIST
Initial value:= {
}
static void test_update(void)
static void test_id_mode(void)
static void test_token_many(void)
static void test_token_find(void)
static void test_token_release(void)
static void test_binding(void)
static void test_token_epoch(void)
static void test_token_reuse(void)
Definition at line 325 of file track_tests.c.