about summary refs log tree commit diff stats
path: root/tests/unittests/test_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/test_common.h')
-rw-r--r--tests/unittests/test_common.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/unittests/test_common.h b/tests/unittests/test_common.h
new file mode 100644
index 00000000..b4b98e5a
--- /dev/null
+++ b/tests/unittests/test_common.h
@@ -0,0 +1,58 @@
+void replace_one_substr(void **state);
+void replace_one_substr_beginning(void **state);
+void replace_one_substr_end(void **state);
+void replace_two_substr(void **state);
+void replace_char(void **state);
+void replace_when_none(void **state);
+void replace_when_match(void **state);
+void replace_when_string_empty(void **state);
+void replace_when_string_null(void **state);
+void replace_when_sub_empty(void **state);
+void replace_when_sub_null(void **state);
+void replace_when_new_empty(void **state);
+void replace_when_new_null(void **state);
+void compare_win_nums_less(void **state);
+void compare_win_nums_equal(void **state);
+void compare_win_nums_greater(void **state);
+void compare_0s_equal(void **state);
+void compare_0_greater_than_1(void **state);
+void compare_1_less_than_0(void **state);
+void compare_0_less_than_11(void **state);
+void compare_11_greater_than_0(void **state);
+void compare_0_greater_than_9(void **state);
+void compare_9_less_than_0(void **state);
+void next_available_when_only_console(void **state);
+void next_available_3_at_end(void **state);
+void next_available_9_at_end(void **state);
+void next_available_0_at_end(void **state);
+void next_available_2_in_first_gap(void **state);
+void next_available_9_in_first_gap(void **state);
+void next_available_0_in_first_gap(void **state);
+void next_available_11_in_first_gap(void **state);
+void next_available_24_first_big_gap(void **state);
+void test_online_is_valid_resource_presence_string(void **state);
+void test_chat_is_valid_resource_presence_string(void **state);
+void test_away_is_valid_resource_presence_string(void **state);
+void test_xa_is_valid_resource_presence_string(void **state);
+void test_dnd_is_valid_resource_presence_string(void **state);
+void test_available_is_not_valid_resource_presence_string(void **state);
+void test_unavailable_is_not_valid_resource_presence_string(void **state);
+void test_blah_is_not_valid_resource_presence_string(void **state);
+void test_p_sha1_hash1(void **state);
+void test_p_sha1_hash2(void **state);
+void test_p_sha1_hash3(void **state);
+void test_p_sha1_hash4(void **state);
+void test_p_sha1_hash5(void **state);
+void test_p_sha1_hash6(void **state);
+void test_p_sha1_hash6(void **state);
+void test_p_sha1_hash7(void **state);
+void utf8_display_len_null_str(void **state);
+void utf8_display_len_1_non_wide(void **state);
+void utf8_display_len_1_wide(void **state);
+void utf8_display_len_non_wide(void **state);
+void utf8_display_len_wide(void **state);
+void utf8_display_len_all_wide(void **state);
+void strip_quotes_does_nothing_when_no_quoted(void **state);
+void strip_quotes_strips_first(void **state);
+void strip_quotes_strips_last(void **state);
+void strip_quotes_strips_both(void **state);