The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Tests for a generic string buffer structure for string printing and parsing. More...
#include <freeradius-devel/util/acutest.h>
#include <freeradius-devel/util/acutest_helpers.h>
#include "sbuff.h"
Go to the source code of this file.
Macros | |
#define | PATTERN_LEN (sizeof(PATTERN) - 1) |
#define | TEST_SBUFF_LEN(_sbuff, _num) |
#define | TEST_SBUFF_USED(_sbuff, _num) |
Functions | |
static void | test_adv_past_allowed (void) |
static void | test_adv_past_str (void) |
static void | test_adv_past_strcase (void) |
static void | test_adv_past_whitespace (void) |
static void | test_adv_to_chr (void) |
static void | test_adv_to_str (void) |
static void | test_adv_to_strcase (void) |
static void | test_adv_to_utf8 (void) |
static void | test_adv_until (void) |
static void | test_bstrncpy (void) |
static void | test_bstrncpy_allowed (void) |
static void | test_bstrncpy_exact (void) |
static void | test_bstrncpy_until (void) |
static void | test_eof_terminal (void) |
static void | test_file_extend (void) |
static void | test_file_extend_max (void) |
static void | test_is_char (void) |
static void | test_next_if_char (void) |
static void | test_next_unless_char (void) |
static void | test_no_advance (void) |
static void | test_parse_init (void) |
static void | test_talloc_extend (void) |
static void | test_talloc_extend_init_zero (void) |
static void | test_talloc_extend_multi_level (void) |
static void | test_talloc_extend_with_marker (void) |
static void | test_terminal_merge (void) |
static void | test_unescape_multi_char_terminals (void) |
static void | test_unescape_until (void) |
Variables | |
static bool | allow_lowercase_and_space [UINT8_MAX+1] |
static bool | allow_lowercase_and_space_no_t [UINT8_MAX+1] |
TEST_LIST | |
Tests for a generic string buffer structure for string printing and parsing.
Definition in file sbuff_tests.c.
#define PATTERN_LEN (sizeof(PATTERN) - 1) |
#define TEST_SBUFF_LEN | ( | _sbuff, | |
_num | |||
) |
Definition at line 30 of file sbuff_tests.c.
#define TEST_SBUFF_USED | ( | _sbuff, | |
_num | |||
) |
Definition at line 39 of file sbuff_tests.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 1194 of file sbuff_tests.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 75 of file sbuff_tests.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 48 of file sbuff_tests.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 208 of file sbuff_tests.c.
Definition at line 217 of file sbuff_tests.c.
TEST_LIST |
Definition at line 1577 of file sbuff_tests.c.