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

Public Member Functions

 breakLinesForEmailReturnsEmptyStringIfEmptryStringIsGiven ()
 
 breakLinesForEmailReturnsOneLineIfCharWithIsNotExceeded ()
 
 breakLinesForEmailBreaksTextIfCharWithIsExceeded ()
 
 breakLinesForEmailBreaksTextWithNoSpaceFoundBeforeLimit ()
 
 breakLinesForEmailBreaksTextIfLineIsLongerThanTheLineWidth ()
 
 parseAddressesProvider ()
 
 parseAddressesTest ($source, $addressList)
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- 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

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

Detailed Description

Testcase for the class.

Definition at line 20 of file MailUtilityTest.php.

Member Function Documentation

breakLinesForEmailBreaksTextIfCharWithIsExceeded ( )
Test:

Definition at line 61 of file MailUtilityTest.php.

References MailUtility\breakLinesForEmail().

breakLinesForEmailBreaksTextIfLineIsLongerThanTheLineWidth ( )
Test:

Definition at line 86 of file MailUtilityTest.php.

References MailUtility\breakLinesForEmail().

breakLinesForEmailBreaksTextWithNoSpaceFoundBeforeLimit ( )
Test:

Definition at line 73 of file MailUtilityTest.php.

References MailUtility\breakLinesForEmail().

breakLinesForEmailReturnsEmptyStringIfEmptryStringIsGiven ( )
Test:

Definition at line 41 of file MailUtilityTest.php.

breakLinesForEmailReturnsOneLineIfCharWithIsNotExceeded ( )
Test:

Definition at line 49 of file MailUtilityTest.php.

References MailUtility\breakLinesForEmail().

parseAddressesProvider ( )

Data provider for parseAddressesTest

Returns
array Data sets

Definition at line 98 of file MailUtilityTest.php.

parseAddressesTest (   $source,
  $addressList 
)
Test:
parseAddressesProvider

Definition at line 124 of file MailUtilityTest.php.

setUp ( )
protected

Definition at line 27 of file MailUtilityTest.php.

References GeneralUtility\getSingletonInstances().

tearDown ( )
protected

Definition at line 32 of file MailUtilityTest.php.

References GeneralUtility\resetSingletonInstances().

Member Data Documentation

$singletonInstances = []
protected

Definition at line 25 of file MailUtilityTest.php.