Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
project_helper.h File Reference

Project helper. More...

#include "zrythm-test-config.h"
#include "engine/device_io/engine_dummy.h"
#include "engine/session/graph_dispatcher.h"
#include "engine/session/recording_manager.h"
#include "gui/backend/backend/project.h"
#include "gui/backend/backend/project/project_init_flow_manager.h"
#include "gui/backend/backend/zrythm.h"
#include "gui/backend/ui.h"
#include "structure/arrangement/audio_region.h"
#include "structure/arrangement/automation_region.h"
#include "structure/arrangement/chord_region.h"
#include "structure/arrangement/midi_note.h"
#include "structure/arrangement/region.h"
#include "structure/tracks/chord_track.h"
#include "structure/tracks/marker_track.h"
#include "structure/tracks/master_track.h"
#include "structure/tracks/tempo_track.h"
#include "structure/tracks/tracklist.h"
#include "utils/gtest_wrapper.h"
#include "tests/helpers/zrythm_helper.h"
Include dependency graph for project_helper.h:

Go to the source code of this file.

Data Structures

class  BootstrapTimelineFixture
 Bootstraps the test with test data. More...

Functions

fs::path test_project_save ()
void test_project_reload (const fs::path &prj_file)
void test_project_save_and_reload ()
void test_project_stop_dummy_engine ()
 Stop dummy audio engine processing so we can process manually.
void test_project_check_vs_original_state (Position *p1, Position *p2, int check_selections)

Variables

constexpr int MN_VAL = 78
 MidiNote value to use.
constexpr int MN_VEL = 23
 MidiNote velocity to use.
constexpr float AP_VAL1 = 0.6f
 First AP value.
constexpr float AP_VAL2 = 0.9f
 Second AP value.
constexpr const char * MARKER_NAME = "Marker name"
 Marker name.
constexpr auto MUSICAL_SCALE_TYPE = MusicalScale::Type::Ionian
constexpr auto MUSICAL_SCALE_ROOT = MusicalNote::A
constexpr int MOVE_TICKS = 400
constexpr int TOTAL_TL_SELECTIONS = 6
constexpr const char * MIDI_REGION_NAME = "Midi region"
constexpr const char * AUDIO_REGION_NAME = "Audio region"
constexpr const char * MIDI_TRACK_NAME = "Midi track"
constexpr const char * AUDIO_TRACK_NAME = "Audio track"
constexpr int MIDI_REGION_LANE = 2
constexpr int AUDIO_REGION_LANE = 3
constexpr const char * TARGET_MIDI_TRACK_NAME = "Target midi tr"
constexpr const char * TARGET_AUDIO_TRACK_NAME = "Target audio tr"
constexpr int TARGET_MIDI_REGION_LANE = 0
constexpr int TARGET_AUDIO_REGION_LANE = 5

Detailed Description

Project helper.

Definition in file project_helper.h.