TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

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

Detailed Description

Testcase for the class.

Definition at line 20 of file MailUtilityTest.php.

Member Function Documentation

◆ breakLinesForEmailBreaksTextIfCharWithIsExceeded()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::breakLinesForEmailBreaksTextIfCharWithIsExceeded ( )

◆ breakLinesForEmailBreaksTextIfLineIsLongerThanTheLineWidth()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::breakLinesForEmailBreaksTextIfLineIsLongerThanTheLineWidth ( )

◆ breakLinesForEmailBreaksTextWithNoSpaceFoundBeforeLimit()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::breakLinesForEmailBreaksTextWithNoSpaceFoundBeforeLimit ( )

◆ breakLinesForEmailReturnsEmptyStringIfEmptryStringIsGiven()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::breakLinesForEmailReturnsEmptyStringIfEmptryStringIsGiven ( )
Test:

Definition at line 41 of file MailUtilityTest.php.

◆ breakLinesForEmailReturnsOneLineIfCharWithIsNotExceeded()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::breakLinesForEmailReturnsOneLineIfCharWithIsNotExceeded ( )

◆ parseAddressesProvider()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::parseAddressesProvider ( )

Data provider for parseAddressesTest

Returns
array Data sets

Definition at line 98 of file MailUtilityTest.php.

◆ parseAddressesTest()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::parseAddressesTest (   $source,
  $addressList 
)
Test:
parseAddressesProvider

Definition at line 124 of file MailUtilityTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::setUp ( )
protected

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::tearDown ( )
protected

Member Data Documentation

◆ $singletonInstances

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::$singletonInstances = []
protected

Definition at line 25 of file MailUtilityTest.php.