mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added juce_UnitTestCategories.h to replace raw strings used for test categories
This commit is contained in:
parent
c9fe0afd0f
commit
497a1b3fb7
106 changed files with 325 additions and 79 deletions
|
|
@ -800,7 +800,7 @@ class MPEInstrumentTests : public UnitTest
|
|||
{
|
||||
public:
|
||||
MPEInstrumentTests()
|
||||
: UnitTest ("MPEInstrument class", "MIDI/MPE")
|
||||
: UnitTest ("MPEInstrument class", UnitTestCategories::midi)
|
||||
{
|
||||
// using lower and upper MPE zones with the following layout for testing
|
||||
//
|
||||
|
|
|
|||
|
|
@ -114,7 +114,9 @@ MidiBuffer MPEMessages::setZoneLayout (MPEZoneLayout layout)
|
|||
class MPEMessagesTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MPEMessagesTests() : UnitTest ("MPEMessages class", "MIDI/MPE") {}
|
||||
MPEMessagesTests()
|
||||
: UnitTest ("MPEMessages class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -92,7 +92,9 @@ bool MPENote::operator!= (const MPENote& other) const noexcept
|
|||
class MPENoteTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MPENoteTests() : UnitTest ("MPENote class", "MIDI/MPE") {}
|
||||
MPENoteTests()
|
||||
: UnitTest ("MPENote class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
//==============================================================================
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ void MPEChannelRemapper::zeroArrays()
|
|||
struct MPEUtilsUnitTests : public UnitTest
|
||||
{
|
||||
MPEUtilsUnitTests()
|
||||
: UnitTest ("MPE Utilities", "MIDI/MPE")
|
||||
: UnitTest ("MPE Utilities", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -90,7 +90,9 @@ bool MPEValue::operator!= (const MPEValue& other) const noexcept
|
|||
class MPEValueTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MPEValueTests() : UnitTest ("MPEValue class", "MIDI/MPE") {}
|
||||
MPEValueTests()
|
||||
: UnitTest ("MPEValue class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -213,7 +213,9 @@ void MPEZoneLayout::checkAndLimitZoneParameters (int minValue, int maxValue,
|
|||
class MPEZoneLayoutTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MPEZoneLayoutTests() : UnitTest ("MPEZoneLayout class", "MIDI/MPE") {}
|
||||
MPEZoneLayoutTests()
|
||||
: UnitTest ("MPEZoneLayout class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue