brave-browser#61116 Test best-practice violations in time_limited_words_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41583
tests feature/sync QA/No release-notes/exclude OS/Desktop OS/iOS tests/test-quality tests/best-practice-violation
Unit tests in components/brave_sync/time_limited_words_unittest.cc break test best practices documented in docs/best-practices. TimeLimitedWordsTest.Parse, TimeLimitedWordsTest.ParseIgnoreDate, TimeLimitedWordsTest.GetNotAfter (medium severity) L94 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: TimeLimitedWordsTest.Parse, ParseIgnoreDate and GetNotAfter check a base::expected with EXPECT_TRUE/EXPECT_FALSE(has_value()) and then call…
Timeline (7 of 11 events)
- 2026-11-05 14:46 Label added
QA/Noby netzenbot - 2026-11-05 14:47 Label added
release-notes/excludeby netzenbot - 2026-11-12 13:08 Referenced by brave-core#41583 by netzenbot
- 2026-11-13 03:52 Closed
completedbrave-core#41583 by brian-brave - 2026-11-13 03:53 Milestone set
1.102.x - Nightlyby brave-builds - 2026-11-23 16:40 Label added
OS/Desktopby netzenbot - 2026-11-23 16:40 Label added
OS/iOSby netzenbot