diff options
Diffstat (limited to 'tests-clay/clay_main.c')
-rw-r--r-- | tests-clay/clay_main.c | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/tests-clay/clay_main.c b/tests-clay/clay_main.c index af9e08877..49a867698 100644 --- a/tests-clay/clay_main.c +++ b/tests-clay/clay_main.c @@ -108,6 +108,23 @@ static int clay_sandbox(void); #define clay_on_suite() /* nop */ /* Autogenerated test data by clay */ +static const struct clay_func _clay_cb_attr_file[] = { + {"assign_variants", &test_attr_file__assign_variants}, + {"check_attr_examples", &test_attr_file__check_attr_examples}, + {"match_variants", &test_attr_file__match_variants}, + {"simple_read", &test_attr_file__simple_read} +}; +static const struct clay_func _clay_cb_attr_lookup[] = { + {"assign_variants", &test_attr_lookup__assign_variants}, + {"check_attr_examples", &test_attr_lookup__check_attr_examples}, + {"match_variants", &test_attr_lookup__match_variants}, + {"simple", &test_attr_lookup__simple} +}; +static const struct clay_func _clay_cb_attr_repo[] = { + {"foreach", &test_attr_repo__foreach}, + {"get_many", &test_attr_repo__get_many}, + {"get_one", &test_attr_repo__get_one} +}; static const struct clay_func _clay_cb_buf_basic[] = { {"printf", &test_buf_basic__printf}, {"resize", &test_buf_basic__resize} @@ -303,6 +320,24 @@ static const struct clay_func _clay_cb_status_worktree[] = { static const struct clay_suite _clay_suites[] = { { + "attr::file", + {NULL, NULL}, + {NULL, NULL}, + _clay_cb_attr_file, 4 + }, + { + "attr::lookup", + {NULL, NULL}, + {NULL, NULL}, + _clay_cb_attr_lookup, 4 + }, + { + "attr::repo", + {"initialize", &test_attr_repo__initialize}, + {"cleanup", &test_attr_repo__cleanup}, + _clay_cb_attr_repo, 3 + }, + { "buf::basic", {NULL, NULL}, {NULL, NULL}, @@ -520,8 +555,8 @@ static const struct clay_suite _clay_suites[] = { } }; -static size_t _clay_suite_count = 36; -static size_t _clay_callback_count = 120; +static size_t _clay_suite_count = 39; +static size_t _clay_callback_count = 131; /* Core test functions */ static void |