1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added override specifiers to unit test classes

This commit is contained in:
jules 2015-08-10 16:21:16 +01:00
parent f35fc2e22a
commit 88ca15e6f2
18 changed files with 18 additions and 18 deletions

View file

@ -579,7 +579,7 @@ public:
}
};
void runTest()
void runTest() override
{
Random r = getRandom();
beginTest ("Round-trip conversion: Int8");

View file

@ -1146,7 +1146,7 @@ public:
}
};
void runTest()
void runTest() override
{
beginTest ("FloatVectorOperations");

View file

@ -183,7 +183,7 @@ public:
Random random;
};
void runTest()
void runTest() override
{
beginTest ("AbstractFifo");

View file

@ -908,7 +908,7 @@ class FileTests : public UnitTest
public:
FileTests() : UnitTest ("Files") {}
void runTest()
void runTest() override
{
beginTest ("Reading");

View file

@ -607,7 +607,7 @@ public:
}
}
void runTest()
void runTest() override
{
beginTest ("JSON");
Random r = getRandom();

View file

@ -162,7 +162,7 @@ class RandomTests : public UnitTest
public:
RandomTests() : UnitTest ("Random") {}
void runTest()
void runTest() override
{
beginTest ("Random");

View file

@ -101,7 +101,7 @@ class MemoryStreamTests : public UnitTest
public:
MemoryStreamTests() : UnitTest ("MemoryInputStream & MemoryOutputStream") {}
void runTest()
void runTest() override
{
beginTest ("Basics");
Random r = getRandom();

View file

@ -142,7 +142,7 @@ public:
return m.getMemoryBlock();
}
void runTest()
void runTest() override
{
beginTest ("Base64");

View file

@ -2224,7 +2224,7 @@ public:
return CharPointer_UTF32 (buffer);
}
void runTest()
void runTest() override
{
Random r = getRandom();

View file

@ -242,7 +242,7 @@ public:
expectEquals (result, b);
}
void runTest()
void runTest() override
{
beginTest ("TextDiff");

View file

@ -89,7 +89,7 @@ class ChildProcessTests : public UnitTest
public:
ChildProcessTests() : UnitTest ("ChildProcess") {}
void runTest()
void runTest() override
{
beginTest ("Child Processes");

View file

@ -273,7 +273,7 @@ class AtomicTests : public UnitTest
public:
AtomicTests() : UnitTest ("Atomics") {}
void runTest()
void runTest() override
{
beginTest ("Misc");

View file

@ -44,7 +44,7 @@ class UnitTestRunner;
public:
MyTest() : UnitTest ("Foobar testing") {}
void runTest()
void runTest() override
{
beginTest ("Part 1");

View file

@ -166,7 +166,7 @@ class GZIPTests : public UnitTest
public:
GZIPTests() : UnitTest ("GZIP") {}
void runTest()
void runTest() override
{
beginTest ("GZIP");
Random rng = getRandom();

View file

@ -321,7 +321,7 @@ public:
}
}
void runTest()
void runTest() override
{
beginTest ("MD5");

View file

@ -260,7 +260,7 @@ public:
}
}
void runTest()
void runTest() override
{
beginTest ("SHA256");

View file

@ -646,7 +646,7 @@ public:
}
}
void runTest()
void runTest() override
{
beginTest ("Whirlpool");

View file

@ -1106,7 +1106,7 @@ public:
return v;
}
void runTest()
void runTest() override
{
beginTest ("ValueTree");
Random r = getRandom();