Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

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?

UserRevisionLine numberNew 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 };