Property | Type | Description | |
---|---|---|---|
$valueConverterRegistryMock | Value converter registry mock. |
Method | Description | |
---|---|---|
extractContentInfoFromRowProvider ( ) : array | Returns test data for {@link testExtractContentInfoFromRow()}. | |
extractVersionInfoFromRowProvider ( ) : array | Returns test data for {@link testExtractVersionInfoFromRow()}. | |
testConvertToStorageValue ( ) | ||
testCreateCreateStructFromContent ( ) | ||
testCreateCreateStructFromContentBasicProperties ( $data ) | ||
testCreateCreateStructFromContentFieldCount ( $data ) | ||
testCreateCreateStructFromContentFieldsNoId ( $data ) | ||
testCreateCreateStructFromContentParentLocationsEmpty ( $data ) | ||
testCreateRelationFromCreateStruct ( ) | ||
testCreateVersionInfoForContent ( ) | ||
testCtor ( ) | ||
testExtractContentFromRows ( ) | ||
testExtractContentFromRowsMultipleVersions ( ) | ||
testExtractContentInfoFromRow ( array $fixtures, string $prefix ) | ||
testExtractRelationsFromRows ( ) |
Method | Description | |
---|---|---|
getContentExtractFixture ( ) : array | Returns a fixture of database rows for content extraction. | |
getContentExtractReference ( ) : eZ\Publish\SPI\Persistence\Content | Returns a reference result for content extraction. | |
getCreateStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\CreateStruct | Returns a eZ\Publish\SPI\Persistence\Content\CreateStruct fixture. | |
getFullContentFixture ( ) : eZ\Publish\SPI\Persistence\Content | Returns a Content fixture. | |
getLanguageHandler ( ) : |
Returns a language handler mock. | |
getMapper ( $valueConverter = null ) : |
Returns a Mapper. | |
getMultipleVersionsExtractFixture ( ) : string[][] | Returns a fixture for mapping multiple versions of a content object. | |
getMultipleVersionsNamesExtractFixture ( ) : array | Returns a fixture of database rows for content names extraction across multiple versions. | |
getNamesExtractFixture ( ) : array | Returns a fixture of database rows for content names extraction. | |
getRelationCreateStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct | Returns a eZ\Publish\SPI\Persistence\Content\CreateStruct fixture. | |
getRelationExtractFixture ( ) : array | Returns a fixture of database rows for relations extraction. | |
getRelationExtractReference ( ) : eZ\Publish\SPI\Persistence\Content | Returns a reference result for content extraction. | |
getValueConverterRegistryMock ( ) : |
Returns a FieldValue converter registry mock. |
public extractContentInfoFromRowProvider ( ) : array | ||
return | array |
public extractVersionInfoFromRowProvider ( ) : array | ||
return | array |
protected getContentExtractFixture ( ) : array | ||
return | array |
protected getContentExtractReference ( ) : eZ\Publish\SPI\Persistence\Content | ||
return | eZ\Publish\SPI\Persistence\Content |
protected getCreateStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\CreateStruct | ||
return | eZ\Publish\SPI\Persistence\Content\CreateStruct |
protected getFullContentFixture ( ) : eZ\Publish\SPI\Persistence\Content | ||
return | eZ\Publish\SPI\Persistence\Content |
protected getLanguageHandler ( ) : |
||
return |
protected getMapper ( $valueConverter = null ) : |
||
return |
protected getMultipleVersionsExtractFixture ( ) : string[][] | ||
return | string[][] |
protected getMultipleVersionsNamesExtractFixture ( ) : array | ||
return | array |
protected getNamesExtractFixture ( ) : array | ||
return | array |
protected getRelationCreateStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct | ||
return | eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct |
protected getRelationExtractFixture ( ) : array | ||
return | array |
protected getRelationExtractReference ( ) : eZ\Publish\SPI\Persistence\Content | ||
return | eZ\Publish\SPI\Persistence\Content |
protected getValueConverterRegistryMock ( ) : |
||
return |
public testCreateCreateStructFromContentBasicProperties ( $data ) |
public testCreateCreateStructFromContentFieldCount ( $data ) |
public testCreateCreateStructFromContentFieldsNoId ( $data ) |
public testCreateCreateStructFromContentParentLocationsEmpty ( $data ) |
public testExtractContentFromRowsMultipleVersions ( ) |
public testExtractContentInfoFromRow ( array $fixtures, string $prefix ) | ||
$fixtures | array | |
$prefix | string |