Skip to content

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs

Comment 1, line 1

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs:1

//! Gemini boundary scenarios, with synthetic labels in directories and headers.

Comment 2, line 2

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs:2

//! Reject user tokens, undocumented message types and top-level schema deviations;

Comment 3, line 3

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs:3

//! token-shape errors do not reject the whole file; cover one-time extra-key diagnostics, missing-ID index fallback, BOM and detection.

Comment 4, line 4

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs:4

//! Expectations are manually calculated in each sample _expectations.md.

Comment 5, line 54

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs:54

// Second scan still rejects rather than returning silent zero success; one diagnostic per run.

Comment 6, line 97

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs:97

// Source-file degraded health is visible.

Comment 7, line 110

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs:110

// Skip negative-valued message: no gemini:syn-sess-neg:syn-msg-bad event.

Comment 8, line 191

desktop/src-tauri/crates/core/tests/gemini_gaps_synthetic.rs:191

// sessionId without messages may be an unfinished initial write; retry detection next run.