Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Revision 36:dd730ff4962e, committed 2012-09-13
- Comitter:
- donatien
- Date:
- Thu Sep 13 13:54:17 2012 +0000
- Parent:
- 35:6867af70c51c
- Child:
- 38:83085bfd1018
- Commit message:
- Updated HTTPClient lib
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HTTPClient.lib Thu Sep 13 13:54:17 2012 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/donatien/code/HTTPClient/#1f743885e7de
--- a/HTTPClientLib.lib Thu Sep 13 12:17:18 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/donatien/code/HTTPClientLib/#791fc3dcb6c4
--- a/TestManager.cpp Thu Sep 13 12:17:18 2012 +0000 +++ b/TestManager.cpp Thu Sep 13 13:54:17 2012 +0000 @@ -9,7 +9,7 @@ TestManager::TestManager(VodafoneUSBModem *m) : _modem(m) { // using direct array indexing instead of searching each time // dummy tests are inserted by the addTest function - _tests.push_back((VodafoneTestCase*)new Test10(m)); + addTest((VodafoneTestCase*)new Test10(m)); addTest((VodafoneTestCase*)new Test12(m)); addTest((VodafoneTestCase*)new Test13(m)); addTest((VodafoneTestCase*)new Test16(m));
--- a/VodafoneTestCase.h Thu Sep 13 12:17:18 2012 +0000 +++ b/VodafoneTestCase.h Thu Sep 13 13:54:17 2012 +0000 @@ -7,8 +7,8 @@ const char testPhoneNumber[] = "+447785666088"; const char testMessage[] = "this is a test message !"; const char alphabetNumbersMessage[] = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; -const char allCharsMessage[] = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ[]{}()!£$%&*,.':;"; -const char irregularMessage[] = "/:[]{}()!£$%&*,.';"; +const char allCharsMessage[] = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ[]{}()!£$%&*,.':;"; +const char irregularMessage[] = "/:[]{}()!£$%&*,.';"; class VodafoneTestCase {
--- a/VodafoneUSBModem_bleedingedge.lib Thu Sep 13 12:17:18 2012 +0000 +++ b/VodafoneUSBModem_bleedingedge.lib Thu Sep 13 13:54:17 2012 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/donatien/code/VodafoneUSBModem_bleedingedge/#0900b15d44d1 +http://mbed.org/users/donatien/code/VodafoneUSBModem_bleedingedge/#157dd8ce4e55
--- a/main.cpp Thu Sep 13 12:17:18 2012 +0000 +++ b/main.cpp Thu Sep 13 13:54:17 2012 +0000 @@ -6,7 +6,7 @@ #include "LogHeader.h" #include "mbed.h" -#include "socket/bsd_socket.h" + #include "rtos.h" #include "VodafoneUSBModem.h" #include "VodafoneTestCase.h" @@ -63,7 +63,7 @@ size_t currentTime = time(NULL); fprintf(stdout,"Invocation time: %s\r\n",ctime(¤tTime)); - Thread testTask(test, NULL, osPriorityNormal, 1024 * 7); + Thread testTask(test, NULL, osPriorityNormal, 1024 * 6); // this thread just waits and blinks leds periodically while(1) { led1 = !led1;