TYPO3 CMS  TYPO3_6-2
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

 setUp ()
 
 tearDown ()
 
 mailCallsHook ()
 
 mailCallsHookWithDefaultMailFrom ()
 
 breakLinesForEmailReturnsEmptyStringIfEmptryStringIsGiven ()
 
 breakLinesForEmailReturnsOneLineIfCharWithIsNotExceeded ()
 
 breakLinesForEmailBreaksTextIfCharWithIsExceeded ()
 
 breakLinesForEmailBreaksTextWithNoSpaceFoundBeforeLimit ()
 
 breakLinesForEmailBreaksTextIfLineIsLongerThanTheLineWidth ()
 
 parseAddressesProvider ()
 
 parseAddressesTest ($source, $addressList)
 

Protected Member Functions

 doMailCallsHook ($fromAddress='', $fromName='')
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $singletonInstances = array()
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Testcase for the class.

Author
Oliver Klee typo3.nosp@m.-cod.nosp@m.ing@o.nosp@m.live.nosp@m.rklee.nosp@m..de

Definition at line 22 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 ( )

◆ breakLinesForEmailReturnsOneLineIfCharWithIsNotExceeded()

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

◆ doMailCallsHook()

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::doMailCallsHook (   $fromAddress = '',
  $fromName = '' 
)
protected

◆ mailCallsHook()

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

◆ mailCallsHookWithDefaultMailFrom()

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

◆ parseAddressesProvider()

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

Data provider for parseAddressesTest

Returns
array Data sets

Definition at line 141 of file MailUtilityTest.php.

◆ parseAddressesTest()

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

Definition at line 166 of file MailUtilityTest.php.

◆ setUp()

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

◆ tearDown()

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

Member Data Documentation

◆ $singletonInstances

TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest::$singletonInstances = array()
protected

Definition at line 27 of file MailUtilityTest.php.