TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 getMenuObjectByTypeThrowsExceptionForUnknownType ()
 
 getMenuObjectByTypeReturnsObjectForRegisteredMenuType ()
 
 getMenuObjectByTypeReturnsObjectWithLowercasedMenuType ()
 
 getMenuObjectByTypeReturnsInstanceOfOwnRegisteredTypeInsteadOfInternalType ()
 
 getMenuObjectByTypeReturnsInstanceOfNewRegisteredType ()
 
 registerMenuTypeThrowsExceptionIfTypeIsNotOfTypeString ()
 
 registerMenuTypeThrowsExceptionIfClassNameIsNotOfTypeString ()
 

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

Author
Christian Kuhn <lolli.nosp@m.@sch.nosp@m.warzb.nosp@m.u.ch

Definition at line 22 of file MenuContentObjectFactoryTest.php.

Member Function Documentation

◆ getMenuObjectByTypeReturnsInstanceOfNewRegisteredType()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest::getMenuObjectByTypeReturnsInstanceOfNewRegisteredType ( )

◆ getMenuObjectByTypeReturnsInstanceOfOwnRegisteredTypeInsteadOfInternalType()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest::getMenuObjectByTypeReturnsInstanceOfOwnRegisteredTypeInsteadOfInternalType ( )
Test:

Definition at line 52 of file MenuContentObjectFactoryTest.php.

◆ getMenuObjectByTypeReturnsObjectForRegisteredMenuType()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest::getMenuObjectByTypeReturnsObjectForRegisteredMenuType ( )
Test:

Definition at line 36 of file MenuContentObjectFactoryTest.php.

◆ getMenuObjectByTypeReturnsObjectWithLowercasedMenuType()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest::getMenuObjectByTypeReturnsObjectWithLowercasedMenuType ( )
Test:

Definition at line 44 of file MenuContentObjectFactoryTest.php.

◆ getMenuObjectByTypeThrowsExceptionForUnknownType()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest::getMenuObjectByTypeThrowsExceptionForUnknownType ( )

◆ registerMenuTypeThrowsExceptionIfClassNameIsNotOfTypeString()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest::registerMenuTypeThrowsExceptionIfClassNameIsNotOfTypeString ( )
Test:

Definition at line 83 of file MenuContentObjectFactoryTest.php.

◆ registerMenuTypeThrowsExceptionIfTypeIsNotOfTypeString()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\MenuContentObjectFactoryTest::registerMenuTypeThrowsExceptionIfTypeIsNotOfTypeString ( )
Test:

Definition at line 74 of file MenuContentObjectFactoryTest.php.