[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/test/tests/mail/phpmailer/ -> phpmailer_test.class.php (sommaire)

these were not part of the original test suite but had to be added to avoid plenty of issues with files, folders, paths and mail servers. Please modify them to suit your needs

Poids: 533 lignes (18 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

phpmailer_Test:: (23 méthodes):
  phpmailerTest()
  setUp()
  tearDown()
  BuildBody()
  CheckChanges()
  AddChange()
  AddNote()
  SetAddress()
  test_WordWrap()
  test_Low_Priority()
  test_Multiple_Plain_FileAttachment()
  test_Plain_StringAttachment()
  test_Quoted_Printable()
  test_Html()
  test_HTML_Attachment()
  test_Embedded_Image()
  test_Multi_Embedded_Image()
  test_AltBody()
  test_AltBody_Attachment()
  test_MultipleSend()
  test_SmtpKeepAlive()
  test_DenialOfServiceAttack()
  test_Error()


Classe: phpmailer_Test  - X-Ref

\ingroup Test

Original tests from the PHPMailer package, adapted to work with LifeType's own
framework for unit testing.
phpmailerTest($name)   X-Ref
Class constuctor.


setUp()   X-Ref
Run before each test is started.


tearDown()   X-Ref
Run after each test is completed.


BuildBody()   X-Ref
Build the body of the message in the appropriate format.

returns: void

CheckChanges()   X-Ref
Check which default settings have been changed for the report.

returns: void

AddChange($sName, $sNewValue)   X-Ref
Adds a change entry.

returns: void

AddNote($sValue)   X-Ref
Adds a simple note to the message.

returns: void

SetAddress($sAddress, $sName = "", $sType = "to")   X-Ref
Adds all of the addresses

returns: void

test_WordWrap()   X-Ref
Try a plain message.


test_Low_Priority()   X-Ref
Try a plain message.


test_Multiple_Plain_FileAttachment()   X-Ref
Simple plain file attachment test.


test_Plain_StringAttachment()   X-Ref
Simple plain string attachment test.


test_Quoted_Printable()   X-Ref
Plain quoted-printable message.


test_Html()   X-Ref
Try a plain message.


test_HTML_Attachment()   X-Ref
Simple HTML and attachment test


test_Embedded_Image()   X-Ref
An embedded attachment test.


test_Multi_Embedded_Image()   X-Ref
An embedded attachment test.


test_AltBody()   X-Ref
Simple multipart/alternative test.


test_AltBody_Attachment()   X-Ref
Simple HTML and attachment test


test_MultipleSend()   X-Ref
Pas de description

test_SmtpKeepAlive()   X-Ref
Pas de description

test_DenialOfServiceAttack()   X-Ref
Tests this denial of service attack:
http://www.cybsec.com/vuln/PHPMailer-DOS.pdf


test_Error()   X-Ref
Pas de description



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics