Skip to content

Commit 5251de0

Browse files
committed
test(log): add SLogAdapter reliability tests
- Add TestSLogAdapter_MultilineMessages verifying message assembly: - Single line with newline logged correctly - Split messages across calls are assembled - Multiple lines in single callback produce separate records - Incomplete lines buffered until newline received - Empty lines between content handled - Add TestSLogAdapter_NilContext verifying graceful nil handling: - Falls back to "global" scope without panic - Multiple nil context calls work correctly - Add TestSLogAdapter_LogLevels for FFmpeg-to-slog level mapping - Add TestSLogAdapter_QuietLevelSilent for AVLogQuiet suppression - Add TestSLogAdapter_ThreadSafety for concurrent logging - Add TestSLogAdapter_BasicIntegration for slog buffer output
1 parent 5d2a303 commit 5251de0

1 file changed

Lines changed: 410 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)