Files
cproof/tests/unittests/test_helpers.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

26 lines
752 B
C

/*
* test_helpers.h
* Header for helper function tests
*/
#ifndef TEST_HELPERS_H
#define TEST_HELPERS_H
/* Subwindow width clamping tests */
void test_subwin_width_clamps_to_min(void** state);
void test_subwin_width_clamps_to_max(void** state);
void test_subwin_width_valid_unchanged(void** state);
void test_subwin_width_small_cols(void** state);
/* Hash table iteration tests */
void test_hash_table_iter_finds_all_keys(void** state);
void test_hash_table_iter_empty_table(void** state);
void test_hash_table_iter_early_exit(void** state);
void test_nested_hash_table_feature_lookup(void** state);
/* Bug fix verification tests */
void test_calloc_array_iteration_bug(void** state);
void test_format_string_with_percent(void** state);
#endif