PHP Класс eZ\Publish\Core\Repository\Tests\Service\Integration\TrashBase

Наследование: extends Base
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
createTestContentLocation ( integer $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\Content

Описание методов

createTestContentLocation() защищенный Метод

protected createTestContentLocation ( integer $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\Content
$parentLocationId integer
Результат eZ\Publish\API\Repository\Values\Content\Content

testDeleteNonExistingTrashItem() публичный Метод

Test deleting a non existing trash item.

testDeleteTrashItem() публичный Метод

Test deleting a trash item.
public testDeleteTrashItem ( )

testFindTrashItemsAndEmptyTrash() публичный Метод

Test searching for trash items.

testIsPropertySet() публичный Метод

Test if property exists.
public testIsPropertySet ( )

testLoadTrashItem() публичный Метод

Test loading a trash item.
public testLoadTrashItem ( )

testLoadTrashItemThrowsNotFoundException() публичный Метод

Test loading a trash item throwing NotFoundException.

testMissingProperty() публичный Метод

Test retrieving missing property.
public testMissingProperty ( )

testNewClass() публичный Метод

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

testReadOnlyProperty() публичный Метод

Test setting read only property.

testRecover() публичный Метод

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

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.
public testTrash ( )

testTrashReturnsNull() публичный Метод

Test sending a location to trash.

testTrashUpdatesMainLocation() публичный Метод

Test sending a location to trash.

testUnsetProperty() публичный Метод

Test unsetting a property.
public testUnsetProperty ( )