mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00: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
|
|
@ -314,7 +314,7 @@ bool OSCSender::sendToIPAddress (const String& host, int port, const OSCBundle&
|
|||
class OSCBinaryWriterTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCBinaryWriterTests() : UnitTest ("OSCBinaryWriter class") {}
|
||||
OSCBinaryWriterTests() : UnitTest ("OSCBinaryWriter class", "OSC") {}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
@ -641,7 +641,7 @@ static OSCBinaryWriterTests OSCBinaryWriterUnitTests;
|
|||
class OSCRoundTripTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCRoundTripTests() : UnitTest ("OSCRoundTripTests class") {}
|
||||
OSCRoundTripTests() : UnitTest ("OSCRoundTripTests class", "OSC") {}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue