tests.c File Reference

tests (code coverage and bug tracking) More...

#include <libheraia.h>
Include dependency graph for tests.c:

Go to the source code of this file.

Functions

static gboolean test_one_function (DecodeFunc a_function, gchar *function_name, guchar *data, gpointer data_struct, gchar *expected_result)
 test one decoding function from the decode.c module
gboolean test_decode_functions (void)
 test decode functions No parameters
gboolean tests_ui (heraia_struct_t *main_struct)
 functions to tests heraia's UI

Detailed Description

tests (code coverage and bug tracking)

Definition in file tests.c.


Function Documentation

gboolean test_decode_functions ( void   ) 
static gboolean test_one_function ( DecodeFunc  a_function,
gchar *  function_name,
guchar *  data,
gpointer  data_struct,
gchar *  expected_result 
) [static]

test one decoding function from the decode.c module

Parameters:
a_function : a decoding function that responds to the DecodeFunc template
function_name : a gchar * representing the name of the function
data : the data to be decoded
data_struct : a structure related to the decoding function that may help to decode data correctly
expected_result : the result that may give the decoding function with those specific parameters

Definition at line 44 of file tests.c.

Referenced by test_decode_functions().

Here is the caller graph for this function:

gboolean tests_ui ( heraia_struct_t main_struct  ) 

functions to tests heraia's UI

Parameters:
main_struct : the main structure (the whole one)

Definition at line 97 of file tests.c.

Referenced by on_tests_menu_activate().

Here is the caller graph for this function:

Generated on Mon May 2 21:06:14 2011 for Heraia by  doxygen 1.6.3