Documentation

FileCacheTest extends DoctrineTestCase
in package

Base testcase class for all Doctrine testcases.

Tags
group

DCOM-101

Table of Contents

WIN_MAX_PATH_LEN  = 258
$driver  : FileCache
getBasePathForWindowsPathLengthTests()  : mixed
getKeyAndPathFittingLength()  : array<string|int, mixed>
getPathLengthsToTest()  : mixed
testFileExtensionCorrectlyEscaped()  : mixed
testFileExtensionSlashCorrectlyEscaped()  : mixed
testFilenameShouldCreateThePathWithOneSubDirectory()  : mixed
testGetDirectoryReturnsRealpathDirectoryString()  : mixed
testGetExtensionReturnsExtensionString()  : mixed
testNonIntUmaskThrowsInvalidArgumentException()  : mixed
testWindowsPathLengthLimitationsAreCorrectlyRespected()  : mixed
setUp()  : mixed

Constants

Properties

Methods

getBasePathForWindowsPathLengthTests()

public static getBasePathForWindowsPathLengthTests(mixed $pathLength) : mixed
Parameters
$pathLength : mixed
Return values
mixed

getKeyAndPathFittingLength()

public static getKeyAndPathFittingLength(int $length, string $basePath) : array<string|int, mixed>
Parameters
$length : int
$basePath : string
Return values
array<string|int, mixed>

getPathLengthsToTest()

public getPathLengthsToTest() : mixed
Return values
mixed

testFileExtensionCorrectlyEscaped()

public testFileExtensionCorrectlyEscaped() : mixed
Return values
mixed

testFileExtensionSlashCorrectlyEscaped()

public testFileExtensionSlashCorrectlyEscaped() : mixed
Tags
group

DCOM-266

Return values
mixed

testFilenameShouldCreateThePathWithOneSubDirectory()

public testFilenameShouldCreateThePathWithOneSubDirectory() : mixed
Return values
mixed

testGetDirectoryReturnsRealpathDirectoryString()

public testGetDirectoryReturnsRealpathDirectoryString() : mixed
Return values
mixed

testGetExtensionReturnsExtensionString()

public testGetExtensionReturnsExtensionString() : mixed
Return values
mixed

testNonIntUmaskThrowsInvalidArgumentException()

public testNonIntUmaskThrowsInvalidArgumentException() : mixed
Return values
mixed

testWindowsPathLengthLimitationsAreCorrectlyRespected()

public testWindowsPathLengthLimitationsAreCorrectlyRespected(int $length, bool $pathShouldBeHashed) : mixed
Parameters
$length : int
$pathShouldBeHashed : bool
Tags
runInSeparateProcess
dataProvider

getPathLengthsToTest

covers
Return values
mixed

Search results