Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Files at this revision

API Documentation at this revision

Comitter:
nherriot
Date:
Fri Oct 19 15:29:06 2012 +0000
Parent:
58:8b63f4c3a5a5
Child:
60:7efce4a3c26f
Commit message:
fixing and rewriting tests for SMS and SMS's chars.

Changed in this revision

Tests/Test13.h Show annotated file Show diff for this revision Revisions of this file
Tests/Tests.cpp Show annotated file Show diff for this revision Revisions of this file
Tests/Tests.h Show annotated file Show diff for this revision Revisions of this file
--- a/Tests/Test13.h	Wed Oct 17 16:25:51 2012 +0000
+++ b/Tests/Test13.h	Fri Oct 19 15:29:06 2012 +0000
@@ -28,7 +28,7 @@
    private:
    
       virtual bool executeTest() {
-         LOG("Test %d waiting for an SMS message...", _testCaseNumber);
+         LOG("Test %d wait for an irregular SMS message...", _testCaseNumber);
          LOG("Receiving SMS from test phone, waiting for response.");
       
          while(true)
--- a/Tests/Tests.cpp	Wed Oct 17 16:25:51 2012 +0000
+++ b/Tests/Tests.cpp	Fri Oct 19 15:29:06 2012 +0000
@@ -50,7 +50,7 @@
 const char* gTest47Description = "Test 47";
 const char* gTest48Description = "Test 48";
 const char* gTest49Description = "Test 49";
-const char* gTest50Description = "x10 -> Retreive MSISDN and send SMS to self";
+const char* gTest50Description = "x10 -> Retreive MSISDN and send 10 random SMS to self";
 const char* gTest51Description = "Test 51";
 const char* gTest52Description = "Test 52";
 const char* gTest53Description = "Test 53";
@@ -83,8 +83,9 @@
 // globals used for tests
 const char* gMyMessage              = "myMessage is golden";
 //const char* gTestPhoneNumber        = "+447717275049";
-const char* gTestPhoneNumber        = "+447785666088";
+//const char* gTestPhoneNumber        = "+447785666088";
+const char* gTestPhoneNumber        = "+447785666058";
 const char* gTestMessage            = "this is a test message !";
 const char* gAlphabetNumbersMessage = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ";
-const char* gAllCharsMessage        = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ[]{}()!�$%&*,.':;";
-const char* gIrregularMessage       = "/:[]{}()!�$%&*,.';";
+const char* gAllCharsMessage        = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ[]{}()!&*,.':;";
+const char* gIrregularMessage       = "£@-!#&%()*+=<>:/_";
--- a/Tests/Tests.h	Wed Oct 17 16:25:51 2012 +0000
+++ b/Tests/Tests.h	Fri Oct 19 15:29:06 2012 +0000
@@ -17,8 +17,8 @@
 const int gNumAllTests = 10;
 const int gAutomatedTests[] = {8,10,21,22,23,25,26,50};
 const int gNumAutomatedTests = 8;
-const int gInteractiveTests[] = {50};
-const int gNumInteractiveTests = 1;
+const int gInteractiveTests[] = {14,13,50};
+const int gNumInteractiveTests = 3;
 const int gSoakTests[] = {50};
 const int gNumSoakTests = 1;