|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
Shared test fixture providing a minimal project environment (temp directory, mock hardware, settings, port/param registries, fader, metronome) and a create_minimal_project() factory. More...
#include <tests/helpers/project_fixture.h>


Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| std::unique_ptr< structure::project::Project > | create_minimal_project (structure::tracks::TrackRecordingCallback recording_callback=[](const structure::tracks::Track::Uuid &, units::sample_t, const dsp::ITransport &, std::optional< std::span< const dsp::MidiEvent > >, std::optional< structure::tracks::TrackProcessor::ConstStereoPortPair >, units::sample_u32_t) { }) |
| Protected Member Functions inherited from zrythm::test_helpers::ScopedJuceQApplication | |
| ScopedJuceQApplication (const ScopedJuceQApplication &)=delete | |
| ScopedJuceQApplication & | operator= (const ScopedJuceQApplication &)=delete |
| ScopedJuceQApplication (ScopedJuceQApplication &&)=delete | |
| ScopedJuceQApplication & | operator= (ScopedJuceQApplication &&)=delete |
Protected Attributes | |
| std::unique_ptr< QTemporaryDir > | temp_dir_obj_ |
| std::filesystem::path | project_dir_ |
| std::unique_ptr< dsp::IHardwareAudioInterface > | hw_interface_ |
| test_helpers::MockHardwareMidiInterface | midi_interface_ |
| std::shared_ptr< juce::AudioPluginFormatManager > | plugin_format_manager_ |
| MockSettingsBackend * | mock_backend_ptr_ {} |
| std::unique_ptr< utils::AppSettings > | app_settings_ |
| std::unique_ptr< utils::ObjectRegistry > | registry_ |
| utils::QObjectUniquePtr< dsp::Fader > | monitor_fader_ |
| utils::QObjectUniquePtr< dsp::Metronome > | metronome_ |
Shared test fixture providing a minimal project environment (temp directory, mock hardware, settings, port/param registries, fader, metronome) and a create_minimal_project() factory.
Definition at line 26 of file project_fixture.h.
|
inlineprotected |
Definition at line 70 of file project_fixture.h.
|
inlineoverrideprotected |
Definition at line 29 of file project_fixture.h.
|
inlineoverrideprotected |
Definition at line 63 of file project_fixture.h.
|
protected |
Definition at line 104 of file project_fixture.h.
|
protected |
Definition at line 100 of file project_fixture.h.
|
protected |
Definition at line 107 of file project_fixture.h.
|
protected |
Definition at line 101 of file project_fixture.h.
|
protected |
Definition at line 103 of file project_fixture.h.
|
protected |
Definition at line 106 of file project_fixture.h.
|
protected |
Definition at line 102 of file project_fixture.h.
|
protected |
Definition at line 99 of file project_fixture.h.
|
protected |
Definition at line 105 of file project_fixture.h.
|
protected |
Definition at line 98 of file project_fixture.h.