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

Class: TestSendPW

Source Location: /test/simpletest/base/sendpw.inc.php

Class TestSendPW

Class Overview

test case for send-password functions

Located in /test/simpletest/base/sendpw.inc.php [line 49]

UnitTestCase
   |
   --TestSendPW

Methods

[ Top ]
Method Summary
TestSendPW   TestSendPW()   constructor
void   setUp()   start FakeMail server & remove old mails
void   tearDown()   stop FakeMail server & remove mails
void   testGenOpt()   tests option generation
void   testGenPW()   tests password generation
void   testSendPWFunction()   tests password sinding

[ Top ]
Methods
Constructor TestSendPW  [line 54]

  TestSendPW TestSendPW( )

constructor



[ Top ]
setUp  [line 61]

  void setUp( )

start FakeMail server & remove old mails



[ Top ]
tearDown  [line 83]

  void tearDown( )

stop FakeMail server & remove mails



[ Top ]
testGenOpt  [line 94]

  void testGenOpt( )

tests option generation

  • no real functionality at the moment



[ Top ]
testGenPW  [line 107]

  void testGenPW( )

tests password generation

checks:

  • generating password
  • generating of different passwords



[ Top ]
testSendPWFunction  [line 125]

  void testSendPWFunction( )

tests password sinding

checks:

  • input errors
  • missing variables
  • not exisitng users
  • database problems
  • sending



[ Top ]

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