mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Added history tests
This commit is contained in:
parent
d1f8c6cddf
commit
b3dd7d8466
@ -80,6 +80,7 @@ tests_sources = \
|
|||||||
tests/test_common.c tests/test_common.h \
|
tests/test_common.c tests/test_common.h \
|
||||||
tests/test_contact.c tests/test_contact.h \
|
tests/test_contact.c tests/test_contact.h \
|
||||||
tests/test_form.c tests/test_form.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/test_autocomplete.c tests/test_autocomplete.h \
|
||||||
tests/testsuite.c
|
tests/testsuite.c
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ int main(int argc, char* argv[]) {
|
|||||||
unit_test(add_two_adds_two),
|
unit_test(add_two_adds_two),
|
||||||
unit_test(add_two_same_adds_one),
|
unit_test(add_two_same_adds_one),
|
||||||
unit_test(add_two_same_updates),
|
unit_test(add_two_same_updates),
|
||||||
/*
|
|
||||||
unit_test(previous_on_empty_returns_null),
|
unit_test(previous_on_empty_returns_null),
|
||||||
unit_test(next_on_empty_returns_null),
|
unit_test(next_on_empty_returns_null),
|
||||||
unit_test(previous_once_returns_last),
|
unit_test(previous_once_returns_last),
|
||||||
@ -108,6 +108,7 @@ int main(int argc, char* argv[]) {
|
|||||||
unit_test(edit_previous_and_append),
|
unit_test(edit_previous_and_append),
|
||||||
unit_test(start_session_add_new_submit_previous),
|
unit_test(start_session_add_new_submit_previous),
|
||||||
|
|
||||||
|
/*
|
||||||
unit_test(create_jid_from_null_returns_null),
|
unit_test(create_jid_from_null_returns_null),
|
||||||
unit_test(create_jid_from_empty_string_returns_null),
|
unit_test(create_jid_from_empty_string_returns_null),
|
||||||
unit_test(create_jid_from_full_returns_full),
|
unit_test(create_jid_from_full_returns_full),
|
||||||
|
Loading…
Reference in New Issue
Block a user