Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Revision:
29:c0e6f198db84
Parent:
28:c630a04a7198
Child:
30:dd2beda340c6
--- a/TestManager.cpp	Mon Sep 10 04:59:11 2012 +0000
+++ b/TestManager.cpp	Wed Sep 12 09:53:40 2012 +0000
@@ -27,6 +27,7 @@
    for(int i=27; i<50; i++) { _tests.push_back(NULL); }
    
    _tests.push_back((VodafoneTestCase*)new Test50(_modem,50));
+   _tests.push_back((VodafoneTestCase*)new Test56(_modem,45));
 }
 
 int TestManager::getTestProfileLength(TestProfile profile) {
@@ -40,6 +41,8 @@
 
 int TestManager::executeTestProfile(TestProfile profile) {
    if(profile>=0 && profile <TESTS_END) {
+      LOG("Test profile being used is: %d", gTestProfiles[profile]);
+      LOG("Test profile lengths being used is: %d", gTestProfileLengths[profile]);
       return executeTestList(gTestProfiles[profile], gTestProfileLengths[profile]);
    } else {
       LOG("Test profile out of bounds. Must be between 0 and %d",TESTS_END-1);
@@ -48,6 +51,8 @@
 }
 
 int TestManager::executeTestList(const int *list, const int listLen) {
+   LOG("The executeTestList is: %d", list);
+   LOG("The executeTestListLength is: %d", listLen);
    int successfullTests = 0;
    LOG("Running %d tests...",listLen);
    for(int i=0; i<listLen; i++) {