2012-10-08 00:32:12 -04:00
|
|
|
/*
|
2019-08-02 23:10:55 -04:00
|
|
|
* Copyright (C) 2012 Hans Baier <hansfbaier@googlemail.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
2012-10-08 00:32:12 -04:00
|
|
|
|
|
|
|
#include <cassert>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <cppunit/TestFixture.h>
|
|
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
|
|
|
|
class MidnamTest : public CppUnit::TestFixture
|
|
|
|
{
|
|
|
|
CPPUNIT_TEST_SUITE(MidnamTest);
|
2012-10-08 23:13:38 -04:00
|
|
|
CPPUNIT_TEST(protools_patchfile_test);
|
|
|
|
CPPUNIT_TEST(yamaha_PSRS900_patchfile_test);
|
|
|
|
CPPUNIT_TEST(load_all_midnams_test);
|
2012-10-08 00:32:12 -04:00
|
|
|
CPPUNIT_TEST_SUITE_END();
|
|
|
|
|
|
|
|
public:
|
|
|
|
typedef double Time;
|
|
|
|
|
|
|
|
void setUp() {
|
|
|
|
}
|
|
|
|
|
|
|
|
void tearDown() {
|
|
|
|
}
|
|
|
|
|
2012-10-08 23:13:38 -04:00
|
|
|
void protools_patchfile_test();
|
|
|
|
void yamaha_PSRS900_patchfile_test();
|
|
|
|
void load_all_midnams_test();
|
2012-10-08 00:32:12 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|