![]() |
The FreeRADIUS server $Id: a4e7f8c94e8038b7627bcf52356b7ed15955c1d7 $
|
#include "acutest_common_init.h"#include "acutest_helpers.h"#include "pair_test_helpers.h"#include <freeradius-devel/util/conf.h>#include <freeradius-devel/util/dict.h>#include <freeradius-devel/util/sbuff.h>
Include dependency graph for pair_nested_tests.c:Go to the source code of this file.
Macros | |
| #define | TEST_GLOBAL_INIT test_init() |
| #define | TEST_PRINT_PAIR(_func, _parent, _vp, _expected) |
| Print one pair into a buffer, and compare it against what we expect. | |
Variables | |
| static TALLOC_CTX * | autofree |
| static fr_dict_t * | test_dict |
| TEST_LIST | |
| static fr_pair_list_t | test_pairs |
Definition at line 25 of file pair_nested_tests.c.
| #define TEST_PRINT_PAIR | ( | _func, | |
| _parent, | |||
| _vp, | |||
| _expected | |||
| ) |
Print one pair into a buffer, and compare it against what we expect.
Definition at line 1319 of file pair_nested_tests.c.
|
extern |
Add a protocol to the global protocol table.
Inserts a protocol into the global protocol table. Uses the root attributes of the dictionary for comparisons.
| [in] | dict | of protocol we're inserting. |
Definition at line 1561 of file dict_util.c.
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
fr_pair_debug() and fr_pair_list_debug() write to a FILE, not to an sbuff
Definition at line 1492 of file pair_nested_tests.c.
Here is the call graph for this function:
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
fr_pair_print_secure() walks the children of a structural pair
Each child but the last is followed by a separator, so the interesting cases are no children, one child, and more than one.
Definition at line 1430 of file pair_nested_tests.c.
Here is the call graph for this function:
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Global initialisation.
Definition at line 41 of file pair_nested_tests.c.
Here is the call graph for this function:
|
static |
Definition at line 35 of file pair_nested_tests.c.
|
static |
Definition at line 37 of file pair_nested_tests.c.
| TEST_LIST |
Definition at line 1530 of file pair_nested_tests.c.
|
static |
Definition at line 36 of file pair_nested_tests.c.
1.9.8