brave-browser#61274 Test best-practice violations in status_tray_runner_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41668
tests QA/No release-notes/exclude OS/Desktop feature/vpn tests/test-quality tests/best-practice-violation
Unit tests in browser/brave_vpn/win/brave_vpn_wireguard_service/status_tray/status_tray_runner_unittest.cc break test best practices documented in docs/best-practices. StatusTrayRunnerTest.RebuildMenu (low severity) L26 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: CheckConnectedMenuState and CheckDisconnectedMenuState check GetItemCount() with EXPECT_EQ and then call IsEnabledAt(0) and GetCommandIdAt(1), which CHECK-fail on an…
Timeline (6 of 10 events)
- 2026-11-05 16:00 Label added
QA/Noby netzenbot - 2026-11-05 16:00 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:06 Milestone set
1.102.x - Nightlyby brave-builds - 2026-11-23 16:42 Label added
OS/Desktopby netzenbot