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
F200491: D65.1744539331.diff
Sat, Apr 12, 3:15 AM
F199741: D65.1744490628.diff
Fri, Apr 11, 1:43 PM
F199740: D65.1744490612.diff
Fri, Apr 11, 1:43 PM
F199662: D65.1744483033.diff
Fri, Apr 11, 11:37 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