summaryrefslogtreecommitdiff
path: root/libs/ardour/test
AgeCommit message (Collapse)Author
2016-12-04Skip testing example lua scripts which are not bundledRobin Gareus
2016-11-14Pass const references to plugin-listRobin Gareus
2016-11-11remove unused variable and debugging.nick_m
2016-11-11use note_type explicitly when constructing a Tempo in the hope that others ↵nick_m
follow. - should be a no-op
2016-11-11TempoSection::tempo_at methods return a Tempo, document the opposite direction.nick_m
2016-11-11rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.nick_m
- adds quarter_notes_per_minute(), note_divisions_per_minute (double) pulses_per_minute() and frames_per_quarter_note() - this should be a no-op except for the use of tempo by the vst callback which definitely uses quarter notes per minute. - the XML node for TempoSection named 'beats-per-minute' has been renamed.
2016-11-11fix lock error in empoMap::quarter_note_at_bbt_rt(), expand constant tempo test.nick_m
2016-11-11remove unused TempoMap::tempo_at_beat(). implement unused ↵nick_m
tempo_at_quarter_note().
2016-11-11remove remaining frame api from TempoSection.nick_m
2016-11-11remove public pulse methods from TempoMap.nick_m
- the only object whose musical position is not expressed in quarter notes is MetricSection. there is now no need to expose this.
2016-11-11Refactor tempo api, include quarter-note distance in frames method.nick_m
- moves frame rounding up to TempoMap, which is needed in order to calculate pulse distance without frame rounding. - the time unit for tempo is still minute, but this now also applies to meter sections. (new audio locked meter sections no longer require a frame position). - there is no longer a discontinuity in the pulse for audio-locked meter/tempi. - temporarily add debugging output in Region::set_position() to test for region beat not matching region frame.
2016-10-25expand on existing tempo tests.nick_m
2016-10-13Improve check in tempoAtPulseTestnick_m
2016-10-13Fix ramp test, add tempoAtPulseTest.nick_m
2016-10-11skip Push2 unit-test for now:Robin Gareus
The test segfaults due to missing screen and prevents other libardour unit tests from running.
2016-10-11Unit-tests to check Lua session+DSP scriptsRobin Gareus
2016-10-02Remove unused methods, add tests to ensure meter divisors don't mess with Beats.nick_m
- TempoMap::framepos_minus_beats() was only used by its test, so don't build the test.
2016-09-19Add test to create new Sessions with localized names and reopen themTim Mayberry
This test is successful on Linux but fails on Windows currently because of the incorrect realpath implementation for windows in pbd/path_expand.cc
2016-09-19Copy UTF-8 test strings from libpbd tests into libardour test utilsTim Mayberry
Ideally these would be shared.
2016-08-10BBTTest::addTest() should add a meter rather than replacing the first one.nick_m
2016-08-10Make tempo tests use the api more correctly.nick_m
- TempoMap initially contains a tempo and meter. using add_tempo/meter() using the position of an existing section does the right thing, but prints a warning. Use replace_tempo/meter().
2016-06-25Fix counting thinko in tests.nick_m
- note that the negative framepos in FrameposPlusBeatsTest::singleTempoTest() will not pass. needs some thougt as to whether it is testing the correct thing.
2016-06-22another C++98 fixRobin Gareus
2016-06-08Fix a couple of build errors in the test suite.Colin Fletcher
The parameters to Session::new_audio_track() changed in e0ff70cf, and Playlist::region_list() was renamed to region_list_property() in fce6ac0e. Update calls to these functions in the test suite to match. A couple of tests still fail after these changes.
2016-05-27Tempo ramps - more code consolidation wrt add meter/tempo.nick_m
2016-05-27Tempo ramps - fix ambiguous api, fix flickering tempo curves.nick_m
2016-05-27Tempo ramps - api change, remove some code.nick_m
2016-05-27Tempo ramps - make ramp test more challenging.nick_m
2016-05-27Tempo ramps - tempo related tests pass, add ramp test.nick_m
2016-05-27Tempo ramps - check for impossible locations tempo dialog bbt entry. ↵nick_m
reorganise code.
2016-05-27Tempo ramps - fix crazy compilable namespace thinkonick_m
2016-05-27Tempo ramps - remove the concept of bars from tempo sections.nick_m
- this helps where tempo and meter have a somewhat circular dependency. MetricSection now has a musical position expressed in beats (a double). MeterSection still has a bbt, but it really isn't needed as we have enough information to discover the number of bars at a given beat without it. TempoSection now has a hack to enable loading of legacy sessions, which will ultimately be a lot cleaner than the current code. Removing bars from tempo sections also allows us to place them at arbitrary frames (implemented here).
2016-05-27Tempo ramps - define_one_bar() delivers constant tempo.nick_m
- also some renaming and code review
2016-05-27Tempo ramps - get tests to comile again.nick_m
2015-12-01Fix broken load-session utility and change it to load and save a sessionTim Mayberry
Rename run-session-tests.sh script to load-save-session.sh and make it operate on only a single session and add a separate load-save-session-collection.sh script Add --massif option to load-save-session.sh script Rename some poorly named variables and add some documentation to the load-save-session.sh script
2015-11-04Make duplicate start at position, not position + 1. (libs part)André Nusser
2015-10-06add missing includeRobin Gareus
2015-10-06CPPUNIT workaround for mingw/wine/windowsRobin Gareus
2015-10-05remove unused fstream includesRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-10-03additional check for DSP falloff.Robin Gareus
2015-10-03less verbose unit-testsRobin Gareus
2015-09-16Add test for DSPLoadCalculator to libardour testsTim Mayberry
2015-09-13allow to run unit-test under wine from srcdir.Robin Gareus
2015-09-05unit-test: set instance name to pre-configure dummy engineRobin Gareus
2015-08-18Add utility function to get windows packaging directory to avoid memory leaksTim Mayberry
There were a few other small leaks in pbd and evoral test code but I didn't bother changing them. Perhaps this function would be better off in PBD:: so it can be used everywhere.
2015-08-05update unit-tests (new Dummy backend name since a9b6277)Robin Gareus
2015-08-04self-test add missing newlineRobin Gareus
2015-08-03fix byte-order detection for gcc < v4.4.Robin Gareus