Public Member Functions | |
doTest () | |
Private Member Functions | |
_testSendEmail () | |
_testSendSms () |
Definition at line 8 of file UTCommunication.class.php.
UTCommunication::_testSendEmail | ( | ) | [private] |
Definition at line 19 of file UTCommunication.class.php.
00020 { 00021 $this->setSectionLabel('sendEmail'); 00022 $communication = new Communication(new FileLock('/tmp/locks/')); 00023 eval($this->needFalse('$communication->sendEmail 00024 ( 00025 "[email protected]", 00026 "[email protected]", 00027 "I\'m afraid I have some bad news.", 00028 "Well that\'s a switch.", 00029 "<b>Well that\"s a switch.</b>" 00030 )')); 00031 }
UTCommunication::_testSendSms | ( | ) | [private] |
Definition at line 33 of file UTCommunication.class.php.
00034 { 00035 $this->setSectionLabel('sendEmail'); 00036 $communication = new Communication(new FileLock('/tmp/locks/')); 00037 eval($this->needFalse('$communication->sendSms 00038 ( 00039 "[email protected]", 00040 "fareofficelib", 00041 "073xxxxx", 00042 "I\'m afraid I have some bad news. Well that\'s a switch." 00043 )')); 00044 }
UTCommunication::doTest | ( | ) |
Definition at line 10 of file UTCommunication.class.php.
00011 { 00012 eval($this->needNotEmpty('"Tests are disabled"')); 00013 /* 00014 $this->_testSendEmail(); 00015 $this->_testSendSms(); 00016 */ 00017 }