TYPO3 CMS  TYPO3_7-6
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, $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 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

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 187 of file ObjectStorageTest.php.

◆ allRelationsAreNotDirtyOnAttaching()

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

Definition at line 218 of file ObjectStorageTest.php.

◆ allRelationsAreNotDirtyOnAttachingAndRemoving()

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

Definition at line 235 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 39 of file ObjectStorageTest.php.

◆ getInfoReturnsTheDataAssociatedWithTheCurrentIteratorEntry()

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

Definition at line 132 of file ObjectStorageTest.php.

◆ offsetExistsChecksWhetherAnObjectExistsInTheStorage()

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

Definition at line 101 of file ObjectStorageTest.php.

◆ offsetExistsWorksWithEmptyStorageAndIntegerKey()

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

Definition at line 114 of file ObjectStorageTest.php.

◆ offsetExistsWorksWithEmptyStorageAndStringKey()

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

Definition at line 123 of file ObjectStorageTest.php.

◆ offsetGetReturnsTheDataAssociatedWithAnObject()

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

Definition at line 87 of file ObjectStorageTest.php.

◆ offsetSetAssociatesDataToAnObjectInTheStorage()

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

Definition at line 56 of file ObjectStorageTest.php.

◆ offsetUnsetRemovesAnObjectFromTheStorage()

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

Definition at line 70 of file ObjectStorageTest.php.

◆ removeAllRemovesObjectsContainedInAnotherStorageFromTheCurrentStorage()

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

Definition at line 170 of file ObjectStorageTest.php.

◆ setInfoSetsTheDataAssociatedWithTheCurrentIteratorEntry()

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

Definition at line 152 of file ObjectStorageTest.php.

◆ theRelationsAreDirtyOnReAddingAtOtherPosition()

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

Definition at line 270 of file ObjectStorageTest.php.

◆ theRelationsAreNotDirtyOnReAddingAtSamePosition()

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

Definition at line 252 of file ObjectStorageTest.php.

◆ theStorageCanBeRetrievedAsArray()

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

Definition at line 205 of file ObjectStorageTest.php.