git.samba.org
/
obnox
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e99cc2
)
doc: Document the group functions.
author
Andreas Schneider
<asn@cryptomilk.org>
Fri, 11 Apr 2014 14:49:27 +0000
(16:49 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 11 Apr 2014 14:49:27 +0000
(16:49 +0200)
include/cmocka.h
patch
|
blob
|
history
diff --git
a/include/cmocka.h
b/include/cmocka.h
index 4799da06cb12e77606fa8dea1e62b0fd816c3312..c3a6dda0d56d26f8cbf4c013a57f91341215fdc9 100644
(file)
--- a/
include/cmocka.h
+++ b/
include/cmocka.h
@@
-1351,9
+1351,11
@@
static inline void _unit_test_dummy(void **state) {
unit_test(test), \
_unit_test_teardown(test, teardown)
+/** Initializes a UnitTest structure for a group setup function. */
#define group_test_setup(setup) \
{ "group_" #setup, setup, UNIT_TEST_FUNCTION_TYPE_GROUP_SETUP }
+/** Initializes a UnitTest structure for a group teardown function. */
#define group_test_teardown(teardown) \
{ "group_" #teardown, teardown, UNIT_TEST_FUNCTION_TYPE_GROUP_TEARDOWN }