Test library for MTS Socket Modem Arduino Shield devices for Multi-Tech Systems
Dependents: mtsas mtsas mtsas mtsas ... more
doTests.h
- Committer:
- mfiore
- Date:
- 2014-06-17
- Revision:
- 9:c48e5cfe8e2f
- Parent:
- 8:715480ee07e1
- Child:
- 10:4056c7c30a1e
File content as of revision 9:c48e5cfe8e2f:
#ifndef DOTESTS_H #define DOTESTS_H #include "TestRunner.h" #include <vector> #include "TestMTSText.h" #include "TestMTSLog.h" #include "TestMTSCircularBuffer.h" #include "TestHTTP.h" #include "TestTCPSocketConnection.h" #include "TestUDPSocket.h" #include "TestSMS.h" using namespace mts; static void doTests() { std::vector<TestCollection*> collections; /* before running tests, you should make sure that the APN and pin definitions in each test header are correct */ collections.push_back(new TestMTSText); collections.push_back(new TestMTSLog); collections.push_back(new TestMTSCircularBuffer); collections.push_back(new TestHTTP); collections.push_back(new TestTCPSocketConnection); collections.push_back(new TestUDPSocket); collections.push_back(new TestSMS); for (std::vector<TestCollection*>::iterator it = collections.begin(); it != collections.end(); it++) { TestRunner::addCollection(*it); } TestRunner::runTests(true, true, true, true); } #endif