diff options
Diffstat (limited to 'source/test-impl.inc.h')
| -rw-r--r-- | source/test-impl.inc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/test-impl.inc.h b/source/test-impl.inc.h index 2ecb7a6..8e1559f 100644 --- a/source/test-impl.inc.h +++ b/source/test-impl.inc.h @@ -24,6 +24,8 @@ void test_state_cleanup(const struct et_state *state, void *data); void test_plan_entry_set_error(struct et_test_plan_entry *entry, const char *fmt, ...) __attribute__((format(printf, 2, 3))); void test_plan_entry_set_error_static(struct et_test_plan_entry *entry, const char *str); +et_test_status test_exi_readwrite(struct et_test_plan *plan, void *data, size_t data_sz, et_test_error base); + /* Expands to a struct initializer for a struct et_test */ #define TEST_STRUCT_INIT_FULL(_namestr, _flags, _init_f, _tick_f, _cleanup_f, _private_type) \ { \ @@ -33,6 +35,8 @@ void test_plan_entry_set_error_static(struct et_test_plan_entry *entry, const ch .cleanup_f = test_state_cleanup, \ .private_size = sizeof(_private_type), \ }, \ + .test_init_f = _init_f, \ + .test_cleanup_f = _cleanup_f, \ .name = _namestr, \ .flags = _flags \ } |
