The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
Loading...
Searching...
No Matches
Functions | Variables
misc_tests.c File Reference

Tests for miscellaneous utility functions. More...

#include "acutest.h"
#include <freeradius-devel/util/misc.h>
+ Include dependency graph for misc_tests.c:

Go to the source code of this file.

Functions

static fr_cmp_ret_t _int_ptr_cmp (void const *one, void const *two)
 
static void test_quick_sort_cmp_err (void)
 

Variables

static bool poisoned
 
 TEST_LIST
 

Detailed Description

Tests for miscellaneous utility functions.

Definition in file misc_tests.c.

Function Documentation

◆ _int_ptr_cmp()

static fr_cmp_ret_t _int_ptr_cmp ( void const *  one,
void const *  two 
)
static

Definition at line 29 of file misc_tests.c.

+ Here is the caller graph for this function:

◆ test_quick_sort_cmp_err()

static void test_quick_sort_cmp_err ( void  )
static

Definition at line 46 of file misc_tests.c.

+ Here is the call graph for this function:

Variable Documentation

◆ poisoned

bool poisoned
static

Definition at line 27 of file misc_tests.c.

◆ TEST_LIST

TEST_LIST
Initial value:
= {
{ "fr_quick_sort_cmp_err", test_quick_sort_cmp_err },
}
#define TEST_TERMINATOR
Definition acutest.h:64
static void test_quick_sort_cmp_err(void)
Definition misc_tests.c:46

Definition at line 83 of file misc_tests.c.