Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: TestManager.cpp
- Revision:
- 45:f68fea0831d7
- Parent:
- 44:6d0ac4747f5b
- Child:
- 60:7efce4a3c26f
--- a/TestManager.cpp Mon Sep 17 13:28:39 2012 +0000 +++ b/TestManager.cpp Tue Sep 18 15:38:54 2012 +0000 @@ -8,16 +8,16 @@ VodafoneTestCase* TestManager::constructTest(int testID) { switch(testID) { - case 0: break; - case 1: break; - case 2: break; - case 3: break; - case 4: break; - case 5: break; - case 6: break; - case 7: break; - case 8: break; - case 9: break; + case 0: break; + case 1: break; + case 2: break; + case 3: break; + case 4: break; + case 5: break; + case 6: break; + case 7: break; + case 8: return (VodafoneTestCase*) new Test08(_modem); + case 9: break; case 10: return (VodafoneTestCase*) new Test10(_modem); case 11: break; case 12: return (VodafoneTestCase*) new Test12(_modem); @@ -115,7 +115,7 @@ if(_testOutcomes[testIndex]==false) { LOG("Test %d:",testIndex); - //LOG(gTestDescriptions[testIndex]); + LOG(gTestDescriptions[testIndex]); } } } @@ -127,6 +127,7 @@ int testIndex = list[i]; if(runTest(testIndex)) { successfullTests++; + _testOutcomes[testIndex] = true; } } return successfullTests;