PHP Class eZ\Bundle\EzPublishRestBundle\Tests\Functional\ContentTest

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

Méthodes publiques

Méthode Description
testCopyContent ( $restContentHref ) : string
testCreateContent ( ) : string
testCreateDraftFromCurrentVersion ( string $restContentHref ) : string
testCreateDraftFromVersion ( $restContentHref ) : string
testCreateRelation ( $restContentVersionHref ) : string
testCreateView ( )
testDeleteContent ( $restContentHref )
testDeleteContentVersion ( string $restContentVersionHref )
testLoadContent ( $restContentHref )
testLoadContentVersion ( string $restContentVersionHref )
testLoadContentVersions ( $restContentHref )
testLoadVersionRelation ( $restContentRelationHref )
testLoadVersionRelations ( $restContentVersionHref )
testPublishContent ( $restContentHref ) : string
testRedirectContent ( $restContentHref )
testRedirectCurrentVersion ( $restContentHref )
testRedirectCurrentVersionRelations ( $restContentHref )
testUpdateContentMetadata ( $restContentHref )
testUpdateVersion ( string $restContentVersionHref )

Private Methods

Méthode Description
loadContent ( string $restContentHref ) : array Returns the Content key from the decoded JSON of $restContentId's contentInfo.

Method Details

testCopyContent() public méthode

public testCopyContent ( $restContentHref ) : string
Résultat string the copied content href

testCreateContent() public méthode

public testCreateContent ( ) : string
Résultat string REST content ID

testCreateDraftFromCurrentVersion() public méthode

public testCreateDraftFromCurrentVersion ( string $restContentHref ) : string
$restContentHref string /content/objects/
Résultat string the ID of the created version (/content/objects//versions/

testCreateDraftFromVersion() public méthode

public testCreateDraftFromVersion ( $restContentHref ) : string
Résultat string ContentVersion REST ID

testCreateRelation() public méthode

public testCreateRelation ( $restContentVersionHref ) : string
Résultat string created relation HREF (/content/objects//versions//relations/

testCreateView() public méthode

public testCreateView ( )

testDeleteContent() public méthode

public testDeleteContent ( $restContentHref )

testDeleteContentVersion() public méthode

public testDeleteContentVersion ( string $restContentVersionHref )
$restContentVersionHref string /api/ezp/v2/content/objects//versions>/

testLoadContent() public méthode

public testLoadContent ( $restContentHref )

testLoadContentVersion() public méthode

public testLoadContentVersion ( string $restContentVersionHref )
$restContentVersionHref string

testLoadContentVersions() public méthode

public testLoadContentVersions ( $restContentHref )

testLoadVersionRelation() public méthode

public testLoadVersionRelation ( $restContentRelationHref )

testLoadVersionRelations() public méthode

public testLoadVersionRelations ( $restContentVersionHref )

testPublishContent() public méthode

public testPublishContent ( $restContentHref ) : string
Résultat string REST content ID

testRedirectContent() public méthode

public testRedirectContent ( $restContentHref )

testRedirectCurrentVersion() public méthode

public testRedirectCurrentVersion ( $restContentHref )

testRedirectCurrentVersionRelations() public méthode

public testRedirectCurrentVersionRelations ( $restContentHref )

testUpdateContentMetadata() public méthode

public testUpdateContentMetadata ( $restContentHref )

testUpdateVersion() public méthode

public testUpdateVersion ( string $restContentVersionHref )
$restContentVersionHref string /content/objects//versions>/