brave-browser#61413 Test best-practice violations in brave_visit_database_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41583
tests QA/No release-notes/exclude OS/Android OS/Desktop OS/iOS tests/test-quality tests/best-practice-violation
Unit tests in components/history/core/browser/brave_visit_database_unittest.cc break test best practices documented in docs/best-practices. BraveVisitDatabaseTest.BraveGetKnownToSyncCount (low severity) L31 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: SetUp() checks db_.OpenInMemory() with EXPECT_TRUE and then creates tables and runs the test against the database. If opening fails, SetUp and the test body keep running and report a…
Timeline (8 of 11 events)
- 2026-11-05 17:20 Label added
QA/Noby netzenbot - 2026-11-05 17:20 Label added
release-notes/excludeby netzenbot - 2026-11-12 13:08 Referenced by brave-core#41583 by netzenbot
- 2026-11-13 03:52 Closed
completedby brian-brave - 2026-11-13 03:54 Milestone set
1.102.x - Nightlyby brave-builds - 2026-11-16 12:49 Label added
OS/Androidby netzenbot - 2026-11-16 12:49 Label added
OS/Desktopby netzenbot - 2026-11-16 12:49 Label added
OS/iOSby netzenbot