mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 06:16:21 +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.
15 lines
671 B
C
15 lines
671 B
C
#ifndef TESTS_TEST_CMD_JOIN_H
|
|
#define TESTS_TEST_CMD_JOIN_H
|
|
|
|
void cmd_join__shows__message_when_disconnecting(void** state);
|
|
void cmd_join__shows__message_when_connecting(void** state);
|
|
void cmd_join__shows__message_when_disconnected(void** state);
|
|
void cmd_join__shows__message_when_undefined(void** state);
|
|
void cmd_join__shows__error_message_when_invalid_room_jid(void** state);
|
|
void cmd_join__tests__uses_account_mucservice_when_no_service_specified(void** state);
|
|
void cmd_join__tests__uses_supplied_nick(void** state);
|
|
void cmd_join__tests__uses_account_nick_when_not_supplied(void** state);
|
|
void cmd_join__tests__uses_password_when_supplied(void** state);
|
|
|
|
#endif
|