test.c File Reference

Unit Test for YAZ. More...

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <yaz/test.h>
#include <yaz/log.h>

Go to the source code of this file.

Functions

void yaz_check_init1 (int *argc_p, char ***argv_p)
 used by macro. Should not be called directly
void yaz_check_init_log (const char *argv0)
 Initialize the log system.
void yaz_check_inc_todo (void)
 used by macro. Should not be called directly
void yaz_check_term1 (void)
 used by macro. Should not be called directly
void yaz_check_eq1 (int type, const char *file, int line, const char *left, const char *right, int lval, int rval)
 used by macro. Should not be called directly
void yaz_check_print1 (int type, const char *file, int line, const char *expr)
 used by macro. Should not be called directly
int yaz_test_get_verbosity ()
 Get the verbosity level.


Detailed Description

Unit Test for YAZ.

Definition in file test.c.


Function Documentation

void yaz_check_eq1 ( int  type,
const char *  file,
int  line,
const char *  left,
const char *  right,
int  lval,
int  rval 
)

used by macro. Should not be called directly

Definition at line 159 of file test.c.

References yaz_check_print1(), and YAZ_TEST_TYPE_OK.

void yaz_check_inc_todo ( void   ) 

used by macro. Should not be called directly

Definition at line 120 of file test.c.

void yaz_check_init1 ( int *  argc_p,
char ***  argv_p 
)

used by macro. Should not be called directly

Definition at line 50 of file test.c.

void yaz_check_init_log ( const char *  argv0  ) 

Initialize the log system.

used by macro. Should not be called directly

Definition at line 110 of file test.c.

References yaz_log_init_file(), and yaz_log_trunc().

void yaz_check_print1 ( int  type,
const char *  file,
int  line,
const char *  expr 
)

used by macro. Should not be called directly

Definition at line 171 of file test.c.

References yaz_log(), YAZ_TEST_TYPE_FAIL, YAZ_TEST_TYPE_OK, and YLOG_LOG.

Referenced by yaz_check_eq1().

void yaz_check_term1 ( void   ) 

used by macro. Should not be called directly

Definition at line 125 of file test.c.

int yaz_test_get_verbosity ( void   ) 

Get the verbosity level.

Definition at line 205 of file test.c.


Generated on Mon Nov 10 17:14:38 2008 for YAZ by  doxygen 1.5.6