Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Revision:
23:408199b5d2cb
Parent:
22:5b1feecf2aeb
Child:
24:8f0f9551122a
Child:
28:c630a04a7198
--- a/TestManager.cpp	Wed Sep 05 14:47:44 2012 +0000
+++ b/TestManager.cpp	Wed Sep 05 16:38:06 2012 +0000
@@ -2,25 +2,28 @@
 #include "Tests.h"
 TestManager::TestManager(VodafoneUSBModem *m) : _modem(m) {
    // using direct array indexing instead of searching each time, so need to put in dummy tests
-   for(int i=0; i<12; i++) {
-      _tests.push_back(NULL);
-   }
+   for(int i=0; i<10; i++) {  _tests.push_back(NULL); }
+   
+   _tests.push_back((VodafoneTestCase*)new Test10(_modem,10));
+   
+   for(int i=11; i<12; i++) {  _tests.push_back(NULL); }
+   
    _tests.push_back((VodafoneTestCase*)new Test12(_modem,12));
    _tests.push_back((VodafoneTestCase*)new Test13(_modem,13));
-   for(int i=14; i<21; i++) {
-      _tests.push_back(NULL);
-   }
+   
+   for(int i=14; i<21; i++) { _tests.push_back(NULL); }
+   
    _tests.push_back((VodafoneTestCase*)new Test21(_modem,21));
    _tests.push_back((VodafoneTestCase*)new Test22(_modem,22));
    _tests.push_back((VodafoneTestCase*)new Test23(_modem,23));
-   for(int i=24; i<25; i++) {
-      _tests.push_back(NULL);
-   }
+   
+   for(int i=24; i<25; i++) { _tests.push_back(NULL); }
+   
    _tests.push_back((VodafoneTestCase*)new Test25(_modem,25));
    _tests.push_back((VodafoneTestCase*)new Test26(_modem,26));
-   for(int i=27; i<50; i++) {
-      _tests.push_back(NULL);
-   }
+   
+   for(int i=27; i<50; i++) { _tests.push_back(NULL); }
+   
    _tests.push_back((VodafoneTestCase*)new Test50(_modem,50));
 }