Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Committer:
ashleymills
Date:
Wed Jan 29 16:34:38 2014 +0000
Revision:
74:e52ac9624f7f
Parent:
44:6d0ac4747f5b
Updated dependencies to latest versions.

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 "VodafoneTestCase.h"
ashleymills 22:5b1feecf2aeb 4 #include "Tests.h"
ashleymills 2:ea883307d02f 5 #include <vector>
ashleymills 3:28336c2e94e4 6
ashleymills 40:32b0558320ea 7 #define NUMBER_OF_TESTS 100
ashleymills 3:28336c2e94e4 8
ashleymills 2:ea883307d02f 9 class TestManager {
ashleymills 2:ea883307d02f 10
ashleymills 2:ea883307d02f 11 public:
ashleymills 2:ea883307d02f 12 TestManager(VodafoneUSBModem *m);
ashleymills 2:ea883307d02f 13 void addTest(VodafoneTestCase *tc);
ashleymills 33:16126e029d58 14
ashleymills 44:6d0ac4747f5b 15 bool runTest(int id);
ashleymills 44:6d0ac4747f5b 16 bool runTest(int id, int numTimes);
ashleymills 44:6d0ac4747f5b 17 int runTestProfile(TestProfile profile);
ashleymills 44:6d0ac4747f5b 18 int getTestProfileLength(TestProfile profile);
ashleymills 33:16126e029d58 19
ashleymills 2:ea883307d02f 20
ashleymills 2:ea883307d02f 21 private:
ashleymills 2:ea883307d02f 22 VodafoneUSBModem *_modem;
ashleymills 2:ea883307d02f 23 vector<VodafoneTestCase*> _tests;
ashleymills 40:32b0558320ea 24 VodafoneTestCase* constructTest(int id);
ashleymills 44:6d0ac4747f5b 25 int runTestList(const int *list, const int listLen);
ashleymills 40:32b0558320ea 26 void listFailures(const int *list, const int listLen);
ashleymills 40:32b0558320ea 27 void resetTestOutcomes();
ashleymills 40:32b0558320ea 28 bool *_testOutcomes;
ashleymills 33:16126e029d58 29
ashleymills 2:ea883307d02f 30 };