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

Inheritance: extends Base
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method 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.

Protected Methods

Method Description
createTestContentLocation ( integer $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\Content

Method Details

createTestContentLocation() protected method

protected createTestContentLocation ( integer $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\Content
$parentLocationId integer
return eZ\Publish\API\Repository\Values\Content\Content

testDeleteNonExistingTrashItem() public method

Test deleting a non existing trash item.

testDeleteTrashItem() public method

Test deleting a trash item.
public testDeleteTrashItem ( )

testFindTrashItemsAndEmptyTrash() public method

Test searching for trash items.

testIsPropertySet() public method

Test if property exists.
public testIsPropertySet ( )

testLoadTrashItem() public method

Test loading a trash item.
public testLoadTrashItem ( )

testLoadTrashItemThrowsNotFoundException() public method

Test loading a trash item throwing NotFoundException.

testMissingProperty() public method

Test retrieving missing property.
public testMissingProperty ( )

testNewClass() public method

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

testReadOnlyProperty() public method

Test setting read only property.

testRecover() public method

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

testRecoverNonExistingTrashItem() public method

Test recovering a non existing trash item.

testRecoverToDifferentLocation() public method

Test recovering a location from trash to different location.

testRecoverToNonExistingLocation() public method

Test recovering a location from trash to non existing location.

testTrash() public method

Test sending a location to trash.
public testTrash ( )

testTrashReturnsNull() public method

Test sending a location to trash.

testTrashUpdatesMainLocation() public method

Test sending a location to trash.

testUnsetProperty() public method

Test unsetting a property.
public testUnsetProperty ( )