1
0
Fork 0
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:
ed 2019-04-03 15:10:40 +01:00
parent c9fe0afd0f
commit 497a1b3fb7
106 changed files with 325 additions and 79 deletions

View file

@ -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
//

View file

@ -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
{

View file

@ -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

View file

@ -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

View file

@ -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
{

View file

@ -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
{