comparison TestInputExtremes.h @ 8:3019cb6b538d

* Add nondeterministic and verbose options to control output * Dump returned features in a few more situations, if verbose is set * Dump features to stdout rather than stderr
author cannam
date Wed, 18 Mar 2009 10:51:30 +0000
parents d7ef749300ed
children f1e8e14e9c96
comparison
equal deleted inserted replaced
7:43eb3a4b95c8 8:3019cb6b538d
49 49
50 class TestNormalInput : public Test 50 class TestNormalInput : public Test
51 { 51 {
52 public: 52 public:
53 TestNormalInput() : Test() { } 53 TestNormalInput() : Test() { }
54 Results test(std::string key); 54 Results test(std::string key, Options options);
55 55
56 protected: 56 protected:
57 static Tester::TestRegistrar<TestNormalInput> m_registrar; 57 static Tester::TestRegistrar<TestNormalInput> m_registrar;
58 }; 58 };
59 59
60 class TestNoInput : public Test 60 class TestNoInput : public Test
61 { 61 {
62 public: 62 public:
63 TestNoInput() : Test() { } 63 TestNoInput() : Test() { }
64 Results test(std::string key); 64 Results test(std::string key, Options options);
65 65
66 protected: 66 protected:
67 static Tester::TestRegistrar<TestNoInput> m_registrar; 67 static Tester::TestRegistrar<TestNoInput> m_registrar;
68 }; 68 };
69 69
70 class TestShortInput : public Test 70 class TestShortInput : public Test
71 { 71 {
72 public: 72 public:
73 TestShortInput() : Test() { } 73 TestShortInput() : Test() { }
74 Results test(std::string key); 74 Results test(std::string key, Options options);
75 75
76 protected: 76 protected:
77 static Tester::TestRegistrar<TestShortInput> m_registrar; 77 static Tester::TestRegistrar<TestShortInput> m_registrar;
78 }; 78 };
79 79
80 class TestSilentInput : public Test 80 class TestSilentInput : public Test
81 { 81 {
82 public: 82 public:
83 TestSilentInput() : Test() { } 83 TestSilentInput() : Test() { }
84 Results test(std::string key); 84 Results test(std::string key, Options options);
85 85
86 protected: 86 protected:
87 static Tester::TestRegistrar<TestSilentInput> m_registrar; 87 static Tester::TestRegistrar<TestSilentInput> m_registrar;
88 }; 88 };
89 89
90 class TestTooLoudInput : public Test 90 class TestTooLoudInput : public Test
91 { 91 {
92 public: 92 public:
93 TestTooLoudInput() : Test() { } 93 TestTooLoudInput() : Test() { }
94 Results test(std::string key); 94 Results test(std::string key, Options options);
95 95
96 protected: 96 protected:
97 static Tester::TestRegistrar<TestTooLoudInput> m_registrar; 97 static Tester::TestRegistrar<TestTooLoudInput> m_registrar;
98 }; 98 };
99 99
100 class TestRandomInput : public Test 100 class TestRandomInput : public Test
101 { 101 {
102 public: 102 public:
103 TestRandomInput() : Test() { } 103 TestRandomInput() : Test() { }
104 Results test(std::string key); 104 Results test(std::string key, Options options);
105 105
106 protected: 106 protected:
107 static Tester::TestRegistrar<TestRandomInput> m_registrar; 107 static Tester::TestRegistrar<TestRandomInput> m_registrar;
108 }; 108 };
109 109