Heraia
0.1.8
|
tests (code coverage and bug tracking) More...
#include <libheraia.h>
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 More... | |
gboolean | test_decode_functions (void) |
test decode functions No parameters More... | |
gboolean | tests_ui (heraia_struct_t *main_struct) |
functions to tests heraia's UI More... | |
tests (code coverage and bug tracking)
Definition in file tests.c.
gboolean test_decode_functions | ( | void | ) |
test decode functions No parameters
Definition at line 66 of file tests.c.
References decode_16bits_signed(), decode_16bits_unsigned(), decode_32bits_signed(), decode_32bits_unsigned(), decode_64bits_signed(), decode_64bits_unsigned(), decode_8bits_signed(), decode_8bits_unsigned(), decode_double_normal(), decode_double_scientific(), decode_float_normal(), decode_float_scientific(), and test_one_function().
Referenced by do_heraia_coverage_tests().
|
static |
test one decoding function from the decode.c module
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().
gboolean tests_ui | ( | heraia_struct_t * | main_struct | ) |
functions to tests heraia's UI
main_struct | : the main structure (the whole one) |
Definition at line 97 of file tests.c.
Referenced by on_tests_menu_activate().