Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Tests.cpp
00001 #include "Tests.h" 00002 // put all of the descriptions on one place for easy reference 00003 const char* gTest00Description = "Test 0: Resolve 5 different DNS entries and match against IPs."; 00004 const char* gTest01Description = "Test 1: Downloads files from 128 bytes to 1MB, in ^2 increments."; 00005 const char* gTest02Description = "Test 2: Sends and SMS with basic alphabet and numbers."; 00006 const char* gTest03Description = "Test 3: Waits for an SMS message with irregular characters and numbers."; 00007 const char* gTest04Description = "Test 4: Send an SMS message with irregular characters and numbers."; 00008 const char* gTest05Description = "Test 5: Send an SMS message with basic characters and numbers."; 00009 const char* gTest06Description = "Test 6: Trying out USSD communication sending *#100#"; 00010 const char* gTest07Description = "Test 7: Sending BAD USSD string \".2890\""; 00011 const char* gTest08Description = "Test 8: Sending USSD over 150 chars \"0(0)00 ... 000(160)\""; 00012 const char* gTest09Description = "Test 9: Retrieve signal strength and print it."; 00013 const char* gTest10Description = "Test 10: x30 -> Retrieve signal strength and print it."; 00014 const char* gTest11Description = "Test 11: x10 -> Retreive MSISDN and send 10 random SMS to self"; 00015 const char* gTest12Description = "Test 12: x2 -> Send 25 SMS, wait for recv, read them quickly."; 00016 const char* gTest13Description = "Test 13: Wait for SMS. Send a response."; 00017 const char* gTest14Description = "Test 14: Uploads \"files\" from 128 bytes to 1MB, in ^2 increments."; 00018 const char* gTest15Description = "Test 15: Sends SMSs to self that contain carriage returns and newlines."; 00019 const char* gTest16Description = "Test 16"; 00020 const char* gTest17Description = "Test 17"; 00021 const char* gTest18Description = "Test 18"; 00022 const char* gTest19Description = "Test 19"; 00023 const char* gTest20Description = "Test 20"; 00024 const char* gTest21Description = "Test 21"; 00025 const char* gTest22Description = "Test 22"; 00026 const char* gTest23Description = "Test 23"; 00027 const char* gTest24Description = "Test 24"; 00028 const char* gTest25Description = "Test 25"; 00029 const char* gTest26Description = "Test 26"; 00030 const char* gTest27Description = "Test 27"; 00031 const char* gTest28Description = "Test 28"; 00032 const char* gTest29Description = "Test 29"; 00033 const char* gTest30Description = "Test 30"; 00034 const char* gTest31Description = "Test 31"; 00035 const char* gTest32Description = "Test 32"; 00036 const char* gTest33Description = "Test 33"; 00037 const char* gTest34Description = "Test 34"; 00038 const char* gTest35Description = "Test 35"; 00039 const char* gTest36Description = "Test 36"; 00040 const char* gTest37Description = "Test 37"; 00041 const char* gTest38Description = "Test 38"; 00042 const char* gTest39Description = "Test 39"; 00043 const char* gTest40Description = "Test 40"; 00044 const char* gTest41Description = "Test 41"; 00045 const char* gTest42Description = "Test 42"; 00046 const char* gTest43Description = "Test 43"; 00047 const char* gTest44Description = "Test 44"; 00048 const char* gTest45Description = "Test 45"; 00049 const char* gTest46Description = "Test 46"; 00050 const char* gTest47Description = "Test 47"; 00051 const char* gTest48Description = "Test 48"; 00052 const char* gTest49Description = "Test 49"; 00053 const char* gTest50Description = "Test 50"; 00054 const char* gTest51Description = "Test 51"; 00055 const char* gTest52Description = "Test 52"; 00056 const char* gTest53Description = "Test 53"; 00057 const char* gTest54Description = "Test 54"; 00058 const char* gTest55Description = "Test 55"; 00059 const char* gTest56Description = "Test 56"; 00060 const char* gTest57Description = "Test 57"; 00061 const char* gTest58Description = "Test 58"; 00062 const char* gTest59Description = "Test 59"; 00063 const char* gTest60Description = "Test 60"; 00064 00065 const char* gTestDescriptions[] = { 00066 gTest00Description, gTest01Description, gTest02Description, gTest03Description, gTest04Description, 00067 gTest05Description, gTest06Description, gTest07Description, gTest08Description, gTest09Description, 00068 gTest10Description, gTest11Description, gTest12Description, gTest13Description, gTest14Description, 00069 gTest15Description, gTest16Description, gTest17Description, gTest18Description, gTest19Description, 00070 gTest20Description, gTest21Description, gTest22Description, gTest23Description, gTest24Description, 00071 gTest25Description, gTest26Description, gTest27Description, gTest28Description, gTest29Description, 00072 gTest30Description, gTest31Description, gTest32Description, gTest33Description, gTest34Description, 00073 gTest35Description, gTest36Description, gTest37Description, gTest38Description, gTest39Description, 00074 gTest40Description, gTest41Description, gTest42Description, gTest43Description, gTest44Description, 00075 gTest45Description, gTest46Description, gTest47Description, gTest48Description, gTest49Description, 00076 gTest50Description, gTest51Description, gTest52Description, gTest53Description, gTest54Description, 00077 gTest55Description, gTest56Description, gTest57Description, gTest58Description, gTest59Description, 00078 gTest60Description, 00079 }; 00080 00081 00082 00083 // globals used for tests 00084 const char* gMyMessage = "myMessage is golden"; 00085 //const char* gTestPhoneNumber = "+447717275049"; 00086 //const char* gTestPhoneNumber = "+447785666088"; 00087 const char* gTestPhoneNumber = "+447785666058"; 00088 const char* gTestMessage = "this is a test message !"; 00089 const char* gAlphabetNumbersMessage = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; 00090 const char* gAllCharsMessage = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ[]{}()!&*,.':;"; 00091 const char* gIrregularMessage = "£@-!#&%()*+=<>:/_";
Generated on Sun Jul 17 2022 01:04:13 by 1.7.2