FileTest
extends TestCase
Table of Contents
-
$file
: mixed
-
getFilenameFixtures()
: mixed
-
testConstructWhenFileNotExists()
: mixed
-
testGetMimeTypeUsesMimeTypeGuessers()
: mixed
-
testGuessExtensionIsBasedOnMimeType()
: mixed
-
testGuessExtensionWithoutGuesser()
: mixed
-
testGuessExtensionWithReset()
: mixed
-
testMove()
: mixed
-
testMoveToAnUnexistentDirectory()
: mixed
-
testMoveWithNewName()
: mixed
-
testMoveWithNonLatinName()
: mixed
-
createMockGuesser()
: mixed
$file
protected
mixed
$file
getFilenameFixtures()
public
getFilenameFixtures() : mixed
Return values
mixed
—
testConstructWhenFileNotExists()
public
testConstructWhenFileNotExists() : mixed
Return values
mixed
—
testGetMimeTypeUsesMimeTypeGuessers()
public
testGetMimeTypeUsesMimeTypeGuessers() : mixed
Return values
mixed
—
testGuessExtensionIsBasedOnMimeType()
public
testGuessExtensionIsBasedOnMimeType() : mixed
Return values
mixed
—
testGuessExtensionWithoutGuesser()
public
testGuessExtensionWithoutGuesser() : mixed
Return values
mixed
—
testGuessExtensionWithReset()
public
testGuessExtensionWithReset() : mixed
-
requires
-
Return values
mixed
—
testMove()
public
testMove() : mixed
Return values
mixed
—
testMoveToAnUnexistentDirectory()
public
testMoveToAnUnexistentDirectory() : mixed
Return values
mixed
—
testMoveWithNewName()
public
testMoveWithNewName() : mixed
Return values
mixed
—
testMoveWithNonLatinName()
public
testMoveWithNonLatinName(mixed $filename, mixed $sanitizedFilename) : mixed
Parameters
-
$filename
: mixed
-
-
$sanitizedFilename
: mixed
-
-
dataProvider
-
Return values
mixed
—
createMockGuesser()
protected
createMockGuesser(mixed $path, mixed $mimeType) : mixed
Parameters
-
$path
: mixed
-
-
$mimeType
: mixed
-
Return values
mixed
—