Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F10920246: D3202.diff
Tue, Aug 5, 06:51
F10915103: D3202.id8168.diff
Tue, Aug 5, 02:14
Unknown Object (File)
Wed, Jul 30, 00:43
Unknown Object (File)
Tue, Jul 29, 17:44
Unknown Object (File)
Mon, Jul 28, 15:52
Unknown Object (File)
Sun, Jul 27, 17:44
Unknown Object (File)
Sat, Jul 26, 19:46
Unknown Object (File)
Fri, Jul 25, 04:05
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