Files
cproof/tests/unittests/test_forced_encryption.h
Jabber Developer 28a5740e8b
Some checks failed
CI / Check spelling (pull_request) Successful in 20s
CI / Check coding style (pull_request) Successful in 31s
CI / Linux (debian) (pull_request) Failing after 3m30s
CI / Linux (ubuntu) (pull_request) Successful in 12m13s
CI / Linux (arch) (pull_request) Successful in 17m57s
Add unit tests for forced encryption check function
2025-08-27 02:19:23 +02:00

16 lines
800 B
C

#ifndef TEST_FORCED_ENCRYPTION_H
#define TEST_FORCED_ENCRYPTION_H
void test_cmd_force_encryption_no_args_bad_cmd(void** state);
void test_cmd_force_encryption_toggles_on(void** state);
void test_cmd_force_encryption_toggles_off(void** state);
void test_cmd_force_encryption_toggles_off_already(void** state);
void test_cmd_force_encryption_toggles_on_already(void** state);
void test_cmd_force_encryption_sets_policy_block(void** state);
void test_cmd_force_encryption_sets_policy_resend(void** state);
void test_allow_unencrypted_message_blocks(void** state);
void test_allow_unencrypted_message_confirms_on_second_attempt(void** state);
void test_cmd_force_encryption_invalid_policy(void** state);
void test_allow_unencrypted_message_invalid_mode(void** state);
#endif // TEST_FORCED_ENCRYPTION_H