Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: VodafoneTestCase.h
- Revision:
- 8:6c30647f75d7
- Parent:
- 4:1f8e079924ba
- Child:
- 13:8b69853966f8
--- a/VodafoneTestCase.h Thu Aug 23 15:41:20 2012 +0000 +++ b/VodafoneTestCase.h Fri Aug 24 10:35:19 2012 +0000 @@ -9,8 +9,11 @@ } bool run() { + _lastRunTime = time(NULL); setupTest(); - return endTest(runTest()); + _lastRunOutcome = runTest(); + endTest(); + return _lastRunOutcome; } virtual void setupTest() { @@ -21,9 +24,8 @@ return true; } - virtual bool endTest(bool status) { - _lastRunOutcome = status; - return status; + virtual void endTest() { + } protected: