Testing how anal retentive I can be without anyone saying anything.

git-svn-id: svn://localhost/ardour2/branches/3.0@5882 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-10-23 02:53:47 +00:00
parent c78108a033
commit 03b0d3f328

View file

@ -21,7 +21,7 @@ public:
~DummyTypeMap() {} ~DummyTypeMap() {}
bool type_is_midi (uint32_t /*type*/) const {return true;} bool type_is_midi (uint32_t /*type*/) const { return true; }
uint8_t parameter_midi_type(const Parameter& param) const { uint8_t parameter_midi_type(const Parameter& param) const {
switch (param.type()) { switch (param.type()) {
@ -40,7 +40,7 @@ public:
}; };
} }
bool is_integer (const Evoral::Parameter& /*param*/) const {return true;} bool is_integer (const Evoral::Parameter& /*param*/) const { return true; }
Parameter new_parameter(uint32_t type, uint8_t channel, uint32_t id) const { Parameter new_parameter(uint32_t type, uint8_t channel, uint32_t id) const {
Parameter p(type, channel, id); Parameter p(type, channel, id);
@ -48,7 +48,7 @@ public:
return p; return p;
} }
std::string to_symbol(const Parameter& /*param*/) const {return "control";} std::string to_symbol(const Parameter& /*param*/) const { return "control"; }
}; };
template<typename Time> template<typename Time>
@ -102,7 +102,7 @@ class SequenceTest : public CppUnit::TestFixture
public: public:
typedef double Time; typedef double Time;
typedef std::vector<boost::shared_ptr<Note<Time> > > Notes; typedef std::vector< boost::shared_ptr< Note<Time> > > Notes;
void setUp () { void setUp () {
type_map = new DummyTypeMap(); type_map = new DummyTypeMap();