Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
TestManager.h@2:ea883307d02f, 2012-08-22 (annotated)
- Committer:
- ashleymills
- Date:
- Wed Aug 22 13:27:34 2012 +0000
- Revision:
- 2:ea883307d02f
- Child:
- 3:28336c2e94e4
Added TestManager class and LogHeader
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ashleymills | 2:ea883307d02f | 1 | #pragma once |
ashleymills | 2:ea883307d02f | 2 | #include "VodafoneUSBModem.h" |
ashleymills | 2:ea883307d02f | 3 | #include "VodafoneTestCase.h" |
ashleymills | 2:ea883307d02f | 4 | #include <vector> |
ashleymills | 2:ea883307d02f | 5 | class TestManager { |
ashleymills | 2:ea883307d02f | 6 | |
ashleymills | 2:ea883307d02f | 7 | public: |
ashleymills | 2:ea883307d02f | 8 | TestManager(VodafoneUSBModem *m); |
ashleymills | 2:ea883307d02f | 9 | void addTest(VodafoneTestCase *tc); |
ashleymills | 2:ea883307d02f | 10 | int runAll(); |
ashleymills | 2:ea883307d02f | 11 | int getNumTests(); |
ashleymills | 2:ea883307d02f | 12 | |
ashleymills | 2:ea883307d02f | 13 | private: |
ashleymills | 2:ea883307d02f | 14 | VodafoneUSBModem *_modem; |
ashleymills | 2:ea883307d02f | 15 | vector<VodafoneTestCase*> _tests; |
ashleymills | 2:ea883307d02f | 16 | }; |