brave-browser#61079 Test best-practice violations in engine_consumer_conversation_api_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#42088
tests QA/No release-notes/exclude OS/Android OS/Desktop OS/iOS tests/test-quality tests/best-practice-violation
Unit tests in components/ai_chat/core/browser/engine/engine_consumer_conversation_api_unittest.cc break test best practices documented in docs/best-practices. EngineConsumerConversationAPIUnitTest.GenerateAssistantResponse_HistoryWithSelectedText (medium severity) L457 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: GenerateAssistantResponse_HistoryWithSelectedText checks messages.size() with a non-fatal EXPECT_EQ and then indexes…
Timeline (7 of 10 events)
- 2026-11-05 14:30 Label added
QA/Noby netzenbot - 2026-11-05 14:30 Label added
release-notes/excludeby netzenbot - 2026-11-26 04:01 Referenced by brave-core#42088 by netzenbot
- 2026-11-26 18:21 Closed
completedby bbondy - 2026-11-26 18:29 Label added
OS/Androidby netzenbot - 2026-11-26 18:29 Label added
OS/Desktopby netzenbot - 2026-11-26 18:29 Label added
OS/iOSby netzenbot