1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +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:
ed 2017-07-20 17:24:05 +01:00
parent 1044015465
commit 6bfcd820b4
42 changed files with 129 additions and 62 deletions

View file

@ -29,7 +29,7 @@
class CachedValueTests : public UnitTest
{
public:
CachedValueTests() : UnitTest ("CachedValues") {}
CachedValueTests() : UnitTest ("CachedValues", "Values") {}
void runTest() override
{

View file

@ -1057,7 +1057,7 @@ void ValueTree::Listener::valueTreeRedirected (ValueTree&) {}
class ValueTreeTests : public UnitTest
{
public:
ValueTreeTests() : UnitTest ("ValueTrees") {}
ValueTreeTests() : UnitTest ("ValueTrees", "Values") {}
static String createRandomIdentifier (Random& r)
{