strengthen core unit tests

Add table-driven dictionary miss and language-switch state coverage, regress stale candidates after backspace, and clear them before dictionary refresh. Keep IPC and runtime-created file checks outside the unit runner.
This commit is contained in:
2026-08-11 21:12:23 +09:00
parent 9b3f2c46f0
commit 82276bf37f
10 changed files with 149 additions and 464 deletions

View File

@@ -28,15 +28,12 @@ void vietnamese_transitions(struct ct*);
void vietnamese_backspace(struct ct*);
void vietnamese_state_lifetime(struct ct*);
void engine_clears_candidates(struct ct*);
void engine_backspace_clears_candidates(struct ct*);
void engine_selects_visible_candidate(struct ct*);
void engine_commit_contract(struct ct*);
void engine_language_switch_state(struct ct*);
void engine_telex_history_bound(struct ct*);
void dictionary_candidates(struct ct*);
void ipc_request_codec(struct ct*);
void ipc_response_pack_boundaries(struct ct*);
void ipc_response_codec_and_drain(struct ct*);
void ipc_truncated_frame(struct ct*);
void ipc_fragmented_request(struct ct*);
void ipc_closed_peer(struct ct*);
void dictionary_misses_clear_result(struct ct*);
#endif