embedded IPsec source code documentation


util_test.c File Reference


Detailed Description

Test functions for the util module.

Author:
Niklaus Schild <n.schild@gmx.ch>
OUTLINE:

This file contains all the test functions used to test the util module.

IMPLEMENTATION:

There are no implementation hints to be mentioned.

NOTES:

This document is part of embedded IPsec
Copyright (c) 2003 Niklaus Schild and Christian Scheurer, HTI Biel/Bienne
All rights reserved.


Definition in file util_test.c.

#include <string.h>
#include "ipsec/util.h"
#include "ipsec/debug.h"
#include "testing/structural/structural_test.h"

Go to the source code of this file.

Functions

int test_ipsec_inet_addr (void)
void util_debug_test (test_result *global_results)


Function Documentation

int test_ipsec_inet_addr void   ) 
 

Test all debug log macros

Definition at line 59 of file util_test.c.

void util_debug_test test_result global_results  ) 
 

Test function for all the log functions (Note: some of these tests are commented out by default to make the log output more uniform)

Definition at line 117 of file util_test.c.


Copyright 2003 by Christian Scheurer and Niklaus Schild