brave-browser#61093 Test best-practice violations in sse_parser_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41668
tests QA/No release-notes/exclude OS/Desktop tests/test-quality tests/best-practice-violation
Unit tests in components/api_request_helper/sse_parser_unittest.cc break test best practices documented in docs/best-practices. SSEParserTest.MixedLineEndings (medium severity) L102 - Rule: TI-025: Use ASSERT_TRUE Before Accessing Optional Values - Problem: MixedLineEndings dereferences results_[0] and results_[1] (base::expected values) without checking has_value(), so if either line is parsed as an error the test crashes instead of failing; the other tests in the file…
Timeline (6 of 9 events)
- 2026-11-05 14:36 Label added
QA/Noby netzenbot - 2026-11-05 14:36 Label added
release-notes/excludeby netzenbot - 2026-11-13 19:42 Referenced by brave-core#41668 by netzenbot
- 2026-11-14 18:05 Closed
completedby brian-brave - 2026-11-14 18:05 Milestone set
1.102.x - Nightlyby brave-builds - 2026-11-23 16:39 Label added
OS/Desktopby netzenbot