Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Committer:
ashleymills
Date:
Thu Sep 13 08:21:25 2012 +0000
Revision:
32:8ff0b67bb58c
Parent:
27:0297dbc3252b
Child:
33:16126e029d58
Changing the framework slightly.

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 3:28336c2e94e4 7 enum TestNames {
ashleymills 3:28336c2e94e4 8 TEST0_SMSSHORT=0,
ashleymills 3:28336c2e94e4 9 TEST1_SMSLONG
ashleymills 3:28336c2e94e4 10 };
ashleymills 3:28336c2e94e4 11
ashleymills 2:ea883307d02f 12 class TestManager {
ashleymills 2:ea883307d02f 13
ashleymills 2:ea883307d02f 14 public:
ashleymills 2:ea883307d02f 15 TestManager(VodafoneUSBModem *m);
ashleymills 2:ea883307d02f 16 void addTest(VodafoneTestCase *tc);
ashleymills 19:26fbed33d4e7 17 int executeTestList(const int *list, const int listLen);
ashleymills 27:0297dbc3252b 18 void listFailures(const int *list, const int listLen);
ashleymills 22:5b1feecf2aeb 19 int executeTestProfile(TestProfile profile);
ashleymills 22:5b1feecf2aeb 20 int getTestProfileLength(TestProfile profile);
ashleymills 4:1f8e079924ba 21 bool runTest(int id);
ashleymills 4:1f8e079924ba 22 bool runTest(int id, int numTimes);
ashleymills 32:8ff0b67bb58c 23 VodafoneTestCase* getTest(int index);
ashleymills 32:8ff0b67bb58c 24
ashleymills 2:ea883307d02f 25
ashleymills 2:ea883307d02f 26 private:
ashleymills 2:ea883307d02f 27 VodafoneUSBModem *_modem;
ashleymills 2:ea883307d02f 28 vector<VodafoneTestCase*> _tests;
ashleymills 2:ea883307d02f 29 };