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
- Committer:
- Vanger
- Date:
- 2014-08-11
- Revision:
- 11:0930606c0186
- Parent:
- 1:42d2b6980cdd
File content as of revision 11:0930606c0186:
#ifndef TESTRUNNER_H
#define TESTRUNNER_H
#include <vector>
#include "TestCollection.h"
#include "Test.h"
namespace mts
{
class TestRunner
{
public:
static void addCollection(TestCollection* collection);
static void clearCollections();
static void runTests(bool printPassedTests = false, bool printFailedTests = true, bool printPassedCollections = true, bool printFailedCollections = true);
private:
static std::vector<TestCollection*> collections;
static int totalCollections;
static int collectionsFailed;
static int totalTests;
static int totalFailed;
};
}
#endif