Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F3324654: D3202.id8169.diff
Mon, Jul 8, 05:05
F3323606: D3202.id8168.diff
Mon, Jul 8, 00:59
Unknown Object (File)
Sun, Jul 7, 08:56
Unknown Object (File)
Fri, Jul 5, 17:28
Unknown Object (File)
Fri, Jul 5, 04:16
Unknown Object (File)
Thu, Jul 4, 03:32
Unknown Object (File)
Wed, Jul 3, 09:14
Unknown Object (File)
Sat, Jun 29, 01:32
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 Passed
Unit
Tests Passed
Branch
main
Build Status
Buildable 5040
Build 5321: arc lint + arc unit