TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 anObjectCanBeAttached ()
 
 anObjectCanBeDetached ()
 
 offsetSetAssociatesDataToAnObjectInTheStorage ()
 
 offsetUnsetRemovesAnObjectFromTheStorage ()
 
 offsetGetReturnsTheDataAssociatedWithAnObject ()
 
 offsetExistsChecksWhetherAnObjectExistsInTheStorage ()
 
 offsetExistsWorksWithEmptyStorageAndIntegerKey ()
 
 offsetExistsWorksWithEmptyStorageAndStringKey ()
 
 getInfoReturnsTheDataAssociatedWithTheCurrentIteratorEntry ()
 
 setInfoSetsTheDataAssociatedWithTheCurrentIteratorEntry ()
 
 removeAllRemovesObjectsContainedInAnotherStorageFromTheCurrentStorage ()
 
 addAllAddsAllObjectsFromAnotherStorage ()
 
 theStorageCanBeRetrievedAsArray ()
 
 allRelationsAreNotDirtyOnAttaching ()
 
 allRelationsAreNotDirtyOnAttachingAndRemoving ()
 
 theRelationsAreNotDirtyOnReAddingAtSamePosition ()
 
 theRelationsAreDirtyOnReAddingAtOtherPosition ()
 

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! Test case

Definition at line 20 of file ObjectStorageTest.php.

Member Function Documentation

◆ addAllAddsAllObjectsFromAnotherStorage()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::addAllAddsAllObjectsFromAnotherStorage ( )
Test:

Definition at line 176 of file ObjectStorageTest.php.

◆ allRelationsAreNotDirtyOnAttaching()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::allRelationsAreNotDirtyOnAttaching ( )
Test:

Definition at line 205 of file ObjectStorageTest.php.

◆ allRelationsAreNotDirtyOnAttachingAndRemoving()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::allRelationsAreNotDirtyOnAttachingAndRemoving ( )
Test:

Definition at line 221 of file ObjectStorageTest.php.

◆ anObjectCanBeAttached()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::anObjectCanBeAttached ( )
Test:

Definition at line 25 of file ObjectStorageTest.php.

◆ anObjectCanBeDetached()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::anObjectCanBeDetached ( )
Test:

Definition at line 38 of file ObjectStorageTest.php.

◆ getInfoReturnsTheDataAssociatedWithTheCurrentIteratorEntry()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::getInfoReturnsTheDataAssociatedWithTheCurrentIteratorEntry ( )
Test:

Definition at line 124 of file ObjectStorageTest.php.

◆ offsetExistsChecksWhetherAnObjectExistsInTheStorage()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetExistsChecksWhetherAnObjectExistsInTheStorage ( )
Test:

Definition at line 96 of file ObjectStorageTest.php.

◆ offsetExistsWorksWithEmptyStorageAndIntegerKey()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetExistsWorksWithEmptyStorageAndIntegerKey ( )
Test:

Definition at line 108 of file ObjectStorageTest.php.

◆ offsetExistsWorksWithEmptyStorageAndStringKey()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetExistsWorksWithEmptyStorageAndStringKey ( )
Test:

Definition at line 116 of file ObjectStorageTest.php.

◆ offsetGetReturnsTheDataAssociatedWithAnObject()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetGetReturnsTheDataAssociatedWithAnObject ( )
Test:

Definition at line 83 of file ObjectStorageTest.php.

◆ offsetSetAssociatesDataToAnObjectInTheStorage()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetSetAssociatesDataToAnObjectInTheStorage ( )
Test:

Definition at line 54 of file ObjectStorageTest.php.

◆ offsetUnsetRemovesAnObjectFromTheStorage()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetUnsetRemovesAnObjectFromTheStorage ( )
Test:

Definition at line 67 of file ObjectStorageTest.php.

◆ removeAllRemovesObjectsContainedInAnotherStorageFromTheCurrentStorage()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::removeAllRemovesObjectsContainedInAnotherStorageFromTheCurrentStorage ( )
Test:

Definition at line 160 of file ObjectStorageTest.php.

◆ setInfoSetsTheDataAssociatedWithTheCurrentIteratorEntry()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::setInfoSetsTheDataAssociatedWithTheCurrentIteratorEntry ( )
Test:

Definition at line 143 of file ObjectStorageTest.php.

◆ theRelationsAreDirtyOnReAddingAtOtherPosition()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::theRelationsAreDirtyOnReAddingAtOtherPosition ( )
Test:

Definition at line 254 of file ObjectStorageTest.php.

◆ theRelationsAreNotDirtyOnReAddingAtSamePosition()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::theRelationsAreNotDirtyOnReAddingAtSamePosition ( )
Test:

Definition at line 237 of file ObjectStorageTest.php.

◆ theStorageCanBeRetrievedAsArray()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::theStorageCanBeRetrievedAsArray ( )
Test:

Definition at line 193 of file ObjectStorageTest.php.