comparison TestStaticData.cpp @ 14:e48fdc8de790

* tidier compile
author cannam
date Fri, 20 Mar 2009 13:07:28 +0000
parents 3019cb6b538d
children ea8865f488a0
comparison
equal deleted inserted replaced
13:df121992f23a 14:e48fdc8de790
55 55
56 Tester::TestRegistrar<TestValueRanges> 56 Tester::TestRegistrar<TestValueRanges>
57 TestValueRanges::m_registrar("A3 Inappropriate value extents"); 57 TestValueRanges::m_registrar("A3 Inappropriate value extents");
58 58
59 Test::Results 59 Test::Results
60 TestIdentifiers::test(string key, Options options) 60 TestIdentifiers::test(string key, Options)
61 { 61 {
62 auto_ptr<Plugin> p(load(key)); 62 auto_ptr<Plugin> p(load(key));
63 63
64 Results r; 64 Results r;
65 r.push_back(testIdentifier(p->getIdentifier(), "plugin identifier")); 65 r.push_back(testIdentifier(p->getIdentifier(), "plugin identifier"));
92 } 92 }
93 return success(); 93 return success();
94 } 94 }
95 95
96 Test::Results 96 Test::Results
97 TestEmptyFields::test(string key, Options options) 97 TestEmptyFields::test(string key, Options)
98 { 98 {
99 auto_ptr<Plugin> p(load(key)); 99 auto_ptr<Plugin> p(load(key));
100 100
101 Results r; 101 Results r;
102 102
145 } 145 }
146 return success(); 146 return success();
147 } 147 }
148 148
149 Test::Results 149 Test::Results
150 TestValueRanges::test(string key, Options options) 150 TestValueRanges::test(string key, Options)
151 { 151 {
152 auto_ptr<Plugin> p(load(key)); 152 auto_ptr<Plugin> p(load(key));
153 153
154 Results r; 154 Results r;
155 155