Fix a couple of build errors in the test suite.
The parameters to Session::new_audio_track() changed ine0ff70cf
, and Playlist::region_list() was renamed to region_list_property() infce6ac0e
. Update calls to these functions in the test suite to match. A couple of tests still fail after these changes.
This commit is contained in:
parent
9a1c24dda7
commit
e27df63bc5
@ -31,7 +31,7 @@ using namespace ARDOUR;
|
|||||||
void
|
void
|
||||||
ControlSurfacesTest::instantiateAndTeardownTest ()
|
ControlSurfacesTest::instantiateAndTeardownTest ()
|
||||||
{
|
{
|
||||||
_session->new_audio_track (1, 2, Normal, 0, 1, "Test");
|
_session->new_audio_track (1, 2, NULL, 1, "Test", PresentationInfo::max_order, Normal);
|
||||||
|
|
||||||
ControlProtocolManager& m = ControlProtocolManager::instance ();
|
ControlProtocolManager& m = ControlProtocolManager::instance ();
|
||||||
for (list<ControlProtocolInfo*>::iterator i = m.control_protocol_info.begin(); i != m.control_protocol_info.end(); ++i) {
|
for (list<ControlProtocolInfo*>::iterator i = m.control_protocol_info.begin(); i != m.control_protocol_info.end(); ++i) {
|
||||||
|
@ -29,7 +29,7 @@ main (int argc, char* argv[])
|
|||||||
assert (playlist);
|
assert (playlist);
|
||||||
|
|
||||||
/* And the region */
|
/* And the region */
|
||||||
boost::shared_ptr<MidiRegion> region = boost::dynamic_pointer_cast<MidiRegion> (playlist->region_list().rlist().front());
|
boost::shared_ptr<MidiRegion> region = boost::dynamic_pointer_cast<MidiRegion> (playlist->region_list_property().rlist().front());
|
||||||
assert (region);
|
assert (region);
|
||||||
|
|
||||||
/* Duplicate it a lot */
|
/* Duplicate it a lot */
|
||||||
|
Loading…
Reference in New Issue
Block a user