Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F7403706: D3202.id8168.diff
Sat, Apr 26, 04:15
Unknown Object (File)
Fri, Apr 25, 10:46
Unknown Object (File)
Wed, Apr 23, 23:45
Unknown Object (File)
Mon, Apr 21, 15:01
Unknown Object (File)
Sun, Apr 20, 16:00
Unknown Object (File)
Wed, Apr 16, 18:41
Unknown Object (File)
Wed, Apr 16, 11:46
Unknown Object (File)
Wed, Apr 16, 07:44
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