comparison Tester.h @ 4:d8724c5a6d83

* numbering and clearer output
author cannam
date Tue, 17 Mar 2009 17:11:35 +0000
parents f89128a316e7
children 3019cb6b538d
comparison
equal deleted inserted replaced
3:0f65bb22172b 4:d8724c5a6d83
48 { 48 {
49 public: 49 public:
50 Tester(std::string pluginKey); 50 Tester(std::string pluginKey);
51 ~Tester(); 51 ~Tester();
52 52
53 bool test(); 53 bool test(int &notes, int &warnings, int &errors);
54 54
55 class Registrar { 55 class Registrar {
56 public: 56 public:
57 Registrar(std::string name) { Tester::registerTest(name, this); } 57 Registrar(std::string name) { Tester::registerTest(name, this); }
58 virtual Test *makeTest() = 0; 58 virtual Test *makeTest() = 0;