X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2993b7a4e92f65c6308a8a2997a32c4d5198ddd0..814751e1480ec81dd28859a5c18e1fac0e5da70c:/src/simgrid_units_main.c diff --git a/src/simgrid_units_main.c b/src/simgrid_units_main.c index 50cccda206..3e37f81aa1 100644 --- a/src/simgrid_units_main.c +++ b/src/simgrid_units_main.c @@ -22,6 +22,7 @@ extern xbt_test_unit_t _xbt_current_unit; /* SGU: BEGIN FILE xbt/dynar.c */ void test_dynar_int(void); + void test_dynar_insert(void); void test_dynar_double(void); void test_dynar_string(void); void test_dynar_sync_int(void); @@ -99,14 +100,15 @@ int main(int argc, char *argv[]) { /* SGU: BEGIN FILE xbt/dynar.c */ suite = xbt_test_suite_by_name("dynar","Dynar data container"); xbt_test_suite_push(suite, "int", test_dynar_int, "Dynars of integers"); + xbt_test_suite_push(suite, "insert", test_dynar_insert, "Using the xbt_dynar_insert and xbt_dynar_remove functions"); xbt_test_suite_push(suite, "double", test_dynar_double, "Dynars of doubles"); xbt_test_suite_push(suite, "string", test_dynar_string, "Dynars of strings"); - xbt_test_suite_push(suite, "synchronized int", test_dynar_sync_int, "Synchronized dynars of integers"); + xbt_test_suite_push(suite, "synchronized int", test_dynar_sync_int, "Synchronized dynars of integers"); /* SGU: END FILE */ /* SGU: BEGIN FILE xbt/dict.c */ suite = xbt_test_suite_by_name("dict","Dict data container"); - xbt_test_suite_push(suite, "basic", test_dict_basic, "Basic usage: change, retrieve, traverse"); + xbt_test_suite_push(suite, "basic", test_dict_basic, "Basic usage: change, retrieve, traverse"); xbt_test_suite_push(suite, "remove", test_dict_remove, "Removing some values"); xbt_test_suite_push(suite, "nulldata", test_dict_nulldata, "NULL data management"); xbt_test_suite_push(suite, "dicti", test_dict_scalar, "Scalar data and key management"); @@ -129,13 +131,13 @@ int main(int argc, char *argv[]) { /* SGU: BEGIN FILE xbt/xbt_str.c */ suite = xbt_test_suite_by_name("xbt_str","String Handling"); - xbt_test_suite_push(suite, "xbt_str_split_quoted", test_split_quoted, "test the function xbt_str_split_quoted"); - xbt_test_suite_push(suite, "xbt_str_split_str", test_split_str, "test the function xbt_str_split_str"); + xbt_test_suite_push(suite, "xbt_str_split_quoted", test_split_quoted, "test the function xbt_str_split_quoted"); + xbt_test_suite_push(suite, "xbt_str_split_str", test_split_str, "test the function xbt_str_split_str"); /* SGU: END FILE */ /* SGU: BEGIN FILE xbt/xbt_strbuff.c */ suite = xbt_test_suite_by_name("xbt_strbuff","String Buffers"); - xbt_test_suite_push(suite, "xbt_strbuff_substitute", test_strbuff_substitute, "test the function xbt_strbuff_substitute"); + xbt_test_suite_push(suite, "xbt_strbuff_substitute", test_strbuff_substitute, "test the function xbt_strbuff_substitute"); /* SGU: END FILE */ /* SGU: BEGIN FILE xbt/xbt_sha.c */