From 003002d6384c2a2bb73d6b33a89f82c9dfd700d0 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 24 Dec 2014 19:58:19 +0000 Subject: [PATCH] Added autocomplete tests --- Makefile.am | 1 + tests/testsuite.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6ab7e4cf..5bfd6bfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,6 +67,7 @@ tests_sources = \ tests/config/stub_accounts.c \ tests/helpers.c tests/helpers.h \ tests/test_cmd_account.c tests/test_cmd_account.h \ + tests/test_autocomplete.c tests/test_autocomplete.h \ tests/testsuite.c main_source = src/main.c diff --git a/tests/testsuite.c b/tests/testsuite.c index 21f65e01..a179db27 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -83,7 +83,7 @@ int main(int argc, char* argv[]) { unit_test(test_p_sha1_hash5), unit_test(test_p_sha1_hash6), unit_test(test_p_sha1_hash7), - +*/ unit_test(clear_empty), unit_test(reset_after_create), unit_test(find_after_create), @@ -94,7 +94,7 @@ int main(int argc, char* argv[]) { unit_test(add_two_adds_two), unit_test(add_two_same_adds_one), unit_test(add_two_same_updates), - +/* unit_test(previous_on_empty_returns_null), unit_test(next_on_empty_returns_null), unit_test(previous_once_returns_last),