MediaWiki  REL1_19
SanitizerValidateEmailTest Class Reference
Inheritance diagram for SanitizerValidateEmailTest:
Collaboration diagram for SanitizerValidateEmailTest:

List of all members.

Public Member Functions

 testEmailDoesNotNeedATopLevelDomain ()
 testEmailDomainCanNotBeginWithDot ()
 testEmailTopLevelDomainCanBeNumerical ()
 testEmailWellKnownUserAtHostDotTldAreValid ()
 testEmailWithAPlusInUserName ()
 testEmailWithCommasAreInvalids ()
 testEmailWithFunnyCharacters ()
 testEmailWithHyphens ()
 testEmailWithOneCharacterDomainIsValid ()
 testEmailWithoutAtSignIsInvalid ()
 testEmailWithUpperCaseCharactersAreValid ()
 testEmailWithWhiteSpacesAreInvalids ()
 testEmailWithWhiteSpacesBeforeOrAfterAreInvalids ()

Private Member Functions

 checkEmail ($addr, $expected=true, $msg= '')
 invalid ($addr, $msg= '')
 valid ($addr, $msg= '')

Detailed Description

Definition at line 3 of file SanitizerValidateEmailTest.php.


Member Function Documentation

SanitizerValidateEmailTest::checkEmail ( addr,
expected = true,
msg = '' 
) [private]

Definition at line 5 of file SanitizerValidateEmailTest.php.

References Sanitizer\validateEmail().

Referenced by invalid(), and valid().

Here is the call graph for this function:

Here is the caller graph for this function:

SanitizerValidateEmailTest::invalid ( addr,
msg = '' 
) [private]

Definition at line 16 of file SanitizerValidateEmailTest.php.

References checkEmail().

Referenced by testEmailDomainCanNotBeginWithDot(), testEmailWithCommasAreInvalids(), testEmailWithoutAtSignIsInvalid(), testEmailWithWhiteSpacesAreInvalids(), and testEmailWithWhiteSpacesBeforeOrAfterAreInvalids().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 34 of file SanitizerValidateEmailTest.php.

References valid().

Here is the call graph for this function:

Definition at line 59 of file SanitizerValidateEmailTest.php.

References invalid(), and valid().

Here is the call graph for this function:

Definition at line 70 of file SanitizerValidateEmailTest.php.

References valid().

Here is the call graph for this function:

Definition at line 20 of file SanitizerValidateEmailTest.php.

References valid().

Here is the call graph for this function:

Definition at line 30 of file SanitizerValidateEmailTest.php.

References valid().

Here is the call graph for this function:

Definition at line 51 of file SanitizerValidateEmailTest.php.

References invalid().

Here is the call graph for this function:

Definition at line 67 of file SanitizerValidateEmailTest.php.

References valid().

Here is the call graph for this function:

Definition at line 55 of file SanitizerValidateEmailTest.php.

References valid().

Here is the call graph for this function:

Definition at line 76 of file SanitizerValidateEmailTest.php.

References valid().

Here is the call graph for this function:

Definition at line 73 of file SanitizerValidateEmailTest.php.

References invalid().

Here is the call graph for this function:

Definition at line 24 of file SanitizerValidateEmailTest.php.

References valid().

Here is the call graph for this function:

Definition at line 45 of file SanitizerValidateEmailTest.php.

References invalid().

Here is the call graph for this function:

Definition at line 39 of file SanitizerValidateEmailTest.php.

References invalid().

Here is the call graph for this function:


The documentation for this class was generated from the following file: