Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F3774990: D3202.id8168.diff
Sun, Nov 24, 15:56
Unknown Object (File)
Wed, Nov 20, 13:58
Unknown Object (File)
Wed, Nov 20, 13:43
Unknown Object (File)
Wed, Nov 13, 19:42
Unknown Object (File)
Wed, Nov 13, 19:13
Unknown Object (File)
Sun, Nov 10, 21:29
Unknown Object (File)
Sun, Nov 10, 19:56
Unknown Object (File)
Sun, Nov 10, 14:03
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