diff options
author | Michael Vetter <jubalh@iodoru.org> | 2018-09-06 20:32:08 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2018-09-06 20:40:09 +0200 |
commit | 82f8083b857358c5dd54700fd51254ca745c30a1 (patch) | |
tree | dca5b3c68e9b5987ba2e0e40222cfb443dd9bd70 /tests/unittests/unittests.c | |
parent | 9e021d5c8f1fbbac05ff989eca1d2bf766d8c935 (diff) | |
download | profani-tty-82f8083b857358c5dd54700fd51254ca745c30a1.tar.gz |
Move p_sha1_hash() to stanza.c
Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only used in this file and now depends on libstrophe so xmpp is a better namespace folder. Renaming it as `_stanza_create_sha1_hash()`. And making static since only used here. The function cannot be tested in the unit tests anymore. Once functional tests are working again we should write a test for the sha1 functionality.
Diffstat (limited to 'tests/unittests/unittests.c')
-rw-r--r-- | tests/unittests/unittests.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/unittests/unittests.c b/tests/unittests/unittests.c index 4e3e149e..8fad2e51 100644 --- a/tests/unittests/unittests.c +++ b/tests/unittests/unittests.c @@ -78,13 +78,6 @@ int main(int argc, char* argv[]) { unit_test(test_available_is_not_valid_resource_presence_string), unit_test(test_unavailable_is_not_valid_resource_presence_string), unit_test(test_blah_is_not_valid_resource_presence_string), - unit_test(test_p_sha1_hash1), - unit_test(test_p_sha1_hash2), - unit_test(test_p_sha1_hash3), - unit_test(test_p_sha1_hash4), - unit_test(test_p_sha1_hash5), - unit_test(test_p_sha1_hash6), - unit_test(test_p_sha1_hash7), unit_test(utf8_display_len_null_str), unit_test(utf8_display_len_1_non_wide), unit_test(utf8_display_len_1_wide), |