Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
mock_settings_backend.h
1// SPDX-FileCopyrightText: © 2026 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#pragma once
5
6#include "utils/isettings_backend.h"
7
8#include <gmock/gmock.h>
9
10namespace zrythm::test_helpers
11{
12
14{
15public:
16 MOCK_METHOD (
17 QVariant,
18 value,
19 (QAnyStringView key, const QVariant &defaultValue),
20 (const, override));
21 MOCK_METHOD (
22 void,
23 setValue,
24 (QAnyStringView key, const QVariant &value),
25 (override));
26};
27
28} // namespace zrythm::test_helpers
Interface for an app settings provider.