diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-05-18 22:25:06 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-05-18 22:25:06 +0200 |
commit | f95157297e1c6dc0cf1fce12d3e10bb16fbf40f8 (patch) | |
tree | d0805c50f5af648abc204306009c2e555f263521 /tests/torture.h | |
parent | 89993dd75713b68f4ffebf9a30d03b1991c25b15 (diff) | |
download | libssh-f95157297e1c6dc0cf1fce12d3e10bb16fbf40f8.tar.gz libssh-f95157297e1c6dc0cf1fce12d3e10bb16fbf40f8.tar.xz libssh-f95157297e1c6dc0cf1fce12d3e10bb16fbf40f8.zip |
Factorize all the main functions in unit tests
Diffstat (limited to 'tests/torture.h')
-rw-r--r-- | tests/torture.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/torture.h b/tests/torture.h index 542b275..2be4564 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -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 */ |