Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Committer:
ashleymills
Date:
Tue Sep 18 15:38:54 2012 +0000
Revision:
45:f68fea0831d7
Parent:
40:32b0558320ea
Child:
49:0f059872f8e2
Framework now prints out description of failed tests. Put in placeholders for all test descriptions. Started working on Test08.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ashleymills 37:847f5f86e9ff 1 #include "Tests.h"
ashleymills 37:847f5f86e9ff 2 // put all of the descriptions on one place for easy reference
ashleymills 45:f68fea0831d7 3 const char* gTest00Description = "Test 0";
ashleymills 45:f68fea0831d7 4 const char* gTest01Description = "Test 1";
ashleymills 45:f68fea0831d7 5 const char* gTest02Description = "Test 2";
ashleymills 45:f68fea0831d7 6 const char* gTest03Description = "Test 3";
ashleymills 45:f68fea0831d7 7 const char* gTest04Description = "Test 4";
ashleymills 45:f68fea0831d7 8 const char* gTest05Description = "Test 5";
ashleymills 45:f68fea0831d7 9 const char* gTest06Description = "Test 6";
ashleymills 45:f68fea0831d7 10 const char* gTest07Description = "Test 7";
ashleymills 45:f68fea0831d7 11 const char* gTest08Description = "Test 8";
ashleymills 45:f68fea0831d7 12 const char* gTest09Description = "Test 9";
ashleymills 37:847f5f86e9ff 13 const char* gTest10Description = "Connects to internet and downloads 100 byte file.";
ashleymills 45:f68fea0831d7 14 const char* gTest11Description = "Test 11";
ashleymills 37:847f5f86e9ff 15 const char* gTest12Description = "Sends and SMS and then does something.";
ashleymills 37:847f5f86e9ff 16 const char* gTest13Description = "Waiting for an SMS message with irregular characters and numbers";
ashleymills 37:847f5f86e9ff 17 const char* gTest14Description = "Send an SMS message with irregular characters and numbers...";
ashleymills 45:f68fea0831d7 18 const char* gTest15Description = "Test 15";
ashleymills 37:847f5f86e9ff 19 const char* gTest16Description = "Send an SMS message with basic characters and numbers...";
ashleymills 45:f68fea0831d7 20 const char* gTest17Description = "Test 17";
ashleymills 45:f68fea0831d7 21 const char* gTest18Description = "Test 18";
ashleymills 45:f68fea0831d7 22 const char* gTest19Description = "Test 19";
ashleymills 45:f68fea0831d7 23 const char* gTest20Description = "Test 20";
ashleymills 37:847f5f86e9ff 24 const char* gTest21Description = "Trying out USSD communication sending *#100#";
ashleymills 37:847f5f86e9ff 25 const char* gTest22Description = "Sending BAD USSD string \".2890\"";
ashleymills 45:f68fea0831d7 26 const char* gTest23Description = "Sending USSD over 150 chars \"0(0)00 ... 000(160)\"";
ashleymills 45:f68fea0831d7 27 const char* gTest24Description = "Test 24";
ashleymills 37:847f5f86e9ff 28 const char* gTest25Description = "Retrieve signal strength and print it.";
ashleymills 37:847f5f86e9ff 29 const char* gTest26Description = "x30 -> Retrieve signal strength and print it.";
ashleymills 45:f68fea0831d7 30 const char* gTest27Description = "Test 27";
ashleymills 45:f68fea0831d7 31 const char* gTest28Description = "Test 28";
ashleymills 45:f68fea0831d7 32 const char* gTest29Description = "Test 29";
ashleymills 45:f68fea0831d7 33 const char* gTest30Description = "Test 30";
ashleymills 45:f68fea0831d7 34 const char* gTest31Description = "Test 31";
ashleymills 45:f68fea0831d7 35 const char* gTest32Description = "Test 32";
ashleymills 45:f68fea0831d7 36 const char* gTest33Description = "Test 33";
ashleymills 45:f68fea0831d7 37 const char* gTest34Description = "Test 34";
ashleymills 45:f68fea0831d7 38 const char* gTest35Description = "Test 35";
ashleymills 45:f68fea0831d7 39 const char* gTest36Description = "Test 36";
ashleymills 45:f68fea0831d7 40 const char* gTest37Description = "Test 37";
ashleymills 45:f68fea0831d7 41 const char* gTest38Description = "Test 38";
ashleymills 45:f68fea0831d7 42 const char* gTest39Description = "Test 39";
ashleymills 45:f68fea0831d7 43 const char* gTest40Description = "Test 40";
ashleymills 45:f68fea0831d7 44 const char* gTest41Description = "Test 41";
ashleymills 45:f68fea0831d7 45 const char* gTest42Description = "Test 42";
ashleymills 45:f68fea0831d7 46 const char* gTest43Description = "Test 43";
ashleymills 45:f68fea0831d7 47 const char* gTest44Description = "Test 44";
ashleymills 45:f68fea0831d7 48 const char* gTest45Description = "Test 45";
ashleymills 45:f68fea0831d7 49 const char* gTest46Description = "Test 46";
ashleymills 45:f68fea0831d7 50 const char* gTest47Description = "Test 47";
ashleymills 45:f68fea0831d7 51 const char* gTest48Description = "Test 48";
ashleymills 45:f68fea0831d7 52 const char* gTest49Description = "Test 49";
ashleymills 37:847f5f86e9ff 53 const char* gTest50Description = "x10 -> Retreive MSISDN and send SMS to self";
ashleymills 45:f68fea0831d7 54 const char* gTest51Description = "Test 51";
ashleymills 45:f68fea0831d7 55 const char* gTest52Description = "Test 52";
ashleymills 45:f68fea0831d7 56 const char* gTest53Description = "Test 53";
ashleymills 45:f68fea0831d7 57 const char* gTest54Description = "Test 54";
ashleymills 45:f68fea0831d7 58 const char* gTest55Description = "Test 55";
ashleymills 40:32b0558320ea 59 const char* gTest56Description = "Wait for SMS. Send a response.";
ashleymills 45:f68fea0831d7 60 const char* gTest57Description = "Test 57";
ashleymills 45:f68fea0831d7 61 const char* gTest58Description = "Test 58";
ashleymills 45:f68fea0831d7 62 const char* gTest59Description = "Test 59";
ashleymills 45:f68fea0831d7 63 const char* gTest60Description = "Test 60";
ashleymills 45:f68fea0831d7 64
ashleymills 45:f68fea0831d7 65 const char* gTestDescriptions[] = {
ashleymills 45:f68fea0831d7 66 gTest00Description, gTest01Description, gTest02Description, gTest03Description, gTest04Description,
ashleymills 45:f68fea0831d7 67 gTest05Description, gTest06Description, gTest07Description, gTest08Description, gTest09Description,
ashleymills 45:f68fea0831d7 68 gTest10Description, gTest11Description, gTest12Description, gTest13Description, gTest14Description,
ashleymills 45:f68fea0831d7 69 gTest15Description, gTest16Description, gTest17Description, gTest18Description, gTest19Description,
ashleymills 45:f68fea0831d7 70 gTest20Description, gTest21Description, gTest22Description, gTest23Description, gTest24Description,
ashleymills 45:f68fea0831d7 71 gTest25Description, gTest26Description, gTest27Description, gTest28Description, gTest29Description,
ashleymills 45:f68fea0831d7 72 gTest30Description, gTest31Description, gTest32Description, gTest33Description, gTest34Description,
ashleymills 45:f68fea0831d7 73 gTest35Description, gTest36Description, gTest37Description, gTest38Description, gTest39Description,
ashleymills 45:f68fea0831d7 74 gTest40Description, gTest41Description, gTest42Description, gTest43Description, gTest44Description,
ashleymills 45:f68fea0831d7 75 gTest45Description, gTest46Description, gTest47Description, gTest48Description, gTest49Description,
ashleymills 45:f68fea0831d7 76 gTest50Description, gTest51Description, gTest52Description, gTest53Description, gTest54Description,
ashleymills 45:f68fea0831d7 77 gTest55Description, gTest56Description, gTest57Description, gTest58Description, gTest59Description,
ashleymills 45:f68fea0831d7 78 gTest60Description,
ashleymills 45:f68fea0831d7 79 };
ashleymills 45:f68fea0831d7 80
ashleymills 40:32b0558320ea 81
ashleymills 40:32b0558320ea 82
ashleymills 40:32b0558320ea 83 // globals used for tests
ashleymills 40:32b0558320ea 84 const char* gMyMessage = "myMessage is golden";
ashleymills 40:32b0558320ea 85 const char* gTestPhoneNumber = "+447717275049";
ashleymills 40:32b0558320ea 86 //const char* testPhoneNumber = "+447785666088";
ashleymills 40:32b0558320ea 87 const char* gTestMessage = "this is a test message !";
ashleymills 40:32b0558320ea 88 const char* gAlphabetNumbersMessage = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ";
ashleymills 40:32b0558320ea 89 const char* gAllCharsMessage = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ[]{}()!�$%&*,.':;";
ashleymills 40:32b0558320ea 90 const char* gIrregularMessage = "/:[]{}()!�$%&*,.';";