Zcash × Brave WalletPersonal project

Type to search. Use ↑ ↓ and Enter to open a result.

Test best-practice violations in containers_icon_generator_unittest.cc

In a Nightly build Issue Testnet, tests & tooling

Lead item brave-browser#61051 · opened by netzenbot · last source update

Issue state

Closed (completed)

Closed .

Implementation

  • brave-core#41583 merged 2026-11-13 into master by netzenbot
    Use ASSERT for test preconditions (TI-034, 65 issues)
    Linked by: GitHub closing reference, “Resolves/Fixes” line in the PR description

Release notes

No platform changelog lists this item.

Validation

Not QA-tested (QA/No).

No QA pass labels.

QA labels are Brave’s own validation records per OS. They are not independent verification by this tracker.

Target

1.102.x - Nightly

For closed issues Brave sets the milestone to the earliest version line it believes the change landed in, and renames milestones as branches move from Nightly to Beta to Release. This tracker shows it but relies on build ancestry and release notes for availability.

Platforms (OS labels): Desktop

Owner: unassigned · PR authors: netzenbot

Build presence

Whether a merged pull request in this group is an ancestor of the brave-core tag of each platform’s current build (from versions.brave.com). Code presence is not the same as a feature being exposed on that platform.

PlatformReleaseBetaNightly
DesktopNot included 1.100.59not in v1.102.5 (merged 2026-11-13T03:52Z, after v1.102.5 was published); earlier builds cannot include it (brave-core#41583)Not included 1.101.57not in v1.102.5 (merged 2026-11-13T03:52Z, after v1.102.5 was published); earlier builds cannot include it (brave-core#41583)Included 1.102.46in v1.102.6 (GitHub compare v1.102.6...f23a766e: behind); later builds of the same history include it (brave-core#41583)
AndroidNot included 1.100.59not in v1.102.5 (merged 2026-11-13T03:52Z, after v1.102.5 was published); earlier builds cannot include it (brave-core#41583)Not included 1.101.57not in v1.102.5 (merged 2026-11-13T03:52Z, after v1.102.5 was published); earlier builds cannot include it (brave-core#41583)Included 1.102.43in v1.102.6 (GitHub compare v1.102.6...f23a766e: behind); later builds of the same history include it (brave-core#41583)
iOSNo buildNo tagged build (iOS App Store versions have no published build number).Not included 1.101.57not in v1.102.5 (merged 2026-11-13T03:52Z, after v1.102.5 was published); earlier builds cannot include it (brave-core#41583)Included 1.102.46in v1.102.6 (GitHub compare v1.102.6...f23a766e: behind); later builds of the same history include it (brave-core#41583)

Members and their history

Issue

brave-browser#61051 Test best-practice violations in containers_icon_generator_unittest.cc

State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41583

tests QA/No release-notes/exclude OS/Desktop tests/test-quality tests/best-practice-violation

Unit tests in browser/ui/containers/containers_icon_generator_unittest.cc break test best practices documented in docs/best-practices. ContainersIconGeneratorUnitTest.GetVectorIconFromIconType_BasicIcons (medium severity) L40 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: GetVectorIconFromIconType_BasicIcons checks the map lookup with EXPECT_NE and then dereferences it->second on the next line. If a new mojom::Icon value is added…

Timeline (6 of 9 events)
  1. 2026-11-05 14:16 Label added QA/No by netzenbot
  2. 2026-11-05 14:16 Label added release-notes/exclude by netzenbot
  3. 2026-11-12 13:08 Referenced by brave-core#41583 by netzenbot
  4. 2026-11-13 03:52 Closed completed brave-core#41583 by brian-brave
  5. 2026-11-13 03:52 Milestone set 1.102.x - Nightly by brave-builds
  6. 2026-11-23 16:39 Label added OS/Desktop by netzenbot
Pull request

brave-core#41583 Use ASSERT for test preconditions (TI-034, 65 issues)

State: merged 2026-11-13 · created · closed · updated · discovered via path:components/brave_wallet/browser/zcash

release-notes/exclude QA/No pr/tests-only pr/chromium-overrides

Make 65 test files use fatal ASSERT_ (or ADD_FAILURE() + early return in value-returning helpers) for preconditions that later code dereferences, per TI-034. One commit per issue. Resolves https://github.com/brave/brave-browser/issues/61041 Resolves https://github.com/brave/brave-browser/issues/61050 Resolves https://github.com/brave/brave-browser/issues/61051 Resolves https://github.com/brave/brave-browser/issues/61055 Resolves…

Timeline (7 of 9 events)
  1. 2026-11-12 17:41 Referenced by brave-core#41597 by brave-builds
  2. 2026-11-13 03:52 Merged master by brian-brave
  3. 2026-11-13 03:52 Closed by brian-brave
  4. 2026-11-13 03:52 Milestone set 1.102.x - Nightly by brave-builds
  5. 2026-11-14 09:01 Referenced by brave-core#41410 by voropaevv
  6. 2026-11-23 15:10 Label added QA/No by netzenbot
  7. 2026-11-23 15:10 Label added release-notes/exclude by netzenbot

Recorded changes

  1. In a build Release

    In Android Nightly 1.102.11: Test best-practice violations in containers_icon_generator_unittest.cc

    The merged code (brave-core#41583) is now part of the Android Nightly build 1.102.11. This shows the code is in the build, not that every platform exposes the feature.

    brave-browser#61051
    Evidence
    • in v1.102.6 (GitHub compare v1.102.6...f23a766e: behind); later builds of the same history include it

    Source time: · Detected: · Observed between refreshes

    2026-11-16T13:39:35Z
  2. In a build Release

    In Desktop Nightly 1.102.6: Test best-practice violations in containers_icon_generator_unittest.cc

    The merged code (brave-core#41583) is now part of the Desktop Nightly build 1.102.6. This shows the code is in the build, not that every platform exposes the feature.

    brave-browser#61051
    Evidence
    • GitHub compare v1.102.6...f23a766e: behind

    Source time: · Detected: · Observed between refreshes

    2026-11-13T13:25:44Z
  3. In a build Release

    In iOS Nightly 1.102.6: Test best-practice violations in containers_icon_generator_unittest.cc

    The merged code (brave-core#41583) is now part of the iOS Nightly build 1.102.6. This shows the code is in the build, not that every platform exposes the feature.

    brave-browser#61051
    Evidence
    • GitHub compare v1.102.6...f23a766e: behind

    Source time: · Detected: · Observed between refreshes

    2026-11-13T13:25:44Z
  4. Issue closed

    Closed (completed): Test best-practice violations in containers_icon_generator_unittest.cc

    Closed as completed; linked PR merged 2026-11-13. Not yet confirmed in a Release build.

    brave-browser#61051 brave-core#41583
    Evidence
    • closed by brian-brave at 2026-11-13T03:52:17Z
    • state reason: completed

    Source time: · Detected: · Observed between refreshes

    2026-11-13T03:52:17Z
  5. PR merged

    Merged: Use ASSERT for test preconditions (TI-034, 65 issues)

    Merged into brave-core master on 2026-11-13. Only builds cut from master after this merge (Nightly first) can contain it; whether a published build does is checked per build (see build presence on the item). Beta and Release get it only after a branch cut or an uplift.

    brave-core#41583
    Evidence
    • merged 2026-11-13T03:52:11Z
    • repository brave/brave-core
    • base branch master

    Source time: · Detected: · Observed between refreshes

    2026-11-13T03:52:11Z
  6. New issue

    New issue: Test best-practice violations in containers_icon_generator_unittest.cc

    Opened in brave-browser#61051. This is a report or request, not a confirmed change to Brave Wallet.

    brave-browser#61051
    Evidence
    • created 2026-11-05T14:16:34Z

    Source time: · Detected: · Backfilled from source history

    2026-11-05T14:16:34Z