aboutsummaryrefslogtreecommitdiff
path: root/tests/torture.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-05-18 22:25:06 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-05-18 22:25:06 +0200
commitf95157297e1c6dc0cf1fce12d3e10bb16fbf40f8 (patch)
treed0805c50f5af648abc204306009c2e555f263521 /tests/torture.h
parent89993dd75713b68f4ffebf9a30d03b1991c25b15 (diff)
downloadlibssh-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.h6
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 */