ea-Geiertest
[ class tree: ea-Geier ] [ index: ea-Geier ] [ all elements ]

Class: TestMail

Source Location: /test/simpletest/base/mail.class.php

Class TestMail

Class Overview

tast case for mail wrapper

Located in /test/simpletest/base/mail.class.php [line 37]

UnitTestCase
   |
   --TestMail

Methods

[ Top ]
Method Summary
TestMail   TestMail()   constructor
void   deleteTempMails()   delete temporary test mails
void   setUp()   start FakeMail server & remove old mails
void   tearDown()   stop FakeMail server & remove mails
void   testConstructor()   tests the constructor
void   testSend()   tests send, to, from, bcc, cc, subject, text

[ Top ]
Methods
Constructor TestMail  [line 42]

  TestMail TestMail( )

constructor



[ Top ]
deleteTempMails  [line 81]

  void deleteTempMails( )

delete temporary test mails



[ Top ]
setUp  [line 49]

  void setUp( )

start FakeMail server & remove old mails



[ Top ]
tearDown  [line 71]

  void tearDown( )

stop FakeMail server & remove mails



[ Top ]
testConstructor  [line 101]

  void testConstructor( )

tests the constructor

checks

  • connection to MTA



[ Top ]
testSend  [line 120]

  void testSend( )

tests send, to, from, bcc, cc, subject, text

checks

  • missing elements
  • working email



[ Top ]

Documentation generated on Sun, 09 Sep 2007 17:09:05 +0200 by phpDocumentor 1.3.1