brave-browser#61212 Test best-practice violations in zcash_grpc_utils_unittest.cc
State: closed (completed) · created · closed · updated · discovered via search:zcash · matched title:zcash_grpc_utils_unittest, body:zcash
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/zcash/zcash_grpc_utils_unittest.cc break test best practices documented in docs/best-practices. ZCashGrpcUtilsTest.TestTxStreamHandler (medium severity) L55 - Rule: TI-025: Use ASSERT_TRUE Before Accessing Optional Values - Problem: TestTxStreamHandler reads std::optional resume_called with .value() six times without checking it was set. OnDataReceived has early-return paths that do not run the resume closure, so a regression…
Timeline (8 of 12 events)
- 2026-11-05 15:33 Label added
QA/Noby netzenbot - 2026-11-05 15:33 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: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