mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 22:16:22 +00:00
Use a behavior-driven naming convention for unit tests. Functions are now named using the pattern: [unit]__[verb]__[scenario] The __ works as a semantic separator. Examples: * jid_create__returns__null_from_null() * cmd_connect__shows__usage_when_no_server_value Benefits: * Easy to find all tests associated with a specific function using the mandatory prefix. * Test output in CI now explicitly describes the unit, the expected outcome, and the scenario being tested. Also disabled keyhandlers tests due to missing code in src/ui.
19 lines
838 B
C
19 lines
838 B
C
#ifndef TESTS_TEST_CMD_PRESENCE_H
|
|
#define TESTS_TEST_CMD_PRESENCE_H
|
|
|
|
void cmd_presence__shows__usage_when_bad_subcmd(void** state);
|
|
void cmd_presence__shows__usage_when_bad_console_setting(void** state);
|
|
void cmd_presence__shows__usage_when_bad_chat_setting(void** state);
|
|
void cmd_presence__shows__usage_when_bad_muc_setting(void** state);
|
|
void cmd_presence__updates__console_all(void** state);
|
|
void cmd_presence__updates__console_online(void** state);
|
|
void cmd_presence__updates__console_none(void** state);
|
|
void cmd_presence__updates__chat_all(void** state);
|
|
void cmd_presence__updates__chat_online(void** state);
|
|
void cmd_presence__updates__chat_none(void** state);
|
|
void cmd_presence__updates__room_all(void** state);
|
|
void cmd_presence__updates__room_online(void** state);
|
|
void cmd_presence__updates__room_none(void** state);
|
|
|
|
#endif
|