Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: TestManager.cpp
- Revision:
- 31:9231acdde9ff
- Parent:
- 30:dd2beda340c6
- Child:
- 33:16126e029d58
--- a/TestManager.cpp Wed Sep 12 10:18:28 2012 +0000 +++ b/TestManager.cpp Wed Sep 12 16:55:00 2012 +0000 @@ -27,7 +27,10 @@ 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)); + + for(int i=51; i<56; i++) { _tests.push_back(NULL); } + + _tests.push_back((VodafoneTestCase*)new Test56(_modem,56)); } int TestManager::getTestProfileLength(TestProfile profile) { @@ -61,7 +64,7 @@ for(int i=0; i<listLen; i++) { int testIndex = list[i]; if(testIndex>=_tests.size()) { - LOG("Test out of bounds. Test index must be betweeen 0 and %d!",_tests.size()); + LOG("Test out of bounds... Test index must be betweeen 0 and %d!",_tests.size()); continue; }