Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mtsas mtsas mtsas mtsas ... more
TestRunner.h
00001 #ifndef TESTRUNNER_H 00002 #define TESTRUNNER_H 00003 00004 #include <vector> 00005 00006 #include "TestCollection.h" 00007 #include "Test.h" 00008 00009 namespace mts 00010 { 00011 class TestRunner 00012 { 00013 public: 00014 static void addCollection(TestCollection* collection); 00015 static void clearCollections(); 00016 static void runTests(bool printPassedTests = false, bool printFailedTests = true, bool printPassedCollections = true, bool printFailedCollections = true); 00017 00018 private: 00019 static std::vector<TestCollection*> collections; 00020 static int totalCollections; 00021 static int collectionsFailed; 00022 static int totalTests; 00023 static int totalFailed; 00024 }; 00025 00026 } 00027 00028 #endif
Generated on Tue Jul 12 2022 21:44:14 by
