Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F27258072: D3202.diff
Sat, May 2, 07:44
Unknown Object (File)
Mon, Apr 27, 20:13
Unknown Object (File)
Mon, Apr 27, 20:13
Unknown Object (File)
Mon, Apr 27, 20:13
Unknown Object (File)
Sun, Apr 26, 12:48
Unknown Object (File)
Fri, Apr 24, 22:59
Unknown Object (File)
Fri, Apr 24, 11:40
Unknown Object (File)
Wed, Apr 22, 00: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