Fix tests.
This commit is contained in:
parent
a381c62667
commit
7ee313ebb7
|
|
@ -62,7 +62,7 @@ TEST(MidiOutput, sendGenericWithRunningStatus)
|
|||
buffer.resize(5);
|
||||
|
||||
midi.begin();
|
||||
EXPECT_EQ(MidiInterface::Settings::UseRunningStatus, true);
|
||||
EXPECT_EQ(RsMidiInterface::Settings::UseRunningStatus, true);
|
||||
EXPECT_EQ(serial.mTxBuffer.isEmpty(), true);
|
||||
midi.send(midi::NoteOn, 47, 42, 12);
|
||||
midi.send(midi::NoteOn, 42, 47, 12);
|
||||
|
|
|
|||
|
|
@ -305,7 +305,6 @@ TEST(MidiThru, multiByteThru)
|
|||
TEST(MidiThru, withTxRunningStatus)
|
||||
{
|
||||
typedef VariableSettings<true, true> Settings;
|
||||
typedef test_mocks::SerialMock<32> SerialMock;
|
||||
typedef midi::MidiInterface<SerialMock, Settings> RsMidiInterface;
|
||||
|
||||
SerialMock serial;
|
||||
|
|
|
|||
Loading…
Reference in New Issue