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
F104357: D65.1730664477.diff
Sat, Nov 2, 1:07 PM
F104356: D65.1730664472.diff
Sat, Nov 2, 1:07 PM
F104267: D65.1730664044.diff
Sat, Nov 2, 1:00 PM
F104250: D65.1730662880.diff
Sat, Nov 2, 12:41 PM
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