Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F34900043: D3202.diff
Fri, Jul 3, 19:29
Unknown Object (File)
Thu, Jul 2, 17:32
Unknown Object (File)
Thu, Jul 2, 08:51
Unknown Object (File)
Thu, Jul 2, 08:51
Unknown Object (File)
Thu, Jul 2, 08:50
Unknown Object (File)
Tue, Jun 23, 08:38
Unknown Object (File)
Mon, Jun 22, 17:32
Unknown Object (File)
Sun, Jun 21, 13:33
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