Files
cproof/tests/unittests/test_autoping.h
jabber.developer2 6f136bde88
All checks were successful
CI Code / Check spelling (pull_request) Successful in 20s
CI Code / Check coding style (pull_request) Successful in 35s
CI Code / Code Coverage (pull_request) Successful in 4m54s
CI Code / Linux (ubuntu) (pull_request) Successful in 6m23s
CI Code / Linux (debian) (pull_request) Successful in 9m12s
CI Code / Linux (arch) (pull_request) Successful in 11m12s
tests: add autoping, helpers and XEP functional tests
- Add 15 unit tests for autoping logic (XEP-0199)
- Add 10 helper tests for refactoring validation
- Add Last Activity functional tests (XEP-0012)
- Add MUC affiliation/kick tests (XEP-0045)
2026-02-05 00:01:16 +03:00

21 lines
944 B
C

/*
* test_autoping.h
* Header for autoping unit tests
*/
void test_autoping_cancel_resets_state(void** state);
void test_autoping_send_fails_when_disconnected(void** state);
void test_autoping_send_succeeds_when_connected(void** state);
void test_autoping_send_fails_if_already_waiting(void** state);
void test_autoping_check_not_connected(void** state);
void test_autoping_check_not_waiting(void** state);
void test_autoping_check_no_timer(void** state);
void test_autoping_check_ok_within_timeout(void** state);
void test_autoping_check_ok_when_timeout_disabled(void** state);
void test_autoping_timer_extend_resets_timer(void** state);
void test_autoping_timer_extend_noop_without_timer(void** state);
void test_autoping_pong_received_cancels_wait(void** state);
void test_autoping_can_send_after_pong(void** state);
void test_autoping_respects_connection_state_changes(void** state);
void test_autoping_timeout_detection(void** state);