|
| | UniversalMidiPacketTests () |
| void | runTest () override |
| | UnitTest (const String &name, const String &category=String()) |
| virtual | ~UnitTest () |
| const String & | getName () const noexcept |
| const String & | getCategory () const noexcept |
| void | performTest (UnitTestRunner *runner) |
| virtual void | initialise () |
| virtual void | shutdown () |
| void | beginTest (const String &testName) |
| void | expect (bool testResult, const String &failureMessage=String()) |
| template<class ValueType> |
| void | expectEquals (ValueType actual, ValueType expected, String failureMessage=String()) |
| template<class ValueType> |
| void | expectNotEquals (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectGreaterThan (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectLessThan (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectGreaterOrEqual (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectLessOrEqual (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectWithinAbsoluteError (ValueType actual, ValueType expected, ValueType maxAbsoluteError, String failureMessage=String()) |
| void | logMessage (const String &message) |
| Random | getRandom () const |
◆ UniversalMidiPacketTests()
| juce::universal_midi_packets::UniversalMidiPacketTests::UniversalMidiPacketTests |
( |
| ) |
|
|
inline |
◆ checkBytestreamConversion()
◆ checkMidi1ToMidi2Conversion()
| void juce::universal_midi_packets::UniversalMidiPacketTests::checkMidi1ToMidi2Conversion |
( |
const Packets & | midi1, |
|
|
const Packets & | expected ) |
|
inlineprivate |
◆ checkMidi2ToMidi1Conversion()
| void juce::universal_midi_packets::UniversalMidiPacketTests::checkMidi2ToMidi1Conversion |
( |
const Packets & | midi2, |
|
|
const Packets & | expected ) |
|
inlineprivate |
◆ convertMidi1ToMidi2()
| Packets juce::universal_midi_packets::UniversalMidiPacketTests::convertMidi1ToMidi2 |
( |
const Packets & | midi1 | ) |
|
|
inlinestaticprivate |
◆ convertMidi2ToMidi1()
| Packets juce::universal_midi_packets::UniversalMidiPacketTests::convertMidi2ToMidi1 |
( |
const Packets & | midi2 | ) |
|
|
inlinestaticprivate |
◆ createRandomRealtimeUMP()
| PacketX1 juce::universal_midi_packets::UniversalMidiPacketTests::createRandomRealtimeUMP |
( |
Random & | random | ) |
|
|
inlineprivate |
◆ createRandomSysEx()
| MidiMessage juce::universal_midi_packets::UniversalMidiPacketTests::createRandomSysEx |
( |
Random & | random, |
|
|
size_t | sysExBytes ) |
|
inlineprivate |
◆ createRandomUtilityUMP()
| PacketX1 juce::universal_midi_packets::UniversalMidiPacketTests::createRandomUtilityUMP |
( |
Random & | random | ) |
|
|
inlineprivate |
◆ equal() [1/2]
|
|
inlinestaticprivatenoexcept |
◆ equal() [2/2]
|
|
inlinestaticprivatenoexcept |
◆ forEachNonSysExTestMessage()
template<typename Fn>
| void juce::universal_midi_packets::UniversalMidiPacketTests::forEachNonSysExTestMessage |
( |
Random & | random, |
|
|
Fn && | fn ) |
|
inlineprivate |
◆ runTest()
| void juce::universal_midi_packets::UniversalMidiPacketTests::runTest |
( |
| ) |
|
|
inlineoverridevirtual |
Implement this method in your subclass to actually run your tests.
The content of your implementation should call beginTest() and expect() to perform the tests.
Implements juce::UnitTest.
The documentation for this class was generated from the following file:
- /home/runner/work/lmms-fork/lmms-fork/plugins/CarlaBase/carla/source/modules/juce_audio_basics/midi/ump/juce_UMP_test.cpp