Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Revision:
40:32b0558320ea
Parent:
37:847f5f86e9ff
Child:
44:6d0ac4747f5b
--- a/TestManager.h	Thu Sep 13 15:46:50 2012 +0000
+++ b/TestManager.h	Fri Sep 14 12:16:09 2012 +0000
@@ -4,10 +4,7 @@
 #include "Tests.h"
 #include <vector>
 
-enum TestNames {
-   TEST0_SMSSHORT=0,
-   TEST1_SMSLONG
-};
+#define NUMBER_OF_TESTS 100
 
 class TestManager {
 
@@ -15,20 +12,19 @@
       TestManager(VodafoneUSBModem *m);
       void addTest(VodafoneTestCase *tc);
       
-      void listFailures(const int *list, const int listLen);
-      
       bool executeTest(int id);
       bool executeTest(int id, int numTimes);
-      int  executeTestProfile(TestProfile profile);
-      int  executeTestList(const int *list, const int listLen);
+      int executeTestProfile(TestProfile profile);
+      int getTestProfileLength(TestProfile profile);
       
-      VodafoneTestCase* constructTest(int id);
-      
-      VodafoneTestCase* getTest(int index);
-      int getTestProfileLength(TestProfile profile);
       
    private:
       VodafoneUSBModem *_modem;
       vector<VodafoneTestCase*> _tests;
+      VodafoneTestCase* constructTest(int id);
+      int executeTestList(const int *list, const int listLen);
+      void listFailures(const int *list, const int listLen);
+      void resetTestOutcomes();
+      bool *_testOutcomes;
       
 };
\ No newline at end of file