Revision 14:e48fdc8de790
| Makefile | ||
|---|---|---|
| 19 | 19 |
|
| 20 | 20 |
Test.o: Test.h |
| 21 | 21 |
TestDefaults.o: TestDefaults.h Test.h Tester.h |
| 22 |
TestInitialise.o: TestOutputs.h Test.h Tester.h
|
|
| 22 |
TestInitialise.o: TestInitialise.h Test.h Tester.h
|
|
| 23 | 23 |
TestInputExtremes.o: TestInputExtremes.h Test.h Tester.h |
| 24 | 24 |
TestMultipleRuns.o: TestMultipleRuns.h Test.h Tester.h |
| 25 | 25 |
TestOutputs.o: TestOutputs.h Test.h Tester.h |
| TestInitialise.cpp | ||
|---|---|---|
| 59 | 59 |
static const size_t _step = 1000; |
| 60 | 60 |
|
| 61 | 61 |
Test::Results |
| 62 |
TestSampleRates::test(string key, Options options)
|
|
| 62 |
TestSampleRates::test(string key, Options) |
|
| 63 | 63 |
{
|
| 64 | 64 |
int rates[] = |
| 65 | 65 |
{ 1, 800, 10099, 11024, 44100, 48000, 96000, 192000, 201011, 1094091 };
|
| 66 | 66 |
|
| 67 | 67 |
Results r; |
| 68 | 68 |
|
| 69 |
for (int i = 0; i < sizeof(rates)/sizeof(rates[0]); ++i) {
|
|
| 69 |
for (int i = 0; i < int(sizeof(rates)/sizeof(rates[0])); ++i) {
|
|
| 70 | 70 |
|
| 71 | 71 |
int rate = rates[i]; |
| 72 | 72 |
auto_ptr<Plugin> p(load(key, rate)); |
| ... | ... | |
| 100 | 100 |
} |
| 101 | 101 |
|
| 102 | 102 |
Test::Results |
| 103 |
TestLengthyConstructor::test(string key, Options options)
|
|
| 103 |
TestLengthyConstructor::test(string key, Options) |
|
| 104 | 104 |
{
|
| 105 | 105 |
time_t t0 = time(0); |
| 106 | 106 |
auto_ptr<Plugin> p(load(key)); |
| TestInputExtremes.cpp | ||
|---|---|---|
| 61 | 61 |
TestSilentInput::m_registrar("C4 Absolutely silent input");
|
| 62 | 62 |
|
| 63 | 63 |
Tester::TestRegistrar<TestTooLoudInput> |
| 64 |
TestTooLoudInput::m_registrar("C5 Input beyond expected +/-1 range");
|
|
| 64 |
TestTooLoudInput::m_registrar("C5 Input beyond traditional +/-1 range");
|
|
| 65 | 65 |
|
| 66 | 66 |
Tester::TestRegistrar<TestRandomInput> |
| 67 | 67 |
TestRandomInput::m_registrar("C6 Random input");
|
| TestStaticData.cpp | ||
|---|---|---|
| 57 | 57 |
TestValueRanges::m_registrar("A3 Inappropriate value extents");
|
| 58 | 58 |
|
| 59 | 59 |
Test::Results |
| 60 |
TestIdentifiers::test(string key, Options options)
|
|
| 60 |
TestIdentifiers::test(string key, Options) |
|
| 61 | 61 |
{
|
| 62 | 62 |
auto_ptr<Plugin> p(load(key)); |
| 63 | 63 |
|
| ... | ... | |
| 94 | 94 |
} |
| 95 | 95 |
|
| 96 | 96 |
Test::Results |
| 97 |
TestEmptyFields::test(string key, Options options)
|
|
| 97 |
TestEmptyFields::test(string key, Options) |
|
| 98 | 98 |
{
|
| 99 | 99 |
auto_ptr<Plugin> p(load(key)); |
| 100 | 100 |
|
| ... | ... | |
| 147 | 147 |
} |
| 148 | 148 |
|
| 149 | 149 |
Test::Results |
| 150 |
TestValueRanges::test(string key, Options options)
|
|
| 150 |
TestValueRanges::test(string key, Options) |
|
| 151 | 151 |
{
|
| 152 | 152 |
auto_ptr<Plugin> p(load(key)); |
| 153 | 153 |
|
Also available in: Unified diff