TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 injectedSettingsAreNotReplacedByGlobalSettings ()
 
 globalSettingsAreUsedIfNoSettingsAreInjected ()
 
 wrongConfigigurationThrowsException ($settings)
 
 providingCorrectClassnameDoesNotThrowException ()
 
 noPortSettingSetsPortTo25 ()
 
 emptyPortSettingSetsPortTo25 ()
 
 givenPortSettingIsRespected ()
 

Static Public Member Functions

static wrongConfigigurationProvider ()
 

Protected Attributes

 $fixture
 
- 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
 

Additional Inherited Members

- 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='')
 

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 TYPO3 class.

Author
Helmut Hummel helmu.nosp@m.t.hu.nosp@m.mmel@.nosp@m.typo.nosp@m.3.org

Definition at line 22 of file MailerTest.php.

Member Function Documentation

◆ emptyPortSettingSetsPortTo25()

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::emptyPortSettingSetsPortTo25 ( )
Test:

Definition at line 108 of file MailerTest.php.

◆ givenPortSettingIsRespected()

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::givenPortSettingIsRespected ( )
Test:

Definition at line 118 of file MailerTest.php.

◆ globalSettingsAreUsedIfNoSettingsAreInjected()

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::globalSettingsAreUsedIfNoSettingsAreInjected ( )
Test:

Definition at line 50 of file MailerTest.php.

References $GLOBALS.

◆ injectedSettingsAreNotReplacedByGlobalSettings()

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::injectedSettingsAreNotReplacedByGlobalSettings ( )
Test:

Definition at line 39 of file MailerTest.php.

References $GLOBALS.

◆ noPortSettingSetsPortTo25()

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::noPortSettingSetsPortTo25 ( )
Test:

Definition at line 98 of file MailerTest.php.

◆ providingCorrectClassnameDoesNotThrowException()

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::providingCorrectClassnameDoesNotThrowException ( )
Test:

Definition at line 84 of file MailerTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::setUp ( )

Definition at line 29 of file MailerTest.php.

◆ wrongConfigigurationProvider()

static TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::wrongConfigigurationProvider ( )
static

Data provider for wrongConfigigurationThrowsException

Returns
array Data sets

Definition at line 61 of file MailerTest.php.

◆ wrongConfigigurationThrowsException()

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::wrongConfigigurationThrowsException (   $settings)
Test:
Parameters
$settingswrongConfigigurationProvider

Definition at line 76 of file MailerTest.php.

Member Data Documentation

◆ $fixture

TYPO3\CMS\Core\Tests\Unit\Mail\MailerTest::$fixture
protected

Definition at line 27 of file MailerTest.php.