Factorize all the main functions in unit tests

This commit is contained in:
Aris Adamantiadis
2010-05-18 22:25:06 +02:00
parent 89993dd757
commit f95157297e
10 changed files with 36 additions and 191 deletions

View File

@@ -31,4 +31,10 @@ void torture_create_case_fixture(Suite *s, const char *name, TFun function,
void torture_create_case_timeout(Suite *s, const char *name, TFun function,
int timeout);
/*
* This function must be defined in every unit test file.
*/
Suite *torture_make_suite(void);
#endif /* _TORTURE_H */