‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest:

Public Member Functions

 currentForEmptyStorageReturnsNull ()
 
 countForEmptyStorageIsZero ()
 
 getInfoForEmptyStorageReturnsNull ()
 
 attachWithInformationMakesAttachedInformationAvailableUsingTheObjectAsKey ()
 
 attachForEmptyStorageIncreasesCountByOne ()
 
 attachForNonEmptyStorageIncreasesCountByOne ()
 
 attachingAnObjectUsingArrayAssignmentWithInformationIncreasesCountByOne ()
 
 detachForAttachedObjectReducesCountByOne ()
 
 offsetSetIncreasesCountByOne ()
 
 offsetUnsetWithObjectReducesCountByOne ()
 
 offsetUnsetWithIntegerKeyReducesCountByOne ()
 
 offsetGetForNoneExistingIntegerEntryReturnsNull ()
 
 offsetGetForNoneExistingObjectEntryReturnsNull ()
 
 offsetGetForObjectAttachedWithoutWithoutInformationReturnsNull ()
 
 offsetGetForObjectWithInformationAttachedUsingArrayAssignmentReturnsTheAssociatedInformation ()
 
 offsetGetForObjectWithInformationAttachedUsingAttachReturnsTheAssociatedInformation ()
 
 offsetGetWithIntegerKeyReturnsTheAssociatedObject ()
 
 offsetExistsWithObjectAddedToStorageReturnsTrue ()
 
 offsetExistsWithObjectNotAddedToStorageReturnsFalse ()
 
 offsetExistsWithIntegerKeyInStorageReturnsTrue ()
 
 offsetExistsWithIntegerKeyNotInStorageReturnsFalse ()
 
 offsetExistsWithNumericStringKeyNotInStorageReturnsFalse ()
 
static getInfoReturnsTheInformationAssociatedWithTheCurrentIteratorEntry (mixed $information)
 
 setInfoSetsTheInformationAssociatedWithTheCurrentIteratorEntry (mixed $information)
 
 setInfoOverwritesTheInformationAssociatedWithTheCurrentIteratorEntry (mixed $information)
 
 removeAllRemovesObjectsContainedInAnotherStorageFromTheCurrentStorage ()
 
 removeAllRemovesRemovesObjectWithDifferentInformationFromTheCurrentStorage ()
 
 removeAllKeepsObjectsNotContainedInTheOtherStorage ()
 
 removeAlIgnoresAdditionsObjectsContainedInOtherStorage ()
 
 addAllAddsAllObjectsFromAnotherStorage ()
 
 addAllAlsoAddsInformationOfTheAddedObjects ()
 
 toArrayReturnsObjectsInStorageUsingIntegerKeys ()
 
 getArrayReturnsObjectsInStorageUsingIntegerKeys ()
 
 relationsAreNotDirtyOnAttaching ()
 
 relationsAreNotDirtyOnAttachingAndRemoving ()
 
 relationsAreNotDirtyOnReAddingAtSamePosition ()
 
 relationsAreDirtyOnReAddingAtOtherPosition ()
 

Static Public Attributes

static array< string, function informationDataProvider():array { return['integer'=> [42]
 

Detailed Description

Definition at line 26 of file ObjectStorageTest.php.

Member Function Documentation

◆ addAllAddsAllObjectsFromAnotherStorage()

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

Definition at line 407 of file ObjectStorageTest.php.

◆ addAllAlsoAddsInformationOfTheAddedObjects()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::addAllAlsoAddsInformationOfTheAddedObjects ( )

Definition at line 423 of file ObjectStorageTest.php.

◆ attachForEmptyStorageIncreasesCountByOne()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::attachForEmptyStorageIncreasesCountByOne ( )

Definition at line 73 of file ObjectStorageTest.php.

◆ attachForNonEmptyStorageIncreasesCountByOne()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::attachForNonEmptyStorageIncreasesCountByOne ( )

Definition at line 85 of file ObjectStorageTest.php.

◆ attachingAnObjectUsingArrayAssignmentWithInformationIncreasesCountByOne()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::attachingAnObjectUsingArrayAssignmentWithInformationIncreasesCountByOne ( )

Definition at line 98 of file ObjectStorageTest.php.

◆ attachWithInformationMakesAttachedInformationAvailableUsingTheObjectAsKey()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::attachWithInformationMakesAttachedInformationAvailableUsingTheObjectAsKey ( )

Definition at line 60 of file ObjectStorageTest.php.

◆ countForEmptyStorageIsZero()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::countForEmptyStorageIsZero ( )

Definition at line 40 of file ObjectStorageTest.php.

◆ currentForEmptyStorageReturnsNull()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::currentForEmptyStorageReturnsNull ( )

Definition at line 29 of file ObjectStorageTest.php.

◆ detachForAttachedObjectReducesCountByOne()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::detachForAttachedObjectReducesCountByOne ( )

Definition at line 111 of file ObjectStorageTest.php.

◆ getArrayReturnsObjectsInStorageUsingIntegerKeys()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::getArrayReturnsObjectsInStorageUsingIntegerKeys ( )

Definition at line 453 of file ObjectStorageTest.php.

◆ getInfoForEmptyStorageReturnsNull()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::getInfoForEmptyStorageReturnsNull ( )

Definition at line 49 of file ObjectStorageTest.php.

◆ getInfoReturnsTheInformationAssociatedWithTheCurrentIteratorEntry()

static TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::getInfoReturnsTheInformationAssociatedWithTheCurrentIteratorEntry ( mixed  $information)

Definition at line 297 of file ObjectStorageTest.php.

◆ offsetExistsWithIntegerKeyInStorageReturnsTrue()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetExistsWithIntegerKeyInStorageReturnsTrue ( )

Definition at line 255 of file ObjectStorageTest.php.

◆ offsetExistsWithIntegerKeyNotInStorageReturnsFalse()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetExistsWithIntegerKeyNotInStorageReturnsFalse ( )

Definition at line 266 of file ObjectStorageTest.php.

◆ offsetExistsWithNumericStringKeyNotInStorageReturnsFalse()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetExistsWithNumericStringKeyNotInStorageReturnsFalse ( )

Definition at line 275 of file ObjectStorageTest.php.

◆ offsetExistsWithObjectAddedToStorageReturnsTrue()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetExistsWithObjectAddedToStorageReturnsTrue ( )

Definition at line 235 of file ObjectStorageTest.php.

◆ offsetExistsWithObjectNotAddedToStorageReturnsFalse()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetExistsWithObjectNotAddedToStorageReturnsFalse ( )

Definition at line 246 of file ObjectStorageTest.php.

◆ offsetGetForNoneExistingIntegerEntryReturnsNull()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetGetForNoneExistingIntegerEntryReturnsNull ( )

Definition at line 170 of file ObjectStorageTest.php.

◆ offsetGetForNoneExistingObjectEntryReturnsNull()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetGetForNoneExistingObjectEntryReturnsNull ( )

Definition at line 179 of file ObjectStorageTest.php.

◆ offsetGetForObjectAttachedWithoutWithoutInformationReturnsNull()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetGetForObjectAttachedWithoutWithoutInformationReturnsNull ( )

Definition at line 189 of file ObjectStorageTest.php.

◆ offsetGetForObjectWithInformationAttachedUsingArrayAssignmentReturnsTheAssociatedInformation()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetGetForObjectWithInformationAttachedUsingArrayAssignmentReturnsTheAssociatedInformation ( )

Definition at line 200 of file ObjectStorageTest.php.

◆ offsetGetForObjectWithInformationAttachedUsingAttachReturnsTheAssociatedInformation()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetGetForObjectWithInformationAttachedUsingAttachReturnsTheAssociatedInformation ( )

Definition at line 212 of file ObjectStorageTest.php.

◆ offsetGetWithIntegerKeyReturnsTheAssociatedObject()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetGetWithIntegerKeyReturnsTheAssociatedObject ( )

Definition at line 224 of file ObjectStorageTest.php.

◆ offsetSetIncreasesCountByOne()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetSetIncreasesCountByOne ( )

Definition at line 127 of file ObjectStorageTest.php.

◆ offsetUnsetWithIntegerKeyReducesCountByOne()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetUnsetWithIntegerKeyReducesCountByOne ( )

Definition at line 155 of file ObjectStorageTest.php.

◆ offsetUnsetWithObjectReducesCountByOne()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::offsetUnsetWithObjectReducesCountByOne ( )

Definition at line 140 of file ObjectStorageTest.php.

◆ relationsAreDirtyOnReAddingAtOtherPosition()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::relationsAreDirtyOnReAddingAtOtherPosition ( )

Definition at line 510 of file ObjectStorageTest.php.

◆ relationsAreNotDirtyOnAttaching()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::relationsAreNotDirtyOnAttaching ( )

Definition at line 466 of file ObjectStorageTest.php.

◆ relationsAreNotDirtyOnAttachingAndRemoving()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::relationsAreNotDirtyOnAttachingAndRemoving ( )

Definition at line 478 of file ObjectStorageTest.php.

◆ relationsAreNotDirtyOnReAddingAtSamePosition()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::relationsAreNotDirtyOnReAddingAtSamePosition ( )

Definition at line 491 of file ObjectStorageTest.php.

◆ removeAlIgnoresAdditionsObjectsContainedInOtherStorage()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::removeAlIgnoresAdditionsObjectsContainedInOtherStorage ( )

Definition at line 389 of file ObjectStorageTest.php.

◆ removeAllKeepsObjectsNotContainedInTheOtherStorage()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::removeAllKeepsObjectsNotContainedInTheOtherStorage ( )

Definition at line 371 of file ObjectStorageTest.php.

◆ removeAllRemovesObjectsContainedInAnotherStorageFromTheCurrentStorage()

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

Definition at line 337 of file ObjectStorageTest.php.

◆ removeAllRemovesRemovesObjectWithDifferentInformationFromTheCurrentStorage()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::removeAllRemovesRemovesObjectWithDifferentInformationFromTheCurrentStorage ( )

Definition at line 354 of file ObjectStorageTest.php.

◆ setInfoOverwritesTheInformationAssociatedWithTheCurrentIteratorEntry()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::setInfoOverwritesTheInformationAssociatedWithTheCurrentIteratorEntry ( mixed  $information)

Definition at line 324 of file ObjectStorageTest.php.

◆ setInfoSetsTheInformationAssociatedWithTheCurrentIteratorEntry()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::setInfoSetsTheInformationAssociatedWithTheCurrentIteratorEntry ( mixed  $information)

Definition at line 310 of file ObjectStorageTest.php.

◆ toArrayReturnsObjectsInStorageUsingIntegerKeys()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::toArrayReturnsObjectsInStorageUsingIntegerKeys ( )

Definition at line 440 of file ObjectStorageTest.php.

Member Data Documentation

◆ array< string, function informationDataProvider():array { return['integer'=>

TYPO3\CMS\Extbase\Tests\Unit\Persistence\ObjectStorageTest::array< string, function informationDataProvider():array { return[ 'integer'=>[42]
static
Returns
‪array<string, array{0: mixed}>

Definition at line 286 of file ObjectStorageTest.php.