brave-browser#61201 Test best-practice violations in tx_state_manager_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41957
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/browser/tx_state_manager_unittest.cc break test best practices documented in docs/best-practices. TxStateManagerUnitTest.ConvertFromAddress (medium severity) L133 - Rule: CSA-051: Use base::test::ParseJson and base::ExpectDict in Tests - Problem: ConvertFromAddress checks the stored transaction dict with value->FindString() and dereferences the result of FindString("from_account_id") without a null check. If the key is missing or…
Timeline (9 of 13 events)
- 2026-11-05 15:27 Label added
QA/Noby netzenbot - 2026-11-05 15:27 Label added
release-notes/excludeby netzenbot - 2026-11-21 01:42 Referenced by brave-core#41953 by netzenbot
- 2026-11-22 02:27 Referenced by brave-core#41957 by netzenbot
- 2026-11-23 16:29 Closed
completedbrave-core#41957 by bbondy - 2026-11-23 16:30 Milestone set
1.102.x - Nightlyby brave-builds - 2026-11-23 16:41 Label added
OS/Androidby netzenbot - 2026-11-23 16:41 Label added
OS/Desktopby netzenbot - 2026-11-23 16:41 Label added
OS/iOSby netzenbot