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é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 |
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 |
protected createTestContentLocation ( integer $parentLocationId ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$parentLocationId | integer | |
Résultat | eZ\Publish\API\Repository\Values\Content\Content |
public testHideUnhideLocation ( ) |
public testLoadLocationByRemoteId ( ) |
public testLoadLocationChildren ( ) |
public testLoadLocationThrowsNotFoundException ( ) |
public testLoadLocationsThrowsBadStateException ( ) |
public testLoadLocationsWithRootLocation ( ) |
public testMissingProperty ( ) |
public testNewClass ( ) |
public testNewLocationCreateStruct ( ) |
public testNewLocationUpdateStruct ( ) |
public testReadOnlyProperty ( ) |