summaryrefslogtreecommitdiff
path: root/tests-clay/clay_main.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-12-14 03:32:49 +0100
committerVicent Marti <tanoku@gmail.com>2011-12-14 03:32:49 +0100
commit16a9f32abd9b038cb07e419e646ebf3aab520796 (patch)
tree1ec7b81692243b34ea2150f3424adb7cd49fc6b1 /tests-clay/clay_main.c
parentbf6d2717ab3b1a23ac7bd7f400518bbd6845c2f1 (diff)
parenta7954d2a5a950c6e2162fee3001ccbc18a7acea4 (diff)
downloadlibgit2-16a9f32abd9b038cb07e419e646ebf3aab520796.tar.gz
Merge remote-tracking branch 'nulltoken/topic/oid-generation' into development
Conflicts: tests-clay/clay.h tests-clay/clay_main.c
Diffstat (limited to 'tests-clay/clay_main.c')
-rw-r--r--tests-clay/clay_main.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests-clay/clay_main.c b/tests-clay/clay_main.c
index b8fde2045..93e15f405 100644
--- a/tests-clay/clay_main.c
+++ b/tests-clay/clay_main.c
@@ -246,6 +246,9 @@ 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_buildfromindex[] = {
+ {"generate_predictable_object_ids", &test_object_tree_buildfromindex__generate_predictable_object_ids}
+};
static const struct clay_func _clay_cb_object_tree_diff[] = {
{"addition", &test_object_tree_diff__addition},
{"deletion", &test_object_tree_diff__deletion},
@@ -445,6 +448,12 @@ static const struct clay_suite _clay_suites[] = {
_clay_cb_object_raw_type2string, 3
},
{
+ "object::tree::buildfromindex",
+ {"initialize", &test_object_tree_buildfromindex__initialize},
+ {"cleanup", &test_object_tree_buildfromindex__cleanup},
+ _clay_cb_object_tree_buildfromindex, 1
+ },
+ {
"object::tree::diff",
{"initialize", &test_object_tree_diff__initialize},
{"cleanup", &test_object_tree_diff__cleanup},
@@ -506,8 +515,8 @@ static const struct clay_suite _clay_suites[] = {
}
};
-static size_t _clay_suite_count = 35;
-static size_t _clay_callback_count = 118;
+static size_t _clay_suite_count = 36;
+static size_t _clay_callback_count = 119;
/* Core test functions */
static void