|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Testing helpers. More...
Data Structures | |
| class | BootstrapTimelineFixture |
| Bootstraps the test with test data. More... | |
Functions | |
| PluginConfiguration | test_plugin_manager_get_plugin_setting (const char *pl_bundle, const char *pl_uri, bool with_carla) |
| Get a plugin setting clone from the given URI in the given bundle. | |
| int | test_plugin_manager_create_tracks_from_plugin (const char *pl_bundle, const char *pl_uri, bool is_instrument, bool with_carla, int num_tracks=1) |
| Creates num_tracks tracks for the given plugin. | |
| 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 |
Testing helpers.
| int test_plugin_manager_create_tracks_from_plugin | ( | const char * | pl_bundle, |
| const char * | pl_uri, | ||
| bool | is_instrument, | ||
| bool | with_carla, | ||
| int | num_tracks = 1 ) |
Creates num_tracks tracks for the given plugin.
| num_tracks | Number of tracks to create. |
Definition at line 162 of file plugin_manager.h.
| PluginConfiguration test_plugin_manager_get_plugin_setting | ( | const char * | pl_bundle, |
| const char * | pl_uri, | ||
| bool | with_carla ) |
Get a plugin setting clone from the given URI in the given bundle.
If non-LV2, the path should be passed to pl_bundle.
Definition at line 62 of file plugin_manager.h.
|
constexpr |
First AP value.
Definition at line 48 of file project_helper.h.
|
constexpr |
Second AP value.
Definition at line 50 of file project_helper.h.
|
constexpr |
Definition at line 69 of file project_helper.h.
|
constexpr |
Definition at line 63 of file project_helper.h.
|
constexpr |
Definition at line 65 of file project_helper.h.
|
constexpr |
Marker name.
Definition at line 53 of file project_helper.h.
|
constexpr |
Definition at line 68 of file project_helper.h.
|
constexpr |
Definition at line 62 of file project_helper.h.
|
constexpr |
Definition at line 64 of file project_helper.h.
|
constexpr |
MidiNote value to use.
Definition at line 43 of file project_helper.h.
|
constexpr |
MidiNote velocity to use.
Definition at line 45 of file project_helper.h.
|
constexpr |
Definition at line 58 of file project_helper.h.
|
constexpr |
Definition at line 56 of file project_helper.h.
|
constexpr |
Definition at line 55 of file project_helper.h.
|
constexpr |
Definition at line 77 of file project_helper.h.
|
constexpr |
Definition at line 73 of file project_helper.h.
|
constexpr |
Definition at line 76 of file project_helper.h.
|
constexpr |
Definition at line 72 of file project_helper.h.
|
constexpr |
Definition at line 60 of file project_helper.h.