ardour/libs/ardour/test
Mads Kiilerich 91314b68a5 temporal: always use Temporal::reset() for superclock and TempoMap default values
Make sure all code paths that use Temporal will initialize and reset it
properly. Some code paths (in tet runners) doesn't use Sessions, so
Temporal::reset() has to be invoked directly.

Just set the static superclock variable to 0 as initial value.
TempoMap will still be initialized early as a singleton, but we
introduce a new constructor so it is created empty (and thus not really
usable until Temporal::reset() or similar has populated it).

We can thus drop the static initialization of superclock. The default
superclock rate of 282240000 will now only live in Temporal::reset().

With this change there should no longer be any uninitialized use of
superclock_ticks_per_second(), and there should not be any problems for
DEBUG_EARLY_SCTS_USE to catch. (It is however broken in other ways -
that will be fixed next.)
2023-09-20 12:30:53 -06:00
..
data tests: update automation list reference data 2022-08-19 10:59:26 -06:00
profiling remove AudioEngine::destroy() calls from various test/util code 2023-06-30 12:58:43 -06:00
audio_engine_test.cc remove AudioEngine::destroy() calls from various test/util code 2023-06-30 12:58:43 -06:00
audio_engine_test.h
audio_region_read_test.cc
audio_region_read_test.h
audio_region_test.cc switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
audio_region_test.h switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
automation_list_property_test.cc objects don't have a time domain, they have a time domain provider (libs) 2023-08-02 15:22:52 -06:00
automation_list_property_test.h Fix AutomationListPropertyTest 2023-02-04 23:48:13 +01:00
bbt_test.cc
bbt_test.h
combine_regions_test.cc
combine_regions_test.h
control_surfaces_test.cc Identify surfaces by ID (not name) 2023-01-02 21:15:19 +01:00
control_surfaces_test.h
dsp_load_calculator_test.cc
dsp_load_calculator_test.h
dummy_lxvst.cc
fpu_test.cc Integrate AVX512F support into Ardour 2023-02-04 23:07:17 +01:00
fpu_test.h Add AVX512F test to CPPUNIT 2023-02-05 16:16:59 +01:00
load_save_session.cc remove AudioEngine::destroy() calls from various test/util code 2023-06-30 12:58:43 -06:00
load_sessions_test.cc
load_sessions_test.h
lua_script_test.cc objects don't have a time domain, they have a time domain provider (libs) 2023-08-02 15:22:52 -06:00
lua_script_test.h std-ize: convert all boost shared/weak ptr includes to <memory> 2023-03-24 14:19:15 -06:00
midi_clock_test.cc
midi_clock_test.h
mtdm_test.cc
mtdm_test.h
playlist_equivalent_regions_test.cc switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
playlist_equivalent_regions_test.h switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
playlist_layering_test.cc
playlist_layering_test.h
playlist_read_test.cc
playlist_read_test.h
plugins_test.cc
plugins_test.h
region_naming_test.cc switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
region_naming_test.h
resampled_source_test.cc switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
resampled_source_test.h
samplepos_minus_beats_test.cc
samplepos_minus_beats_test.h
samplepos_plus_beats_test.cc
samplepos_plus_beats_test.h
samplewalk_to_beats_test.cc
samplewalk_to_beats_test.h
session_test.cc
session_test.h
sha1_test.cc
sha1_test.h
tempo_test.cc
tempo_test.h
test_needing_session.cc
test_needing_session.h
test_receiver.h
test_ui.cc Replace Glib::Threads with PBD::Thread (2/2) 2022-03-01 01:34:35 +01:00
test_ui.h
test_util.cc remove AudioEngine::destroy() calls from various test/util code 2023-06-30 12:58:43 -06:00
test_util.h
testrunner.cc temporal: always use Temporal::reset() for superclock and TempoMap default values 2023-09-20 12:30:53 -06:00