The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions | Variables
pair_test_helpers.h File Reference

Helper functions for pair tests. More...

#include <freeradius-devel/util/pair.h>
#include <freeradius-devel/util/dict_test.h>
+ Include dependency graph for pair_test_helpers.h:

Go to the source code of this file.

Functions

static int fr_pair_test_list_alloc (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_test_attr_t const *test_defs)
 
static int fr_pair_test_list_alloc_nested (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_test_attr_t const *test_defs)
 

Variables

static uint8_t test_octets []
 
static char const * test_string = "We love testing!"
 
static size_t test_string_len = 16
 

Detailed Description

Helper functions for pair tests.

Definition in file pair_test_helpers.h.

Function Documentation

◆ fr_pair_test_list_alloc()

static int fr_pair_test_list_alloc ( TALLOC_CTX *  ctx,
fr_pair_list_t out,
fr_dict_test_attr_t const *  test_defs 
)
inlinestatic

Definition at line 43 of file pair_test_helpers.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fr_pair_test_list_alloc_nested()

static int fr_pair_test_list_alloc_nested ( TALLOC_CTX *  ctx,
fr_pair_list_t out,
fr_dict_test_attr_t const *  test_defs 
)
inlinestatic

Definition at line 61 of file pair_test_helpers.h.

+ Here is the call graph for this function:

Variable Documentation

◆ test_octets

uint8_t test_octets[]
static
Initial value:
= {
0x53, 0x65, 0x20, 0x6c, 0x6f, 0x76, 0x65,
0x20, 0x74, 0x65, 0x69, 0x74, 0x20, 0x41,
0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x0a
}

Definition at line 36 of file pair_test_helpers.h.

◆ test_string

char const* test_string = "We love testing!"
static

Definition at line 34 of file pair_test_helpers.h.

◆ test_string_len

size_t test_string_len = 16
static

Definition at line 35 of file pair_test_helpers.h.