Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
VodafoneTestCase.h@3:28336c2e94e4, 2012-08-23 (annotated)
- Committer:
- ashleymills
- Date:
- Thu Aug 23 13:32:32 2012 +0000
- Revision:
- 3:28336c2e94e4
- Parent:
- 2:ea883307d02f
- Child:
- 4:1f8e079924ba
Added multiple tests
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 "LogHeader.h" |
ashleymills | 2:ea883307d02f | 4 | class VodafoneTestCase { |
ashleymills | 2:ea883307d02f | 5 | public: |
ashleymills | 2:ea883307d02f | 6 | VodafoneTestCase(VodafoneUSBModem *m) : _modem(m) { |
ashleymills | 3:28336c2e94e4 | 7 | _lastRunTime = -1; |
ashleymills | 3:28336c2e94e4 | 8 | _lastRunOutcome = false; |
ashleymills | 2:ea883307d02f | 9 | } |
ashleymills | 2:ea883307d02f | 10 | |
ashleymills | 2:ea883307d02f | 11 | virtual bool runTest() { LOG("Base class runTest called!"); return true; } |
ashleymills | 2:ea883307d02f | 12 | |
ashleymills | 2:ea883307d02f | 13 | protected: |
ashleymills | 2:ea883307d02f | 14 | VodafoneUSBModem *_modem; |
ashleymills | 3:28336c2e94e4 | 15 | time_t _lastRunTime; |
ashleymills | 3:28336c2e94e4 | 16 | bool _lastRunOutcome; |
ashleymills | 1:0d63e4db8503 | 17 | }; |