Tests for value box functions.
More...
#include "acutest.h"
#include "acutest_helpers.h"
#include <freeradius-devel/util/value.h>
Go to the source code of this file.
Tests for value box functions.
- Copyright
- 2026 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file value_tests.c.
◆ test_as_uint64()
| static void test_as_uint64 |
( |
void |
| ) |
|
|
static |
◆ test_asprintf()
| static void test_asprintf |
( |
void |
| ) |
|
|
static |
◆ test_bstrndup()
| static void test_bstrndup |
( |
void |
| ) |
|
|
static |
◆ test_cast_bool_to_uint32()
| static void test_cast_bool_to_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_cast_in_place_uint32_to_string()
| static void test_cast_in_place_uint32_to_string |
( |
void |
| ) |
|
|
static |
◆ test_cast_in_place_uint32_to_uint64()
| static void test_cast_in_place_uint32_to_uint64 |
( |
void |
| ) |
|
|
static |
◆ test_cast_int32_to_int64()
| static void test_cast_int32_to_int64 |
( |
void |
| ) |
|
|
static |
◆ test_cast_same_type()
| static void test_cast_same_type |
( |
void |
| ) |
|
|
static |
◆ test_cast_string_to_uint32()
| static void test_cast_string_to_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_cast_uint32_to_bool()
| static void test_cast_uint32_to_bool |
( |
void |
| ) |
|
|
static |
◆ test_cast_uint32_to_string()
| static void test_cast_uint32_to_string |
( |
void |
| ) |
|
|
static |
◆ test_cast_uint32_to_uint64()
| static void test_cast_uint32_to_uint64 |
( |
void |
| ) |
|
|
static |
◆ test_cast_uint8_to_uint32()
| static void test_cast_uint8_to_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_clear()
| static void test_clear |
( |
void |
| ) |
|
|
static |
◆ test_clear_string()
| static void test_clear_string |
( |
void |
| ) |
|
|
static |
◆ test_cmp_bool()
| static void test_cmp_bool |
( |
void |
| ) |
|
|
static |
◆ test_cmp_different_types()
| static void test_cmp_different_types |
( |
void |
| ) |
|
|
static |
◆ test_cmp_float64()
| static void test_cmp_float64 |
( |
void |
| ) |
|
|
static |
◆ test_cmp_int32()
| static void test_cmp_int32 |
( |
void |
| ) |
|
|
static |
◆ test_cmp_octets()
| static void test_cmp_octets |
( |
void |
| ) |
|
|
static |
◆ test_cmp_octets_length()
| static void test_cmp_octets_length |
( |
void |
| ) |
|
|
static |
◆ test_cmp_op_eq()
| static void test_cmp_op_eq |
( |
void |
| ) |
|
|
static |
◆ test_cmp_op_ge()
| static void test_cmp_op_ge |
( |
void |
| ) |
|
|
static |
◆ test_cmp_op_gt()
| static void test_cmp_op_gt |
( |
void |
| ) |
|
|
static |
◆ test_cmp_op_le()
| static void test_cmp_op_le |
( |
void |
| ) |
|
|
static |
◆ test_cmp_op_lt()
| static void test_cmp_op_lt |
( |
void |
| ) |
|
|
static |
◆ test_cmp_op_ne()
| static void test_cmp_op_ne |
( |
void |
| ) |
|
|
static |
◆ test_cmp_string()
| static void test_cmp_string |
( |
void |
| ) |
|
|
static |
◆ test_cmp_uint32_equal()
| static void test_cmp_uint32_equal |
( |
void |
| ) |
|
|
static |
◆ test_cmp_uint32_less()
| static void test_cmp_uint32_less |
( |
void |
| ) |
|
|
static |
◆ test_copy_octets()
| static void test_copy_octets |
( |
void |
| ) |
|
|
static |
◆ test_copy_preserves_tainted()
| static void test_copy_preserves_tainted |
( |
void |
| ) |
|
|
static |
◆ test_copy_string()
| static void test_copy_string |
( |
void |
| ) |
|
|
static |
◆ test_copy_uint32()
| static void test_copy_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_from_str_bool()
| static void test_from_str_bool |
( |
void |
| ) |
|
|
static |
◆ test_from_str_float64()
| static void test_from_str_float64 |
( |
void |
| ) |
|
|
static |
◆ test_from_str_int32()
| static void test_from_str_int32 |
( |
void |
| ) |
|
|
static |
◆ test_from_str_octets()
| static void test_from_str_octets |
( |
void |
| ) |
|
|
static |
◆ test_from_str_string()
| static void test_from_str_string |
( |
void |
| ) |
|
|
static |
◆ test_from_str_uint32()
| static void test_from_str_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_hash_different_values()
| static void test_hash_different_values |
( |
void |
| ) |
|
|
static |
◆ test_hash_same_values()
| static void test_hash_same_values |
( |
void |
| ) |
|
|
static |
◆ test_hash_string()
| static void test_hash_string |
( |
void |
| ) |
|
|
static |
◆ test_increment_int32()
| static void test_increment_int32 |
( |
void |
| ) |
|
|
static |
◆ test_increment_uint32()
| static void test_increment_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_increment_uint8_overflow()
| static void test_increment_uint8_overflow |
( |
void |
| ) |
|
|
static |
◆ test_init()
| static void test_init |
( |
void |
| ) |
|
|
static |
◆ test_memdup()
| static void test_memdup |
( |
void |
| ) |
|
|
static |
◆ test_network_bool()
| static void test_network_bool |
( |
void |
| ) |
|
|
static |
◆ test_network_int32()
| static void test_network_int32 |
( |
void |
| ) |
|
|
static |
◆ test_network_length()
| static void test_network_length |
( |
void |
| ) |
|
|
static |
◆ test_network_uint32()
| static void test_network_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_network_uint64()
| static void test_network_uint64 |
( |
void |
| ) |
|
|
static |
◆ test_print_bool()
| static void test_print_bool |
( |
void |
| ) |
|
|
static |
◆ test_print_int32_negative()
| static void test_print_int32_negative |
( |
void |
| ) |
|
|
static |
◆ test_print_octets()
| static void test_print_octets |
( |
void |
| ) |
|
|
static |
◆ test_print_string()
| static void test_print_string |
( |
void |
| ) |
|
|
static |
◆ test_print_uint32()
| static void test_print_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_round_trip_bool()
| static void test_round_trip_bool |
( |
void |
| ) |
|
|
static |
◆ test_round_trip_int64()
| static void test_round_trip_int64 |
( |
void |
| ) |
|
|
static |
◆ test_round_trip_network_uint32()
| static void test_round_trip_network_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_round_trip_uint32()
| static void test_round_trip_uint32 |
( |
void |
| ) |
|
|
static |
◆ test_strdup()
| static void test_strdup |
( |
void |
| ) |
|
|
static |
◆ test_tainted_flag()
| static void test_tainted_flag |
( |
void |
| ) |
|
|
static |
◆ test_truthy_bool()
| static void test_truthy_bool |
( |
void |
| ) |
|
|
static |
◆ test_truthy_octets()
| static void test_truthy_octets |
( |
void |
| ) |
|
|
static |
◆ test_truthy_string()
| static void test_truthy_string |
( |
void |
| ) |
|
|
static |
◆ test_truthy_uint32()
| static void test_truthy_uint32 |
( |
void |
| ) |
|
|
static |
◆ autofree
◆ TEST_LIST