PHP Class eZ\Publish\Core\Repository\Tests\Service\Integration\TrashBase

Inheritance: extends Base
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
testDeleteNonExistingTrashItem ( ) Test deleting a non existing trash item.
testDeleteTrashItem ( ) Test deleting a trash item.
testFindTrashItemsAndEmptyTrash ( ) Test searching for trash items.
testIsPropertySet ( ) Test if property exists.
testLoadTrashItem ( ) Test loading a trash item.
testLoadTrashItemThrowsNotFoundException ( ) Test loading a trash item throwing NotFoundException.
testMissingProperty ( ) Test retrieving missing property.
testNewClass ( ) Test a new class and default values on properties.
testReadOnlyProperty ( ) Test setting read only property.
testRecover ( ) Test recovering a location from trash to original location.
testRecoverNonExistingTrashItem ( ) Test recovering a non existing trash item.
testRecoverToDifferentLocation ( ) Test recovering a location from trash to different location.
testRecoverToNonExistingLocation ( ) Test recovering a location from trash to non existing location.
testTrash ( ) Test sending a location to trash.
testTrashReturnsNull ( ) Test sending a location to trash.
testTrashUpdatesMainLocation ( ) Test sending a location to trash.
testUnsetProperty ( ) Test unsetting a property.

Méthodes protégées

Méthode Description
createTestContentLocation ( integer $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\Content

Method Details

createTestContentLocation() protected méthode

protected createTestContentLocation ( integer $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\Content
$parentLocationId integer
Résultat eZ\Publish\API\Repository\Values\Content\Content

testDeleteNonExistingTrashItem() public méthode

Test deleting a non existing trash item.

testDeleteTrashItem() public méthode

Test deleting a trash item.
public testDeleteTrashItem ( )

testFindTrashItemsAndEmptyTrash() public méthode

Test searching for trash items.

testIsPropertySet() public méthode

Test if property exists.
public testIsPropertySet ( )

testLoadTrashItem() public méthode

Test loading a trash item.
public testLoadTrashItem ( )

testLoadTrashItemThrowsNotFoundException() public méthode

Test loading a trash item throwing NotFoundException.

testMissingProperty() public méthode

Test retrieving missing property.
public testMissingProperty ( )

testNewClass() public méthode

Test a new class and default values on properties.
public testNewClass ( )

testReadOnlyProperty() public méthode

Test setting read only property.

testRecover() public méthode

Test recovering a location from trash to original location.
public testRecover ( )

testRecoverNonExistingTrashItem() public méthode

Test recovering a non existing trash item.

testRecoverToDifferentLocation() public méthode

Test recovering a location from trash to different location.

testRecoverToNonExistingLocation() public méthode

Test recovering a location from trash to non existing location.

testTrash() public méthode

Test sending a location to trash.
public testTrash ( )

testTrashReturnsNull() public méthode

Test sending a location to trash.

testTrashUpdatesMainLocation() public méthode

Test sending a location to trash.

testUnsetProperty() public méthode

Test unsetting a property.
public testUnsetProperty ( )