Fix evoral test suite.

This commit is contained in:
David Robillard 2014-12-02 23:30:16 -05:00
parent 25efe5953c
commit 7a3c54f031
2 changed files with 7 additions and 6 deletions

View File

@ -107,7 +107,6 @@ SequenceTest::controlInterpolationTest ()
double min = 0.0;
double max = 127.0;
double normal = 0.0;
// Make a ramp like /\ from min to max and back to min
c->set_double(min, 0, true);

View File

@ -39,6 +39,10 @@ public:
};
}
ParameterDescriptor descriptor(const Parameter& param) const {
return ParameterDescriptor();
}
std::string to_symbol(const Parameter& /*param*/) const { return "control"; }
};
@ -48,11 +52,9 @@ public:
MySequence(DummyTypeMap&map) : Sequence<Time>(map) {}
boost::shared_ptr<Control> control_factory(const Parameter& param) {
return boost::shared_ptr<Control>(
new Control(param, boost::shared_ptr<ControlList> (
new ControlList(param)
)));
const Evoral::ParameterDescriptor desc;
boost::shared_ptr<ControlList> list(new ControlList(param, desc));
return boost::shared_ptr<Control>(new Control(param, desc, list));
}
};