Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Revision:
40:32b0558320ea
Parent:
37:847f5f86e9ff
Child:
44:6d0ac4747f5b
--- a/Tests/Test12.h	Thu Sep 13 15:46:50 2012 +0000
+++ b/Tests/Test12.h	Fri Sep 14 12:16:09 2012 +0000
@@ -1,8 +1,6 @@
 #pragma once
 #include "VodafoneTestCase.h"
 
-
-
 // this test case will wait to receive an SMS from the modem.
 // if the method that reports a message waiting returns an error it will fail.
 // if the method that returns the message from the mailbox returns an error it will fai.
@@ -11,6 +9,7 @@
 // TODO: this should wait for a set time before failing.
 
 extern const char *gTest12Description;
+extern const char *gAlphabetNumbersMessage;
 
 class Test12 : public VodafoneTestCase {
    public: 
@@ -50,7 +49,7 @@
                             return false;
                         }
                     LOG("The message is from number: %s and the message is: \"%s\"", num, msg);
-                    if (strcmp (msg, alphabetNumbersMessage) ==0)
+                    if (strcmp (msg, gAlphabetNumbersMessage) ==0)
                         {
                             LOG("Success receiving alphabet message matches the sent message");
                             return true;