Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F3311993: D3202.diff
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
Unknown Object (File)
Thu, Jun 27, 13:29
Unknown Object (File)
Mon, Jun 24, 09:07
Unknown Object (File)
Sun, Jun 23, 21:30
Unknown Object (File)
Fri, Jun 21, 00:09
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