brave-browser#61182 Test best-practice violations in polkadot_tx_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/polkadot/polkadot_tx_manager_unittest.cc break test best practices documented in docs/best-practices. PolkadotTxManagerUnitTest.AddUnapprovedPolkadotTransaction (medium severity) L379 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: In AddUnapprovedPolkadotTransaction, EXPECT_TRUE(tx) (lines 379 and 422) is followed by tx->FindDict("tx"), and the returned polkadot_tx is then dereferenced…
Timeline (9 of 13 events)
- 2026-11-05 15:18 Label added
QA/Noby netzenbot - 2026-11-05 15:18 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
completedby 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