comparison TestDefaults.cpp @ 39:07144cdcbedf

Introduce logic for running only a single test (not yet wired up to command line interface)
author Chris Cannam
date Mon, 28 Jul 2014 11:11:59 +0100
parents 7d4c98c696a5
children f1e8e14e9c96
comparison
equal deleted inserted replaced
38:f930285dfe5a 39:07144cdcbedf
51 #ifndef __GNUC__ 51 #ifndef __GNUC__
52 #include <alloca.h> 52 #include <alloca.h>
53 #endif 53 #endif
54 54
55 Tester::TestRegistrar<TestDefaultProgram> 55 Tester::TestRegistrar<TestDefaultProgram>
56 TestDefaultProgram::m_registrar("E1 Inconsistent default program"); 56 TestDefaultProgram::m_registrar("E1", "Inconsistent default program");
57 57
58 Tester::TestRegistrar<TestDefaultParameters> 58 Tester::TestRegistrar<TestDefaultParameters>
59 TestDefaultParameters::m_registrar("E2 Inconsistent default parameters"); 59 TestDefaultParameters::m_registrar("E2", "Inconsistent default parameters");
60 60
61 Tester::TestRegistrar<TestParametersOnReset> 61 Tester::TestRegistrar<TestParametersOnReset>
62 TestParametersOnReset::m_registrar("E3 Parameter retention through reset"); 62 TestParametersOnReset::m_registrar("E3", "Parameter retention through reset");
63 63
64 static const size_t _step = 1000; 64 static const size_t _step = 1000;
65 65
66 Test::Results 66 Test::Results
67 TestDefaultProgram::test(string key, Options options) 67 TestDefaultProgram::test(string key, Options options)