HomeDevCentral

Allow to mock DatabaseEngine
6ea0765d84c0Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Allow to mock DatabaseEngine

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.

Reviewers: dereckson

Differential Revision: https://devcentral.nasqueron.org/D3202

Details

Provenance
derecksonAuthored on Jun 19 2023, 22:40
derecksonPushed on Jul 1 2023, 20:39
Parents
rKERUALD7f6ce67d3be2: Support blackhole database engine for mocks
Branches
Unknown
Tags
Unknown

Event Timeline