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

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

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

Метод Описание
testCopySubtree ( ) Test copying a subtree.
testCopySubtreeThrowsInvalidArgumentException ( ) Test copying a subtree throwing InvalidArgumentException.
testCreateLocation ( ) Test creating a location.
testCreateLocationThrowsInvalidArgumentExceptionExistingRemoteId ( ) Test creating a location throwing InvalidArgumentException.
testCreateLocationThrowsInvalidArgumentExceptionLocationExistsBelowParent ( ) Test creating a location throwing InvalidArgumentException.
testCreateLocationThrowsInvalidArgumentExceptionParentIsASubLocation ( ) Test creating a location throwing InvalidArgumentException.
testDeleteLocation ( ) Test deleting a location.
testHideUnhideLocation ( ) Test hiding & unhiding a location.
testIsPropertySet ( ) Test if property exists.
testLoadLocation ( ) Test loading a location.
testLoadLocationByRemoteId ( ) Test loading location by remote ID.
testLoadLocationByRemoteIdThrowsNotFoundException ( ) Test loading location by remote ID.
testLoadLocationChildren ( ) Test loading location children.
testLoadLocationThrowsNotFoundException ( ) Test loading a location throwing NotFoundException.
testLoadLocations ( ) Test loading locations for content.
testLoadLocationsThrowsBadStateException ( ) Test loading locations for content throwing BadStateException.
testLoadLocationsWithRootLocation ( ) Test loading locations for content with root location specified.
testMissingProperty ( ) Test retrieving missing property.
testMoveSubtree ( ) Test moving a subtree.
testNewClass ( ) Test a new class and default values on properties.
testNewLocationCreateStruct ( ) Test creating new LocationCreateStruct.
testNewLocationUpdateStruct ( ) Test creating new LocationUpdateStruct.
testReadOnlyProperty ( ) Test setting read only property.
testSwapLocation ( ) Test swapping location.
testUnsetProperty ( ) Test unsetting a property.
testUpdateLocation ( ) Test updating location.
testUpdateLocationThrowsInvalidArgumentException ( ) Test updating location throwing InvalidArgumentException.

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

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

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

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

protected addNewMainLocation ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, integer $parentLocationId ) : mixed
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo
$parentLocationId integer
Результат mixed

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

protected createContentDraft ( )

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

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

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

Test copying a subtree.
public testCopySubtree ( )

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

Test copying a subtree throwing InvalidArgumentException.

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

Test creating a location.
public testCreateLocation ( )

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

Test creating a location throwing InvalidArgumentException.

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

Test creating a location throwing InvalidArgumentException.

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

Test creating a location throwing InvalidArgumentException.

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

Test deleting a location.
public testDeleteLocation ( )

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

Test hiding & unhiding a location.

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

Test if property exists.
public testIsPropertySet ( )

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

Test loading a location.
public testLoadLocation ( )

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

Test loading location by remote ID.

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

Test loading location by remote ID.

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

Test loading location children.

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

Test loading a location throwing NotFoundException.

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

Test loading locations for content.
public testLoadLocations ( )

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

Test loading locations for content throwing BadStateException.

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

Test loading locations for content with root location specified.

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

Test retrieving missing property.
public testMissingProperty ( )

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

Test moving a subtree.
public testMoveSubtree ( )

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

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

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

Test creating new LocationCreateStruct.

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

Test creating new LocationUpdateStruct.

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

Test setting read only property.

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

Test swapping location.
public testSwapLocation ( )

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

Test unsetting a property.
public testUnsetProperty ( )

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

Test updating location.
public testUpdateLocation ( )

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

Test updating location throwing InvalidArgumentException.