brave-browser#61402 Test best-practice violations in eth_address_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41668
tests QA/No release-notes/exclude feature/web3/wallet OS/Android OS/Desktop OS/iOS tests/test-quality tests/best-practice-violation
Unit tests in components/brave_wallet/common/eth_address_unittest.cc break test best practices documented in docs/best-practices. EthAddressUnitTest.FromPublicKey (low severity) L19 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: EthAddressUnitTest.FromPublicKey checks base::HexStringToBytes() with EXPECT_TRUE and then unwraps base::span(public_key).to_fixed_extent ().value(). If the decode fails or produces the wrong length, the test…
Timeline (8 of 12 events)
- 2026-11-05 17:16 Label added
QA/Noby netzenbot - 2026-11-05 17:16 Label added
release-notes/excludeby netzenbot - 2026-11-13 19:42 Referenced by brave-core#41668 by netzenbot
- 2026-11-14 18:05 Closed
completedbrave-core#41668 by brian-brave - 2026-11-14 18:07 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