internationalizedemailaddress_test.js
No description.

File Location

/goog/format/internationalizedemailaddress_test.js


Public Protected Private

Global Functions

assertParsedList(inputStringexpectedListopt_message) string
Asserts that parsing the inputString produces a list of email addresses containing the specified address strings, irrespective of their order.
Arguments:
inputString : string
A raw address list.
expectedList : !Array.<string>
The expected results.
opt_message : string=
An assertion message.
Returns: string  the resulting email address objects.
code »
doIsValidTest(testFuncvalidinvalid)
Asserts that the given validation function generates the expected outcome for a set of expected valid and a second set of expected invalid addresses. containing the specified address strings, irrespective of their order.
Arguments:
testFunc : function(string):boolean
Validation function to be tested.
valid : !Array.<string>
List of addresses that should be valid.
invalid : !Array.<string>
List of addresses that should be invalid.
code »
testIsEaiValid()
No description.
code »
testIsValidDomainPart()
No description.
code »
testIsValidLocalPart()
No description.
code »
testParseList()
No description.
code »

Directory format

File Reference