Ardour
9.0-pre0-582-g084a23a80d
midi_clock_test.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015-2019 Robin Gareus <robin@gareus.org>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#include <cassert>
20
#include <stdint.h>
21
#include <cppunit/TestFixture.h>
22
#include <cppunit/extensions/HelperMacros.h>
23
24
#include "
ardour/tempo.h
"
25
#include "
ardour/transport_master.h
"
26
27
#include "
test_needing_session.h
"
28
29
namespace
ARDOUR
{
30
31
class
MclkTestMaster
:
public
ARDOUR::MIDIClock_TransportMaster
32
{
33
34
public
:
35
MclkTestMaster
() :
MIDIClock_TransportMaster
(
"MClk-test"
, 24) {}
36
void
testStepResponse
();
37
};
38
39
class
MIDIClock_Test
:
public
TestNeedingSession
40
{
41
CPPUNIT_TEST_SUITE
(
MIDIClock_Test
);
42
CPPUNIT_TEST
(
run_test
);
43
CPPUNIT_TEST_SUITE_END
();
44
45
public
:
46
void
run_test
();
47
};
48
49
}
// namespace ARDOUR
tempo.h
ARDOUR::MIDIClock_Test
Definition:
midi_clock_test.h:40
ARDOUR::MIDIClock_Test::CPPUNIT_TEST_SUITE_END
CPPUNIT_TEST_SUITE_END()
ARDOUR::MIDIClock_Test::CPPUNIT_TEST
CPPUNIT_TEST(run_test)
ARDOUR::MIDIClock_Test::run_test
void run_test()
ARDOUR::MIDIClock_Test::CPPUNIT_TEST_SUITE
CPPUNIT_TEST_SUITE(MIDIClock_Test)
ARDOUR::MIDIClock_TransportMaster
Definition:
transport_master.h:658
ARDOUR::MclkTestMaster
Definition:
midi_clock_test.h:32
ARDOUR::MclkTestMaster::testStepResponse
void testStepResponse()
ARDOUR::MclkTestMaster::MclkTestMaster
MclkTestMaster()
Definition:
midi_clock_test.h:35
TestNeedingSession
Definition:
test_needing_session.h:9
ARDOUR
Definition:
analysis_window.h:44
test_needing_session.h
transport_master.h
libs
ardour
test
midi_clock_test.h
Generated on Wed Dec 25 2024 05:44:34 for Ardour by
1.9.1