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

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

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
addNewMainLocation ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, integer $parentLocationId ) : mixed
createContentDraft ( )
createTestContentLocation ( integer $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\Content

Method Details

addNewMainLocation() protected méthode

protected addNewMainLocation ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, integer $parentLocationId ) : mixed
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo
$parentLocationId integer
Résultat mixed

createContentDraft() protected méthode

protected createContentDraft ( )

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

testCopySubtree() public méthode

Test copying a subtree.
public testCopySubtree ( )

testCopySubtreeThrowsInvalidArgumentException() public méthode

Test copying a subtree throwing InvalidArgumentException.

testCreateLocation() public méthode

Test creating a location.
public testCreateLocation ( )

testCreateLocationThrowsInvalidArgumentExceptionExistingRemoteId() public méthode

Test creating a location throwing InvalidArgumentException.

testCreateLocationThrowsInvalidArgumentExceptionLocationExistsBelowParent() public méthode

Test creating a location throwing InvalidArgumentException.

testCreateLocationThrowsInvalidArgumentExceptionParentIsASubLocation() public méthode

Test creating a location throwing InvalidArgumentException.

testDeleteLocation() public méthode

Test deleting a location.
public testDeleteLocation ( )

testHideUnhideLocation() public méthode

Test hiding & unhiding a location.

testIsPropertySet() public méthode

Test if property exists.
public testIsPropertySet ( )

testLoadLocation() public méthode

Test loading a location.
public testLoadLocation ( )

testLoadLocationByRemoteId() public méthode

Test loading location by remote ID.

testLoadLocationByRemoteIdThrowsNotFoundException() public méthode

Test loading location by remote ID.

testLoadLocationChildren() public méthode

Test loading location children.

testLoadLocationThrowsNotFoundException() public méthode

Test loading a location throwing NotFoundException.

testLoadLocations() public méthode

Test loading locations for content.
public testLoadLocations ( )

testLoadLocationsThrowsBadStateException() public méthode

Test loading locations for content throwing BadStateException.

testLoadLocationsWithRootLocation() public méthode

Test loading locations for content with root location specified.

testMissingProperty() public méthode

Test retrieving missing property.
public testMissingProperty ( )

testMoveSubtree() public méthode

Test moving a subtree.
public testMoveSubtree ( )

testNewClass() public méthode

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

testNewLocationCreateStruct() public méthode

Test creating new LocationCreateStruct.

testNewLocationUpdateStruct() public méthode

Test creating new LocationUpdateStruct.

testReadOnlyProperty() public méthode

Test setting read only property.

testSwapLocation() public méthode

Test swapping location.
public testSwapLocation ( )

testUnsetProperty() public méthode

Test unsetting a property.
public testUnsetProperty ( )

testUpdateLocation() public méthode

Test updating location.
public testUpdateLocation ( )

testUpdateLocationThrowsInvalidArgumentException() public méthode

Test updating location throwing InvalidArgumentException.