summaryrefslogtreecommitdiff
path: root/tests-clay/clay_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clay/clay_main.c')
-rw-r--r--tests-clay/clay_main.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/tests-clay/clay_main.c b/tests-clay/clay_main.c
index 409ce7643..ee08842c1 100644
--- a/tests-clay/clay_main.c
+++ b/tests-clay/clay_main.c
@@ -245,6 +245,12 @@ static const struct clay_func _clay_cb_object_raw_type2string[] = {
{"convert_string_to_type", &test_object_raw_type2string__convert_string_to_type},
{"convert_type_to_string", &test_object_raw_type2string__convert_type_to_string}
};
+static const struct clay_func _clay_cb_object_tree_diff[] = {
+ {"addition", &test_object_tree_diff__addition},
+ {"deletion", &test_object_tree_diff__deletion},
+ {"modification", &test_object_tree_diff__modification},
+ {"more", &test_object_tree_diff__more}
+};
static const struct clay_func _clay_cb_object_tree_frompath[] = {
{"fail_when_processing_an_invalid_path", &test_object_tree_frompath__fail_when_processing_an_invalid_path},
{"fail_when_processing_an_unknown_tree_segment", &test_object_tree_frompath__fail_when_processing_an_unknown_tree_segment},
@@ -438,6 +444,12 @@ static const struct clay_suite _clay_suites[] = {
_clay_cb_object_raw_type2string, 3
},
{
+ "object::tree::diff",
+ {"initialize", &test_object_tree_diff__initialize},
+ {"cleanup", &test_object_tree_diff__cleanup},
+ _clay_cb_object_tree_diff, 4
+ },
+ {
"object::tree::frompath",
{"initialize", &test_object_tree_frompath__initialize},
{"cleanup", &test_object_tree_frompath__cleanup},
@@ -493,8 +505,8 @@ static const struct clay_suite _clay_suites[] = {
}
};
-static size_t _clay_suite_count = 34;
-static size_t _clay_callback_count = 113;
+static size_t _clay_suite_count = 35;
+static size_t _clay_callback_count = 117;
/* Core test functions */
static void