TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
MailMessageTest Class Reference
Inheritance diagram for MailMessageTest:
UnitTestCase BaseTestCase

Public Member Functions

 returnPathEmailAddressDataProvider ()
 
 setReturnPathIdnaEncodesAddresses ($address, $expected)
 
 senderEmailAddressDataProvider ()
 
 setSenderIdnaEncodesAddresses ($address, $expected)
 
 emailAddressesDataProvider ()
 
 setFromIdnaEncodesAddresses ($addresses, $expected)
 
 setReplyToIdnaEncodesAddresses ($addresses, $expected)
 
 setToIdnaEncodesAddresses ($addresses, $expected)
 
 setCcIdnaEncodesAddresses ($addresses, $expected)
 
 setBccIdnaEncodesAddresses ($addresses, $expected)
 
 setReadReceiptToIdnaEncodesAddresses ($addresses, $expected)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $subject
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for the TYPO3 class.

Definition at line 20 of file MailMessageTest.php.

Member Function Documentation

emailAddressesDataProvider ( )
Returns
array

Definition at line 99 of file MailMessageTest.php.

returnPathEmailAddressDataProvider ( )
Returns
array

Definition at line 35 of file MailMessageTest.php.

senderEmailAddressDataProvider ( )
Returns
array

Definition at line 65 of file MailMessageTest.php.

setBccIdnaEncodesAddresses (   $addresses,
  $expected 
)
Test:
Parameters
string | array$addresses
string | array$expectedemailAddressesDataProvider

Definition at line 205 of file MailMessageTest.php.

setCcIdnaEncodesAddresses (   $addresses,
  $expected 
)
Test:
Parameters
string | array$addresses
string | array$expectedemailAddressesDataProvider

Definition at line 192 of file MailMessageTest.php.

setFromIdnaEncodesAddresses (   $addresses,
  $expected 
)
Test:
Parameters
string | array$addresses
string | array$expectedemailAddressesDataProvider

Definition at line 153 of file MailMessageTest.php.

setReadReceiptToIdnaEncodesAddresses (   $addresses,
  $expected 
)
Test:
Parameters
string | array$addresses
string | array$expectedemailAddressesDataProvider

Definition at line 218 of file MailMessageTest.php.

setReplyToIdnaEncodesAddresses (   $addresses,
  $expected 
)
Test:
Parameters
string | array$addresses
string | array$expectedemailAddressesDataProvider

Definition at line 166 of file MailMessageTest.php.

setReturnPathIdnaEncodesAddresses (   $address,
  $expected 
)
Test:
Parameters
string$address
string$expectedreturnPathEmailAddressDataProvider

Definition at line 55 of file MailMessageTest.php.

setSenderIdnaEncodesAddresses (   $address,
  $expected 
)
Test:
Parameters
string$address
array$expectedsenderEmailAddressDataProvider

Definition at line 89 of file MailMessageTest.php.

setToIdnaEncodesAddresses (   $addresses,
  $expected 
)
Test:
Parameters
string | array$addresses
string | array$expectedemailAddressesDataProvider

Definition at line 179 of file MailMessageTest.php.

setUp ( )
protected

Definition at line 27 of file MailMessageTest.php.

References GeneralUtility\makeInstance().

Member Data Documentation

$subject
protected

Definition at line 25 of file MailMessageTest.php.