brave-browser#61404 Test best-practice violations in eth_sign_typed_data_helper_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#42088
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_sign_typed_data_helper_unittest.cc break test best practices documented in docs/best-practices. EthSignedTypedDataHelperUnitTest.EncodedData (low severity) L292 - Rule: TI-025: Use ASSERT_TRUE Before Accessing Optional Values - Problem: In EncodedData, encoded_person_v3 (the std::optional returned by EncodeData under kV3) is dereferenced with -> without being checked, unlike every other result in the test. If V3 encoding of…
Timeline (7 of 11 events)
- 2026-11-05 17:17 Label added
QA/Noby netzenbot - 2026-11-05 17:17 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