Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F12489087: D3202.id8168.diff
Sat, Nov 8, 04:43
Unknown Object (File)
Fri, Nov 7, 17:16
Unknown Object (File)
Sat, Nov 1, 03:45
Unknown Object (File)
Wed, Oct 29, 06:12
Unknown Object (File)
Thu, Oct 23, 14:04
Unknown Object (File)
Thu, Oct 23, 14:04
Unknown Object (File)
Thu, Oct 23, 13:24
Unknown Object (File)
Wed, Oct 22, 18:42
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