Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
TestManager.h
- Committer:
- ashleymills
- Date:
- 2012-09-13
- Revision:
- 32:8ff0b67bb58c
- Parent:
- 27:0297dbc3252b
- Child:
- 33:16126e029d58
File content as of revision 32:8ff0b67bb58c:
#pragma once #include "VodafoneUSBModem.h" #include "VodafoneTestCase.h" #include "Tests.h" #include <vector> enum TestNames { TEST0_SMSSHORT=0, TEST1_SMSLONG }; class TestManager { public: TestManager(VodafoneUSBModem *m); void addTest(VodafoneTestCase *tc); int executeTestList(const int *list, const int listLen); void listFailures(const int *list, const int listLen); int executeTestProfile(TestProfile profile); int getTestProfileLength(TestProfile profile); bool runTest(int id); bool runTest(int id, int numTimes); VodafoneTestCase* getTest(int index); private: VodafoneUSBModem *_modem; vector<VodafoneTestCase*> _tests; };