Page MenuHomePhorge

Use mock helper and signal spy for mocks
ClosedPublic

Authored by tusooa on Jun 22 2024, 10:32 AM.
Tags
None
Referenced Files
F85665665: D65.1788785504.diff
Sun, Sep 6, 5:51 AM
F85665664: D65.1788785503.diff
Sun, Sep 6, 5:51 AM
F85665663: D65.1788785503.diff
Sun, Sep 6, 5:51 AM
F85665661: D65.1788785488.diff
Sun, Sep 6, 5:51 AM
Subscribers
None

Details

Summary

We originally craft the mocks ad-hoc, which leads to a lot of duplicated code. This commit unifies them by using a helper. Non-signal mocks are changed to use the helper, and signal mocks are changed to use the SignalSpy.

Type: skip

BUG: https://iron.lily-is.land/T78

Test Plan

Verify that all unit tests pass.

Diff Detail

Repository
rK kazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 94
Build 177: GitLab CI for kazv
Build 176: arc lint + arc unit