Test library for MTS Socket Modem Arduino Shield devices for Multi-Tech Systems

Dependents:   mtsas mtsas mtsas mtsas ... more

TestRunner.h

Committer:
Mike Fiore
Date:
2015-06-25
Revision:
13:cc03c4e85c69
Parent:
11:0930606c0186

File content as of revision 13:cc03c4e85c69:

#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