comparison Tester.h @ 40:649f32c7eb41

Add single-test arg, as well as list-tests and version
author Chris Cannam
date Mon, 28 Jul 2014 11:41:37 +0100
parents 07144cdcbedf
children f1e8e14e9c96
comparison
equal deleted inserted replaced
39:07144cdcbedf 40:649f32c7eb41
50 Tester(std::string pluginKey, Test::Options, std::string singleTestId = ""); 50 Tester(std::string pluginKey, Test::Options, std::string singleTestId = "");
51 ~Tester(); 51 ~Tester();
52 52
53 bool test(int &notes, int &warnings, int &errors); 53 bool test(int &notes, int &warnings, int &errors);
54 54
55 static void listTests();
56
55 class Registrar { 57 class Registrar {
56 public: 58 public:
57 Registrar(std::string id, std::string name) { 59 Registrar(std::string id, std::string name) {
58 Tester::registerTest(id, name, this); 60 Tester::registerTest(id, name, this);
59 } 61 }