23 #include <sigc++/sigc++.h>
24 #include <cppunit/TestFixture.h>
25 #include <cppunit/extensions/HelperMacros.h>
35 std::string
path()
const {
return _path; }
37 int open(
const std::string& path) {
46 int read_event(uint32_t* delta_t, uint32_t* size, uint8_t** buf)
const {
55 class SMFTest :
public CppUnit::TestFixture
int read_event(uint32_t *delta_t, uint32_t *size, uint8_t **buf, event_id_t *note_id) const
int open(const std::string &path, int track=1, bool scan=true)
CPPUNIT_TEST(createNewFileTest)
CPPUNIT_TEST_SUITE(SMFTest)
CPPUNIT_TEST(takeFiveTest)
int open(const std::string &path)
int read_event(uint32_t *delta_t, uint32_t *size, uint8_t **buf) const