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
Unknown Object (File)
Mon, Sep 2, 10:32 PM
Unknown Object (File)
Mon, Sep 2, 3:45 PM
Unknown Object (File)
Mon, Sep 2, 3:45 PM
Unknown Object (File)
Mon, Sep 2, 3:39 PM
Unknown Object (File)
Fri, Aug 30, 3:22 PM
Unknown Object (File)
Thu, Aug 29, 12:57 PM
Unknown Object (File)
Thu, Aug 29, 9:38 AM
Unknown Object (File)
Thu, Aug 22, 7:48 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable