Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F11807238: D3202.diff
Wed, Sep 24, 03:54
Unknown Object (File)
Sun, Sep 21, 15:21
Unknown Object (File)
Sun, Sep 21, 13:20
Unknown Object (File)
Sun, Sep 21, 09:27
Unknown Object (File)
Fri, Sep 19, 18:41
Unknown Object (File)
Fri, Sep 19, 14:33
Unknown Object (File)
Fri, Sep 19, 08:32
Unknown Object (File)
Thu, Sep 18, 08:50
Subscribers
None

Details

Summary

Applications can use the MockDatabaseEngine class in unit tests
instead of providing a database server and offer a deterministic
response to queries.

Test Plan

Tested with Zed unit tests in SectorModifierTest class.

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable