PHP Class Symfony\Component\HttpFoundation\Tests\File\FileTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Protected Properties

Property Type Description
$file

Public Methods

Method Description
getFilenameFixtures ( )
testConstructWhenFileNotExists ( )
testGetMimeTypeUsesMimeTypeGuessers ( )
testGuessExtensionIsBasedOnMimeType ( )
testGuessExtensionWithReset ( )
testGuessExtensionWithoutGuesser ( )
testMove ( )
testMoveToAnUnexistentDirectory ( )
testMoveWithNewName ( )
testMoveWithNonLatinName ( $filename, $sanitizedFilename )

Protected Methods

Method Description
createMockGuesser ( $path, $mimeType )

Method Details

createMockGuesser() protected method

protected createMockGuesser ( $path, $mimeType )

getFilenameFixtures() public method

public getFilenameFixtures ( )

testConstructWhenFileNotExists() public method

testGetMimeTypeUsesMimeTypeGuessers() public method

testGuessExtensionIsBasedOnMimeType() public method

testGuessExtensionWithReset() public method

testGuessExtensionWithoutGuesser() public method

testMove() public method

public testMove ( )

testMoveToAnUnexistentDirectory() public method

testMoveWithNewName() public method

public testMoveWithNewName ( )

testMoveWithNonLatinName() public method

public testMoveWithNonLatinName ( $filename, $sanitizedFilename )

Property Details

$file protected property

protected $file