X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8b175a4bac1e0a5d09b4489c2cd6ba01adad4905..3df6cac0b5a1214cb750b260d904d16348ec4ec1:/src/simgrid_units_main.c diff --git a/src/simgrid_units_main.c b/src/simgrid_units_main.c index 0a9271fc84..7e5de8d0f4 100644 --- a/src/simgrid_units_main.c +++ b/src/simgrid_units_main.c @@ -48,6 +48,7 @@ extern xbt_test_unit_t _xbt_current_unit; /* SGU: BEGIN FILE xbt/xbt_str.c */ void test_split_quoted(void); + void test_split_str(void); /* SGU: END FILE */ /* SGU: BEGIN FILE xbt/config.c */ @@ -56,7 +57,10 @@ extern xbt_test_unit_t _xbt_current_unit; void test_config_use(void); /* SGU: END FILE */ -/* SGU: END PROTOTYPES */ + /* SGU: BEGIN FILE ./xbt/cunit.c */ + void test_expected_failure(void); + /* SGU: END FILE */ + /*******************************/ /* GENERATED FILE, DO NOT EDIT */ @@ -114,6 +118,7 @@ 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"); /* SGU: END FILE */ /* SGU: BEGIN FILE xbt/config.c */ @@ -123,6 +128,11 @@ int main(int argc, char *argv[]) { xbt_test_suite_push(suite, "use", test_config_use, "Data retrieving tests"); /* SGU: END FILE */ + /* SGU: BEGIN FILE ./xbt/cunit.c */ + suite = xbt_test_suite_by_name("cunit","Testsuite mechanism autotest"); + xbt_test_suite_push(suite, "expect", test_expected_failure, "expected failures"); + /* SGU: END FILE */ + /* SGU: END SUITES DECLARATION */ xbt_init(&argc,argv);