TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ObjectStorageTest Class Reference
Inheritance diagram for ObjectStorageTest:
UnitTestCase 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 UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from 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,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 20 of file ObjectStorageTest.php.

Member Function Documentation

addAllAddsAllObjectsFromAnotherStorage ( )
Test:

Definition at line 187 of file ObjectStorageTest.php.

allRelationsAreNotDirtyOnAttaching ( )
Test:

Definition at line 219 of file ObjectStorageTest.php.

allRelationsAreNotDirtyOnAttachingAndRemoving ( )
Test:

Definition at line 236 of file ObjectStorageTest.php.

anObjectCanBeAttached ( )
Test:

Definition at line 25 of file ObjectStorageTest.php.

anObjectCanBeDetached ( )
Test:

Definition at line 39 of file ObjectStorageTest.php.

getInfoReturnsTheDataAssociatedWithTheCurrentIteratorEntry ( )
Test:

Definition at line 132 of file ObjectStorageTest.php.

offsetExistsChecksWhetherAnObjectExistsInTheStorage ( )
Test:

Definition at line 101 of file ObjectStorageTest.php.

offsetExistsWorksWithEmptyStorageAndIntegerKey ( )
Test:

Definition at line 114 of file ObjectStorageTest.php.

offsetExistsWorksWithEmptyStorageAndStringKey ( )
Test:

Definition at line 123 of file ObjectStorageTest.php.

offsetGetReturnsTheDataAssociatedWithAnObject ( )
Test:

Definition at line 87 of file ObjectStorageTest.php.

offsetSetAssociatesDataToAnObjectInTheStorage ( )
Test:

Definition at line 56 of file ObjectStorageTest.php.

offsetUnsetRemovesAnObjectFromTheStorage ( )
Test:

Definition at line 70 of file ObjectStorageTest.php.

removeAllRemovesObjectsContainedInAnotherStorageFromTheCurrentStorage ( )
Test:

Definition at line 170 of file ObjectStorageTest.php.

setInfoSetsTheDataAssociatedWithTheCurrentIteratorEntry ( )
Test:

Definition at line 152 of file ObjectStorageTest.php.

theRelationsAreDirtyOnReAddingAtOtherPosition ( )
Test:

Definition at line 271 of file ObjectStorageTest.php.

theRelationsAreNotDirtyOnReAddingAtSamePosition ( )
Test:

Definition at line 253 of file ObjectStorageTest.php.

theStorageCanBeRetrievedAsArray ( )
Test:

Definition at line 205 of file ObjectStorageTest.php.