Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

check_blob.c File Reference

#include <sys/types.h>
#include <dnet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <check.h>

Go to the source code of this file.

Functions

 START_TEST (test_blob_newfree)
END_TEST START_TEST (test_blob_readwrite)
END_TEST START_TEST (test_blob_insertdelete)
END_TEST START_TEST (test_blob_packunpack)
END_TEST START_TEST (test_blob_seek)
END_TEST START_TEST (test_blob_index)
END_TEST Suite * blob_suite (void)
int main (void)


Function Documentation

END_TEST Suite* blob_suite void   ) 
 

Definition at line 157 of file check_blob.c.

Referenced by main().

int main void   ) 
 

Definition at line 174 of file check_blob.c.

References blob_suite().

END_TEST START_TEST test_blob_index   ) 
 

Definition at line 139 of file check_blob.c.

References blob_free(), blob_index(), blob_new(), blob_rewind, blob_rindex(), and blob_write().

END_TEST START_TEST test_blob_seek   ) 
 

Definition at line 120 of file check_blob.c.

References blob_free(), blob_insert(), blob_new(), blob_rewind, blob_seek(), and blob_skip.

END_TEST START_TEST test_blob_packunpack   ) 
 

Definition at line 74 of file check_blob.c.

References blob_free(), blob_left, blob_new(), blob_pack(), blob_print(), blob_rewind, blob_unpack(), memcmp(), and memcpy.

END_TEST START_TEST test_blob_insertdelete   ) 
 

Definition at line 42 of file check_blob.c.

References blob::base, blob_delete(), blob_free(), blob_insert(), blob_new(), blob_read(), blob_rewind, blob::end, NULL, blob::off, and blob::size.

END_TEST START_TEST test_blob_readwrite   ) 
 

Definition at line 21 of file check_blob.c.

References blob_free(), blob_new(), blob_read(), blob_rewind, and blob_write().

START_TEST test_blob_newfree   ) 
 

Definition at line 12 of file check_blob.c.

References blob_free(), blob_new(), and NULL.


Generated on Sun May 14 14:51:22 2006 by  doxygen 1.4.2