changeset 14:e48fdc8de790

* tidier compile
author cannam
date Fri, 20 Mar 2009 13:07:28 +0000
parents df121992f23a
children dde5eb0f1826
files Makefile TestInitialise.cpp TestInputExtremes.cpp TestStaticData.cpp
diffstat 4 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Mar 18 13:13:28 2009 +0000
+++ b/Makefile	Fri Mar 20 13:07:28 2009 +0000
@@ -19,7 +19,7 @@
 
 Test.o: Test.h
 TestDefaults.o: TestDefaults.h Test.h Tester.h
-TestInitialise.o: TestOutputs.h Test.h Tester.h
+TestInitialise.o: TestInitialise.h Test.h Tester.h
 TestInputExtremes.o: TestInputExtremes.h Test.h Tester.h
 TestMultipleRuns.o: TestMultipleRuns.h Test.h Tester.h
 TestOutputs.o: TestOutputs.h Test.h Tester.h
--- a/TestInitialise.cpp	Wed Mar 18 13:13:28 2009 +0000
+++ b/TestInitialise.cpp	Fri Mar 20 13:07:28 2009 +0000
@@ -59,14 +59,14 @@
 static const size_t _step = 1000;
 
 Test::Results
-TestSampleRates::test(string key, Options options)
+TestSampleRates::test(string key, Options)
 {
     int rates[] =
         { 1, 800, 10099, 11024, 44100, 48000, 96000, 192000, 201011, 1094091 };
 
     Results r;
 
-    for (int i = 0; i < sizeof(rates)/sizeof(rates[0]); ++i) {
+    for (int i = 0; i < int(sizeof(rates)/sizeof(rates[0])); ++i) {
     
         int rate = rates[i];
         auto_ptr<Plugin> p(load(key, rate));
@@ -100,7 +100,7 @@
 }
 
 Test::Results
-TestLengthyConstructor::test(string key, Options options)
+TestLengthyConstructor::test(string key, Options)
 {
     time_t t0 = time(0);
     auto_ptr<Plugin> p(load(key));
--- a/TestInputExtremes.cpp	Wed Mar 18 13:13:28 2009 +0000
+++ b/TestInputExtremes.cpp	Fri Mar 20 13:07:28 2009 +0000
@@ -61,7 +61,7 @@
 TestSilentInput::m_registrar("C4 Absolutely silent input");
 
 Tester::TestRegistrar<TestTooLoudInput>
-TestTooLoudInput::m_registrar("C5 Input beyond expected +/-1 range");
+TestTooLoudInput::m_registrar("C5 Input beyond traditional +/-1 range");
 
 Tester::TestRegistrar<TestRandomInput>
 TestRandomInput::m_registrar("C6 Random input");
--- a/TestStaticData.cpp	Wed Mar 18 13:13:28 2009 +0000
+++ b/TestStaticData.cpp	Fri Mar 20 13:07:28 2009 +0000
@@ -57,7 +57,7 @@
 TestValueRanges::m_registrar("A3 Inappropriate value extents");
 
 Test::Results
-TestIdentifiers::test(string key, Options options)
+TestIdentifiers::test(string key, Options)
 {
     auto_ptr<Plugin> p(load(key));
     
@@ -94,7 +94,7 @@
 }
 
 Test::Results
-TestEmptyFields::test(string key, Options options)
+TestEmptyFields::test(string key, Options)
 {
     auto_ptr<Plugin> p(load(key));
 
@@ -147,7 +147,7 @@
 }
 
 Test::Results
-TestValueRanges::test(string key, Options options)
+TestValueRanges::test(string key, Options)
 {
     auto_ptr<Plugin> p(load(key));