Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F24018376: D3202.id8169.diff
Sun, Feb 8, 19:22
F23993207: D3202.diff
Sun, Feb 8, 12:05
Unknown Object (File)
Sun, Feb 8, 03:46
Unknown Object (File)
Sat, Feb 7, 19:34
Unknown Object (File)
Sat, Feb 7, 12:59
Unknown Object (File)
Thu, Feb 5, 20:14
Unknown Object (File)
Thu, Feb 5, 19:14
Unknown Object (File)
Thu, Feb 5, 14:43
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