You are here

function sms_test_gateway_result in SMS Framework 7

9 calls to sms_test_gateway_result()
SmsActionWebTest::testSmsActionsActionsIntegration in modules/sms_actions/sms_actions.test
Tests integration with the actions module.
SmsBlastWebTest::testSendBlast in modules/sms_blast/sms_blast.test
Tests sending sms blast.
SmsDevelTestSendFormTestCase::testDevelSendReceiveForm in modules/sms_devel/tests/sms_devel.test
Tests if messages sent using the test send form are stored properly.
SmsFrameworkWebTest::testSendSms in tests/sms.module.test
Tests the sending of messages.
SmsSendToPhoneWebTest::testAdminSettingsAndSendToPhone in modules/sms_sendtophone/sms_sendtophone.test
Tests admin settings page and sendtophone node integration.

... See full list

1 string reference to 'sms_test_gateway_result'
sms_test_gateway_send in tests/sms_test_gateway/sms_test_gateway.module
Send callback

File

tests/sms_test_gateway/sms_test_gateway.module, line 40
A test gateway to be used for testing the sms framework

Code

function sms_test_gateway_result($reset = FALSE) {
  $result =& drupal_static(__FUNCTION__);
  if (!isset($result)) {
    $result = variable_get('sms_test_gateway_result', array());
  }
  if ($reset) {
    variable_del('sms_test_gateway_result');
    drupal_static_reset(__FUNCTION__);
  }
  return $result;
}