about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-12-25 00:22:39 +0000
committerJames Booth <boothj5@gmail.com>2014-12-25 00:22:39 +0000
commitb3dd7d8466cefd68e367b73995ccefb15189eace (patch)
treeb90078c65d681bddc20d7f036b27bb5f99fb33f9
parentd1f8c6cddf63c8353847be17bd26e19dc8e4d980 (diff)
downloadprofani-tty-b3dd7d8466cefd68e367b73995ccefb15189eace.tar.gz
Added history tests
-rw-r--r--Makefile.am1
-rw-r--r--tests/testsuite.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b7f4933c..32516ab0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -80,6 +80,7 @@ tests_sources = \
 	tests/test_common.c tests/test_common.h \
 	tests/test_contact.c tests/test_contact.h \
 	tests/test_form.c tests/test_form.h \
+	tests/test_history.c tests/test_history.h \
 	tests/test_autocomplete.c tests/test_autocomplete.h \
 	tests/testsuite.c
 
diff --git a/tests/testsuite.c b/tests/testsuite.c
index 2618a7bd..f7bc6d6f 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -93,7 +93,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),
@@ -108,6 +108,7 @@ int main(int argc, char* argv[]) {
         unit_test(edit_previous_and_append),
         unit_test(start_session_add_new_submit_previous),
 
+/*
         unit_test(create_jid_from_null_returns_null),
         unit_test(create_jid_from_empty_string_returns_null),
         unit_test(create_jid_from_full_returns_full),