mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +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
|
|
@ -111,7 +111,7 @@ const OSCBundle& OSCBundle::Element::getBundle() const
|
|||
class OSCBundleTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCBundleTests() : UnitTest ("OSCBundle class") {}
|
||||
OSCBundleTests() : UnitTest ("OSCBundle class", "OSC") {}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
@ -214,7 +214,7 @@ static OSCBundleTests OSCBundleUnitTests;
|
|||
class OSCBundleElementTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCBundleElementTests() : UnitTest ("OSCBundle::Element class") {}
|
||||
OSCBundleElementTests() : UnitTest ("OSCBundle::Element class", "OSC") {}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue