mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-07 04:10:08 +00:00
Unit tests: Added an optional argument to the UnitTest constructor to specify a category and methods to get and run unit tests in a specified category. Updated the built-in JUCE unit tests and Demo project to use categories.
This commit is contained in:
parent
1044015465
commit
6bfcd820b4
42 changed files with 129 additions and 62 deletions
|
|
@ -397,7 +397,7 @@ String OSCAddressPattern::toString() const noexcept
|
|||
class OSCAddressTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCAddressTests() : UnitTest ("OSCAddress class") {}
|
||||
OSCAddressTests() : UnitTest ("OSCAddress class", "OSC") {}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
@ -441,7 +441,7 @@ static OSCAddressTests OSCAddressUnitTests;
|
|||
class OSCAddressPatternTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCAddressPatternTests() : UnitTest ("OSCAddressPattern class") {}
|
||||
OSCAddressPatternTests() : UnitTest ("OSCAddressPattern class", "OSC") {}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
@ -580,7 +580,7 @@ static OSCAddressPatternTests OSCAddressPatternUnitTests;
|
|||
class OSCPatternMatcherTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCPatternMatcherTests() : UnitTest ("OSCAddress class / pattern matching") {}
|
||||
OSCPatternMatcherTests() : UnitTest ("OSCAddress class / pattern matching", "OSC") {}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue