PHP Class eZ\Publish\Core\FieldType\Tests\Image\IO\LegacyTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$draftIoServiceMock eZ\Publish\Core\IO\IOServiceInterface | PHPUnit_Framework_MockObject_MockObject Internal IOService instance for draft images.
$publishedIoServiceMock eZ\Publish\Core\IO\IOServiceInterface | PHPUnit_Framework_MockObject_MockObject Internal IOService instance for published images.
$service eZ\Publish\Core\FieldType\Image\IO\Legacy

Public Methods

Method Description
setUp ( )
testCreateBinaryFile ( )
testDeleteBinaryFile ( )
testExists ( )
testGetExternalPath ( )
testGetFileContents ( )
testGetFileInputStream ( )
testGetInternalPath ( )
testGetUri ( )
testLoadBinaryFile ( ) Standard binary file, with regular id.
testLoadBinaryFileByUriWithDraftFile ( )
testLoadBinaryFileByUriWithPublishedFile ( )
testLoadBinaryFileDraftInternalPath ( ) Load from internal draft binary file path.
testLoadBinaryFilePublishedInternalPath ( ) Load from internal published binary file path.
testNewBinaryCreateStructFromLocalFile ( )
testNewBinaryCreateStructFromUploadedFile ( )

Method Details

setUp() public method

public setUp ( )

testCreateBinaryFile() public method

testDeleteBinaryFile() public method

testExists() public method

public testExists ( )

testGetExternalPath() public method

public testGetExternalPath ( )

testGetFileContents() public method

public testGetFileContents ( )

testGetFileInputStream() public method

testGetInternalPath() public method

public testGetInternalPath ( )

testGetUri() public method

public testGetUri ( )

testLoadBinaryFile() public method

Standard binary file, with regular id.
public testLoadBinaryFile ( )

testLoadBinaryFileByUriWithDraftFile() public method

testLoadBinaryFileByUriWithPublishedFile() public method

testLoadBinaryFileDraftInternalPath() public method

Load from internal draft binary file path.

testLoadBinaryFilePublishedInternalPath() public method

Load from internal published binary file path.

testNewBinaryCreateStructFromLocalFile() public method

testNewBinaryCreateStructFromUploadedFile() public method

Property Details

$draftIoServiceMock protected_oe property

Internal IOService instance for draft images.
protected IOServiceInterface,eZ\Publish\Core\IO|PHPUnit_Framework_MockObject_MockObject $draftIoServiceMock
return eZ\Publish\Core\IO\IOServiceInterface | PHPUnit_Framework_MockObject_MockObject

$publishedIoServiceMock protected_oe property

Internal IOService instance for published images.
protected IOServiceInterface,eZ\Publish\Core\IO|PHPUnit_Framework_MockObject_MockObject $publishedIoServiceMock
return eZ\Publish\Core\IO\IOServiceInterface | PHPUnit_Framework_MockObject_MockObject

$service protected_oe property

protected Legacy,eZ\Publish\Core\FieldType\Image\IO $service
return eZ\Publish\Core\FieldType\Image\IO\Legacy