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

Inheritance: extends TestCase
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
deleteContentTypeDraftFieldDefinition ( $fieldDefinitionHref )
testAddContentTypeDraftFieldDefinition ( $contentTypeDraftHref ) : string
testContentTypeLoadFieldDefinitionList ( $contentTypeHref ) : string
testCopyContentType ( $sourceContentTypeHref ) : string
testCreateContentType ( $contentTypeGroupHref )
testCreateContentTypeDraft ( $contentTypeHref ) : string
testCreateContentTypeGroup ( )
testDeleteContentType ( $contentTypeHref )
testDeleteContentTypeDraft ( $contentTypeDraftHref )
testDeleteContentTypeGroupNotEmpty ( $contentTypeGroupHref )
testLinkContentTypeToGroup ( $contentTypeHref ) : string
testListContentTypes ( )
testListContentTypesByIdentifier ( )
testListContentTypesByRemoteId ( )
testListContentTypesForGroup ( string $contentTypeGroupHref )
testLoadContentType ( $contentTypeHref )
testLoadContentTypeDraft ( $contentTypeDraftHref )
testLoadContentTypeFieldDefinition ( $fieldDefinitionHref )
testLoadContentTypeGroup ( string $contentTypeGroupHref )
testLoadContentTypeGroupList ( )
testLoadContentTypeGroupListWithIdentifier ( )
testLoadContentTypeGroupNotFound ( string $contentTypeGroupHref )
testLoadContentTypeNotFound ( $contentTypeHref )
testLoadGroupsOfContentType ( $contentTypeHref )
testPublishContentTypeDraft ( $contentTypeHref )
testUnlinkContentTypeFromGroup ( $contentTypeHref )
testUpdateContentTypeDraft ( $contentTypeDraftHref )
testUpdateContentTypeDraftFieldDefinition ( $fieldDefinitionHref )
testUpdateContentTypeGroup ( $contentTypeGroupHref ) : string

Method Details

deleteContentTypeDraftFieldDefinition() public method

public deleteContentTypeDraftFieldDefinition ( $fieldDefinitionHref )

testAddContentTypeDraftFieldDefinition() public method

public testAddContentTypeDraftFieldDefinition ( $contentTypeDraftHref ) : string
return string The content type draft field definition href

testContentTypeLoadFieldDefinitionList() public method

public testContentTypeLoadFieldDefinitionList ( $contentTypeHref ) : string
return string the href of the first field definition in the list

testCopyContentType() public method

public testCopyContentType ( $sourceContentTypeHref ) : string
return string The copied content type href

testCreateContentType() public method

public testCreateContentType ( $contentTypeGroupHref )

testCreateContentTypeDraft() public method

public testCreateContentTypeDraft ( $contentTypeHref ) : string
return string the created content type draft href

testCreateContentTypeGroup() public method

testDeleteContentType() public method

public testDeleteContentType ( $contentTypeHref )

testDeleteContentTypeDraft() public method

public testDeleteContentTypeDraft ( $contentTypeDraftHref )

testDeleteContentTypeGroupNotEmpty() public method

public testDeleteContentTypeGroupNotEmpty ( $contentTypeGroupHref )

testLinkContentTypeToGroup() public method

public testLinkContentTypeToGroup ( $contentTypeHref ) : string
return string the content type href

testListContentTypes() public method

testListContentTypesByIdentifier() public method

testListContentTypesByRemoteId() public method

testListContentTypesForGroup() public method

public testListContentTypesForGroup ( string $contentTypeGroupHref )
$contentTypeGroupHref string

testLoadContentType() public method

public testLoadContentType ( $contentTypeHref )

testLoadContentTypeDraft() public method

public testLoadContentTypeDraft ( $contentTypeDraftHref )

testLoadContentTypeFieldDefinition() public method

public testLoadContentTypeFieldDefinition ( $fieldDefinitionHref )

testLoadContentTypeGroup() public method

public testLoadContentTypeGroup ( string $contentTypeGroupHref )
$contentTypeGroupHref string

testLoadContentTypeGroupList() public method

testLoadContentTypeGroupListWithIdentifier() public method

testLoadContentTypeGroupNotFound() public method

public testLoadContentTypeGroupNotFound ( string $contentTypeGroupHref )
$contentTypeGroupHref string

testLoadContentTypeNotFound() public method

public testLoadContentTypeNotFound ( $contentTypeHref )

testLoadGroupsOfContentType() public method

public testLoadGroupsOfContentType ( $contentTypeHref )

testPublishContentTypeDraft() public method

public testPublishContentTypeDraft ( $contentTypeHref )

testUnlinkContentTypeFromGroup() public method

public testUnlinkContentTypeFromGroup ( $contentTypeHref )

testUpdateContentTypeDraft() public method

public testUpdateContentTypeDraft ( $contentTypeDraftHref )

testUpdateContentTypeDraftFieldDefinition() public method

public testUpdateContentTypeDraftFieldDefinition ( $fieldDefinitionHref )

testUpdateContentTypeGroup() public method

public testUpdateContentTypeGroup ( $contentTypeGroupHref ) : string
return string the updated content type href